Skip to content

Building and Adding New Packages Dependencies

sam bacha edited this page Oct 4, 2020 · 2 revisions

Requirements:

Nodejs 12 LTS Yarn Gatsby

  • Install Nodejs curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

Creating Releases


`rm -rf .cache && rm -rf public/`
`rm yar.lock && rm package-lock.json`
`rm -rf node_modules`
`yarn`
`npm i --package-lock-only`

Adding Packages

Linting

All Linting packages must be enforced to a specific version, as different versioning may introduce issues e.g.
"prettier": "2.1.0"
not
"prettier": "^2.1.0"

CI/CD

Must pass ALL tests on both CircleCI and Travis , along with Netlify deployment