Skip to content

Commit

Permalink
Update Node/npm and dependencies (#8045)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende authored Aug 29, 2024
1 parent ebba5af commit 563c806
Show file tree
Hide file tree
Showing 5 changed files with 7,942 additions and 3,723 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
node pre-commit-hook.js
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Our repo is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) which stores al

We recommend using the [Node Version Manager](https://github.com/nvm-sh/nvm) (nvm) since it is the easiest way to install and manage Node for macOS, Linux, and Windows 10. See the Node.js site for additional installation instructions.

Some themes depend on [`node-sass`](https://npmjs/com/package/node-sass). `node-sass` uses an old version of `node-gyp` (and won't update because `node-sass` is deprecated). The old version of `node-gyp` depends on `distutils`. However, Python doesn't ship with `distutils` anymore, so you need to install it separately.

On MacOS this is done with Homebrew: `brew install python-setuptools`.

On other systems it's done with PIP: `pip install setuptools`.

Also make sure you have an updated version of git installed on your computer, as well as a GitHub account.

## Local Environment Setup
Expand Down
Loading

0 comments on commit 563c806

Please sign in to comment.