chore: Add README, .nvmrc, and package.json scripts for local dev setup#17
Open
anyelopetit wants to merge 1 commit into
Open
chore: Add README, .nvmrc, and package.json scripts for local dev setup#17anyelopetit wants to merge 1 commit into
anyelopetit wants to merge 1 commit into
Conversation
✅ Deploy Preview for legendary-lollipop-e2d131 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add README,
.nvmrc, andpackage.jsonscripts for local developer setupThe
hellotext/helprepo had no README, no Node version file, and no runnable scripts. A new contributor had no documented path to install, serve, or build the site locally.What this adds
README.md.nvmrc18, matchingNODE_VERSIONinnetlify.toml.package.jsonscriptsblock (setup,serve,build). No dependency changes.New scripts
yarn buildis the repeatable verification command — it runs the exact same command Netlify runs (see netlify.toml).Why
JEKYLL_ENV=productionis requiredPlain
bundle exec jekyll buildfails with:The jekyll-postcss plugin expects its dev server when serving locally. For a one-off build you must set
JEKYLL_ENV=production. This is documented in the README under the Gotcha callout so contributors aren't surprised.