Skip to content

Commit

Permalink
build(tools): update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
adorade committed Oct 17, 2023
1 parent 9f2ac2f commit 2d24668
Show file tree
Hide file tree
Showing 16 changed files with 962 additions and 972 deletions.
23 changes: 4 additions & 19 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-recommended-scss"
"stylelint-config-standard-scss"
],
"rules": {
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"block-closing-brace-newline-after": ["always", {
"ignoreAtRules": ["if", "else"]
}],
"at-rule-empty-line-before": ["always", {
"except": [
"blockless-after-same-name-blockless",
Expand All @@ -17,6 +11,7 @@
"ignore": ["after-comment"],
"ignoreAtRules": ["else"]
}],
"media-feature-range-notation": "prefix",
"value-keyword-case": [
"lower",
{
Expand All @@ -27,27 +22,17 @@
}
],
"alpha-value-notation": null,
"block-closing-brace-empty-line-before": null,
"color-function-notation": null,
"color-hex-case": null,
"custom-property-empty-line-before": null,
"declaration-bang-space-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"declaration-block-trailing-semicolon": null,
"declaration-empty-line-before": null,
"function-url-quotes": null,
"length-zero-no-unit": null,
"max-empty-lines": null,
"max-line-length": null,
"number-leading-zero": null,
"property-no-vendor-prefix": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"selector-list-comma-newline-after": null,
"shorthand-property-no-redundant-values": null,
"string-quotes": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/double-slash-comment-whitespace-inside": null,
"scss/no-global-function-names": null
Expand Down
4 changes: 4 additions & 0 deletions .webpack/webpack.parts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ exports.extractScss = () => ({
{
test: /\.scss$/,
use: [
// Extracts CSS into separate files
MiniCssExtractPlugin.loader,
// Interprets `@import` and `url()` like `import/require()` and will resolve them
{ loader: 'css-loader', options: { url: false } },
// Loader for webpack to process CSS with PostCSS
{ loader: 'postcss-loader', options: {
postcssOptions: {
plugins: [ autoprefixer() ],
},
}},
// Loads a SASS/SCSS file and compiles it to CSS
{ loader: 'sass-loader' },
],
},
Expand Down
36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,30 @@
"build:dev": "webpack --progress --mode=development",
"build:prod": "webpack --progress --mode=production",
"watch": "webpack --progress --watch --mode=development",
"css:lint": "stylelint 'public/themes/boodark/scss/*.scss'"
"css:lint": "stylelint 'themes/boodark/scss/*.scss'"
},
"dependencies": {
"@babel/runtime": "7.21.0",
"@popperjs/core": "2.11.6",
"autoprefixer": "10.4.14",
"@babel/runtime": "7.23.2",
"@popperjs/core": "2.11.8",
"autoprefixer": "10.4.16",
"bootstrap": "5.2.3",
"css-loader": "6.7.3",
"css-minimizer-webpack-plugin": "4.2.2",
"mini-css-extract-plugin": "2.7.3",
"postcss": "8.4.21",
"css-loader": "6.8.1",
"css-minimizer-webpack-plugin": "5.0.1",
"mini-css-extract-plugin": "2.7.6",
"postcss": "8.4.31",
"postcss-cli": "10.1.0",
"postcss-loader": "7.0.2",
"rtlcss": "4.0.0",
"postcss-loader": "7.3.3",
"rtlcss": "4.1.1",
"rtlcss-webpack-plugin": "4.0.7",
"sass": "1.59.2",
"sass-loader": "13.2.0",
"webpack": "5.76.1",
"webpack-cli": "5.0.1",
"webpack-merge": "5.8.0"
"sass": "1.64.2",
"sass-loader": "13.3.2",
"webpack": "5.89.0",
"webpack-cli": "5.1.4",
"webpack-merge": "5.10.0"
},
"devDependencies": {
"stylelint": "14.16.1",
"stylelint-config-recommended-scss": "8.0.0",
"stylelint-config-standard-scss": "6.1.0",
"stylelint-scss": "4.4.0"
"stylelint": "15.11.0",
"stylelint-config-standard-scss": "11.0.0"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion themes/boodark/css/theme-nord.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-nord.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-nord.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-orange.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-orange.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-orange.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-teal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-teal.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme-teal.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/boodark/css/theme.rtl.css

Large diffs are not rendered by default.

1,847 changes: 925 additions & 922 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 2d24668

Please sign in to comment.