Skip to content

Commit

Permalink
test: use sass instead of deprecated node-sass (#612)
Browse files Browse the repository at this point in the history
The node-sass library is deprecated [1], the official recommendation being
to simply use the sass library instead.

This change fixes issues running all tests (`npm test`) when cloning the
repository.

[1] https://www.npmjs.com/package/node-sass
  • Loading branch information
froddd authored Sep 11, 2024
1 parent d6988e8 commit ad73113
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ci:dryrun": "HUSKY=0 CI=true semantic-release --dry-run",
"start": "npm-run-all --parallel watch:*",
"test": "npm-run-all --parallel test:*",
"test:sass": "npm install node-sass && node-sass -q gulp/dist-scss/all.scss >/dev/null && echo 'ok'",
"test:sass": "npm install sass && sass -q -I . gulp/dist-scss/all.scss >/dev/null && echo 'ok'",
"test:docs": "npm run build:docs",
"watch:11ty": "ENV='dev' eleventy --input=./docs --output=public --serve",
"watch:package": "gulp watch:dev"
Expand Down Expand Up @@ -50,7 +50,7 @@
"moment": "^2.29.4",
"nunjucks": "^3.2.3",
"require-dir": "^1.2.0",
"sass": "^1.50.1"
"sass": "^1.77.8"
},
"devDependencies": {
"@babel/core": "^7.14.3",
Expand Down

0 comments on commit ad73113

Please sign in to comment.