Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eleventy start command #640

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

chosww
Copy link
Contributor

@chosww chosww commented Jun 21, 2023

  • This pull request has been tested by running npm run test without errors
  • This pull request has been built by running npm run build without errors
  • This isn't a duplicate of an existing pull request

Description

Eleventy start command has updated on this commit: 9ebe519 and build-cms script was omitted by an accident. Add back build-cms script with eleventy start command.

@netlify
Copy link

netlify bot commented Jun 21, 2023

Deploy Preview for idrc ready!

Name Link
🔨 Latest commit 9ea709f
🔍 Latest deploy log https://app.netlify.com/sites/idrc/deploys/6493244ce87ed3000840b0a4
😎 Deploy Preview https://deploy-preview-640--idrc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

package.json Outdated
@@ -9,6 +9,7 @@
"backstop:test:ci": "backstop test --config=backstop.config.js",
"backstop:approve": "backstop approve --config=backstop.config.js",
"build": "npm-run-all -l clean build:*",
"build-cms": "node ./build-cms.js -w",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a bit confusing because we have a build:cms script too, and all the build:* commands are for building the site, not running in dev mode. How about you change this to cms and then change cms to proxy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that makes sense; thanks for the suggestion.

package.json Outdated
@@ -24,7 +25,7 @@
"test": "run-s test:*",
"start": "npm-run-all -l clean -p start:*",
"start:webpack": "mix watch",
"start:eleventy": "run-p dev cms",
"start:eleventy": "run-p dev build-cms cms",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"start:eleventy": "run-p dev build-cms cms",
"start:eleventy": "run-p dev cms proxy",

@greatislander greatislander added the bug Something isn't working label Jun 21, 2023
@greatislander greatislander merged commit 84db9bf into inclusive-design:dev Jun 21, 2023
@greatislander greatislander modified the milestone: 2.0.0 Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants