Skip to content

Commit fe328d7

Browse files
committed
Update dependencies
1 parent 2a61611 commit fe328d7

File tree

3 files changed

+40
-20
lines changed

3 files changed

+40
-20
lines changed

.stylelintrc.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ plugins:
99

1010
rules:
1111

12+
# Specify percentage or number notation for alpha-values.
13+
alpha-value-notation: number
14+
1215
# Specify a blacklist of disallowed at-rules.
1316
at-rule-blacklist:
1417
- debug
@@ -84,6 +87,9 @@ rules:
8487
# Require a single space or disallow whitespace before the opening brace of blocks.
8588
block-opening-brace-space-before: always
8689

90+
# Specify modern or legacy notation for applicable color-functions.
91+
color-function-notation: legacy
92+
8793
# Specify lowercase or uppercase for hexadecimal color values.
8894
color-hex-case: lower
8995

@@ -115,7 +121,7 @@ rules:
115121
#custom-media-pattern:
116122

117123
# Require or disallow an empty line before custom properties (Autofixable).
118-
custom-property-empty-line-before: never
124+
custom-property-empty-line-before: always
119125

120126
# Specify a pattern for custom properties.
121127
#custom-property-pattern:
@@ -249,6 +255,9 @@ rules:
249255
# Require or disallow whitespace after functions.
250256
function-whitespace-after: always
251257

258+
# Specify number or angle notation for degree hues.
259+
hue-degree-notation: angle
260+
252261
# Specify indentation.
253262
indentation: 4
254263

@@ -1027,6 +1036,9 @@ rules:
10271036
# Disallow unknown at-rules. Should be used instead of stylelint's `at-rule-no-unknown`.
10281037
scss/at-rule-no-unknown: true
10291038

1039+
# Disallow empty comments.
1040+
scss/comment-no-empty: true
1041+
10301042
# Require a newline after the colon in `$`-variable declarations.
10311043
scss/dollar-variable-colon-newline-after: always-multi-line
10321044

@@ -1045,6 +1057,12 @@ rules:
10451057
# Disallow duplicate dollar variables within a stylesheet.
10461058
scss/no-duplicate-dollar-variables: true
10471059

1060+
# Disallow duplicate mixins within a stylesheet.
1061+
scss/no-duplicate-mixins: true
1062+
1063+
# Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.
1064+
scss/no-global-function-names: true
1065+
10481066
# Disallow linebreaks after Sass operators.
10491067
scss/operator-no-newline-after: true
10501068

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@
2525
"url": "https://github.com/textpattern/textpattern-default-theme/issues"
2626
},
2727
"devDependencies": {
28-
"autoprefixer": "9.7.4",
28+
"autoprefixer": "9.8.0",
2929
"clean-webpack-plugin": "3.0.0",
30-
"copy-webpack-plugin": "5.1.1",
30+
"copy-webpack-plugin": "6.0.1",
3131
"cross-env": "7.0.2",
32-
"css-loader": "3.4.0",
33-
"file-loader": "5.1.0",
32+
"css-loader": "3.5.3",
33+
"file-loader": "6.0.0",
3434
"mini-css-extract-plugin": "0.9.0",
3535
"postcss-loader": "3.0.0",
36-
"sass": "1.26.2",
37-
"sass-loader": "8.0.0",
38-
"stylelint": "13.2.0",
39-
"stylelint-order": "3.1.1",
40-
"stylelint-scss": "3.14.1",
41-
"stylelint-webpack-plugin": "1.2.3",
42-
"webpack": "4.42.0",
43-
"webpack-cli": "3.3.10"
36+
"sass": "1.26.5",
37+
"sass-loader": "8.0.2",
38+
"stylelint": "13.5.0",
39+
"stylelint-order": "4.0.0",
40+
"stylelint-scss": "3.17.2",
41+
"stylelint-webpack-plugin": "2.0.0",
42+
"webpack": "4.43.0",
43+
"webpack-cli": "3.3.11"
4444
},
4545
"optionalDependencies": {
46-
"fibers": "4.0.2"
46+
"fibers": "5.0.0"
4747
},
4848
"browserslist": [
4949
"> 0.5%",

webpack.config.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ module.exports = {
5555
new MiniCssExtractPlugin({
5656
filename: '[name]'
5757
}),
58-
new CopyWebpackPlugin([
59-
{
60-
context: 'src/templates',
61-
from: '**/*',
62-
}
63-
]),
58+
new CopyWebpackPlugin({
59+
patterns: [
60+
{
61+
context: 'src/templates',
62+
from: '**/*',
63+
},
64+
],
65+
}),
6466
]
6567
};

0 commit comments

Comments
 (0)