[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] SCSS: Update Sass and silence if-function deprecation warnings
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69a36f38a8f1_3bc04ee2448763@gitlab-sidekiq-low-urgency-cpu-bound-v2-7f6f7b97c5-w6l9t.mail> |
Benoit Grégoire pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki
Commits:
a06203e6 by MAGENE Sem Joel at 2026-02-28T22:34:26+00:00
[FIX] SCSS: Update Sass and silence if-function deprecation warnings
---
* [FIX] SCSS: Update Sass and silence if-function deprecation warnings
See merge request tikiwiki/tiki!9655
- - - - -
2 changed files:
- package-lock.json
- src/scss/package.json
Changes:
=====================================
package-lock.json
=====================================
@@ -16176,8 +16176,8 @@
"license": "ISC",
"devDependencies": {
"boosted": "~5.2",
- "bootswatch": "^5.3.6",
- "sass": "^1.77.5"
+ "bootswatch": "^5.3.8",
+ "sass": "^1.97.0"
}
}
}
=====================================
src/scss/package.json
=====================================
@@ -4,14 +4,14 @@
"description": "Sass (scss) build system for themes. Note that for themes in _custom to actually work, you also need the main vite js build to run to copy the assets (images, fonts, etc.)",
"type": "module",
"scriptsComments": {
- "build/watch": "The flags --silence-deprecation=color-functions,global-builtin,import are there because as of 2025-06-09, bootstrap 5.3.6 hasn't fixed everything. See https://github.com/orgs/twbs/discussions/41370. In addition, our own code requires ignoring @import deprecation, because we can't run px sass-migrator module --migrate-deps --load-path=../../templates --load-path=../../themes ../../themes/**/**/*.scss on our own codebase until bootstrap is fixed. benoitg - 2025-06-09 EDIT Jomagene 2025-10-20: The 'mixed-decls' flag was removed as it became obsolete in newer Sass compiler versions (post v1.92.0) and was causing a new build warning."
+ "build/watch": "The flags --silence-deprecation=color-functions,global-builtin,import,if-function are there because as of 2026-02-28, bootstrap 5.3.8 hasn't fixed everything. See https://github.com/orgs/twbs/discussions/41370. In addition, our own code requires ignoring @import deprecation, because we can't run px sass-migrator module --migrate-deps --load-path=../../templates --load-path=../../themes ../../themes/**/**/*.scss on our own codebase until bootstrap is fixed. benoitg - 2025-06-09 EDIT Jomagene 2025-10-20: The 'mixed-decls' flag was removed as it became obsolete in newer Sass compiler versions (post v1.92.0) and was causing a new build warning. EDIT Jomagene 2026-02-28: Added if-function silence for Sass 1.97+."
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "node scripts/check_custom.js",
"prewatch": "node scripts/check_custom.js",
- "build": "sass --load-path=../../templates --load-path=../../themes ../../themes ../../_custom:../../public/generated/_custom --silence-deprecation=color-functions,global-builtin,import",
- "watch": "sass --watch --load-path=../../templates --load-path=../../themes ../../themes ../../_custom:../../public/generated/_custom --silence-deprecation=color-functions,global-builtin,import",
+ "build": "sass --load-path=../../templates --load-path=../../themes ../../themes ../../_custom:../../public/generated/_custom --silence-deprecation=color-functions,global-builtin,import,if-function",
+ "watch": "sass --watch --load-path=../../templates --load-path=../../themes ../../themes ../../_custom:../../public/generated/_custom --silence-deprecation=color-functions,global-builtin,import,if-function",
"clean": "git clean -f -x \"../../themes/**/*.css\" \"../../themes/**/*.css.map\" \"../../public/generated/_custom/**/*.css\" \"../../public/generated/_custom/**/*.css.map\""
},
"author": "",
@@ -23,7 +23,7 @@
},
"devDependencies": {
"boosted": "~5.2",
- "bootswatch": "^5.3.6",
- "sass": "^1.77.5"
+ "bootswatch": "^5.3.8",
+ "sass": "^1.97.0"
}
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a06203e6f29dd98ed5a99369a2d3e42d4495e507
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a06203e6f29dd98ed5a99369a2d3e42d4495e507
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs