8000 [heft-sass] Allow suppressing SASS deprecation warnings (#4958) · glitchkyle/rushstack@d45f132 · GitHub
[go: up one dir, main page]

Skip to content

Commit d45f132

Browse files
authored
[heft-sass] Allow suppressing SASS deprecation warnings (microsoft#4958)
Co-authored-by: David Michon <dmichon-msft@users.noreply.github.com>
1 parent dba45cb commit d45f132

File tree

9 files changed

+132
-104
lines changed
Collapse file tree

9 files changed

+132
-104
lines changed

build-tests/heft-sass-test/config/sass.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33

44
"cssOutputFolders": ["lib", "lib-commonjs"],
55
"secondaryGeneratedTsFolders": ["lib"],
6-
"excludeFiles": ["./ignored1.scss", "ignored2.scss"]
6+
"excludeFiles": ["./ignored1.scss", "ignored2.scss"],
7+
8+
"silenceDeprecations": ["mixed-decls"]
79
}

build-tests/heft-sass-test/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
"postcss": "~8.4.6",
3131
"react-dom": "~17.0.2",
3232
"react": "~17.0.2",
33-
"sass-loader": "~10.0.0",
34-
"sass": "~1.3.0",
3533
"style-loader": "~2.0.0",
3634
"typescript": "~5.4.2",
3735
"webpack": "~4.47.0"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/heft-sass-plugin",
5+
"comment": "Add \"suppressDeprecations\" option to suppress specific SASS deprecation IDs. Add \"ignoreDeprecationsInDependencies\" option to ignore deprecation warnings from external SASS.",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@rushstack/heft-sass-plugin"
10+
}

common/config/subspaces/default/pnpm-lock.yaml

Lines changed: 56 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "0c6b3b92849c042aeab9c7f8751d9698d6accb04",
3+
"pnpmShrinkwrapHash": "5afee1d392a0c2404869d7eda687b5571fe88515",
44
"preferredVersionsHash": "ce857ea0536b894ec8f346aaea08cfd85a5af648"
55
}

heft-plugins/heft-sass-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@rushstack/heft-config-file": "workspace:*",
2323
"@rushstack/node-core-library": "workspace:*",
2424
"@rushstack/typings-generator": "workspace:*",
25-
"sass-embedded": "~1.77.2",
25+
"sass-embedded": "~1.77.8",
2626
"postcss": "~8.4.6",
2727
"postcss-modules": "~6.0.0"
2828
},

0 commit comments

Comments
 (0)
0