sdc-build-wp 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/lib/browsersync.js +5 -0
- package/package.json +13 -13
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22
|
package/lib/browsersync.js
CHANGED
|
@@ -13,6 +13,8 @@ const buildBrowserSync = () => {
|
|
|
13
13
|
project.path + '/**/*.html',
|
|
14
14
|
project.path + '/**/*.json',
|
|
15
15
|
],
|
|
16
|
+
reloadDelay: 500,
|
|
17
|
+
reloadDebounce: 500,
|
|
16
18
|
watchEvents: project.package.sdc?.browsersync?.watchEvents || ['add', 'change', 'unlink', 'addDir', 'unlinkDir'],
|
|
17
19
|
open: project.package.sdc?.open || false,
|
|
18
20
|
https: (process.env.SSL_KEY_PATH && process.env.SSL_CRT_PATH ? {
|
|
@@ -23,6 +25,9 @@ const buildBrowserSync = () => {
|
|
|
23
25
|
tunnel: project.package.sdc?.browsersync?.tunnel,
|
|
24
26
|
notify: {
|
|
25
27
|
styles: {
|
|
28
|
+
pointerEvents: 'none',
|
|
29
|
+
userSelect: 'none',
|
|
30
|
+
opacity: '0.5',
|
|
26
31
|
top: 'auto',
|
|
27
32
|
bottom: '0',
|
|
28
33
|
borderRadius: '5px 0px 0px'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdc-build-wp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Custom WordPress build process.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^20"
|
|
@@ -22,26 +22,26 @@
|
|
|
22
22
|
"sdc-build-wp": "./index.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@stylistic/stylelint-plugin": "^
|
|
26
|
-
"@wordpress/scripts": "^
|
|
27
|
-
"autoprefixer": "^10.4.
|
|
25
|
+
"@stylistic/stylelint-plugin": "^3.0.1",
|
|
26
|
+
"@wordpress/scripts": "^29.0.0",
|
|
27
|
+
"autoprefixer": "^10.4.20",
|
|
28
28
|
"browser-sync": "^3.0.2",
|
|
29
29
|
"chalk": "^5.3.0",
|
|
30
30
|
"chokidar": "^3.6.0",
|
|
31
|
-
"esbuild": "^0.
|
|
32
|
-
"eslint": "^9.
|
|
31
|
+
"esbuild": "^0.23.1",
|
|
32
|
+
"eslint": "^9.10.0",
|
|
33
33
|
"fs-extra": "^11.2.0",
|
|
34
|
-
"glob": "^
|
|
35
|
-
"imagemin": "^
|
|
34
|
+
"glob": "^11.0.0",
|
|
35
|
+
"imagemin": "^9.0.0",
|
|
36
36
|
"imagemin-jpegtran": "^7.0.0",
|
|
37
|
-
"imagemin-pngquant": "^
|
|
38
|
-
"imagemin-svgo": "^
|
|
37
|
+
"imagemin-pngquant": "^10.0.0",
|
|
38
|
+
"imagemin-svgo": "^11.0.1",
|
|
39
39
|
"minimist": "^1.2.8",
|
|
40
|
-
"postcss": "^8.4.
|
|
40
|
+
"postcss": "^8.4.45",
|
|
41
41
|
"postcss-scss": "^4.0.9",
|
|
42
42
|
"postcss-sort-media-queries": "^5.2.0",
|
|
43
|
-
"sass": "^1.
|
|
44
|
-
"stylelint": "^16.
|
|
43
|
+
"sass": "^1.78.0",
|
|
44
|
+
"stylelint": "^16.9.0",
|
|
45
45
|
"tail": "^2.2.6"
|
|
46
46
|
}
|
|
47
47
|
}
|