sdc-build-wp 5.4.2 → 5.4.5

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.
@@ -64,6 +64,10 @@ export default class ScriptsComponent extends BaseComponent {
64
64
  minify: true,
65
65
  outdir: `${this.project.paths.dist}/${this.project.paths.src.scripts}/`,
66
66
  entryNames: '[dir]/[name].min',
67
+ loader: {
68
+ '.js': 'jsx',
69
+ '.jsx': 'jsx'
70
+ },
67
71
  plugins: [],
68
72
  sourcemap: process.env.NODE_ENV == 'production' ? false : true
69
73
  });
package/lib/project.js CHANGED
@@ -209,8 +209,10 @@ export async function init() {
209
209
  if (process.stdout.isTTY) {
210
210
  process.stdout.write('\x1b[?25h');
211
211
  process.stdout.write('\x1b[0m');
212
+ process.stdout.write('\n');
212
213
  }
213
214
 
215
+ process.stdout.write('');
214
216
  setTimeout(() => process.exit(0), 100);
215
217
  });
216
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdc-build-wp",
3
- "version": "5.4.2",
3
+ "version": "5.4.5",
4
4
  "description": "Custom WordPress build process.",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -22,26 +22,26 @@
22
22
  "sdc-build-wp": "./index.js"
23
23
  },
24
24
  "dependencies": {
25
- "@stylistic/eslint-plugin": "^5.4.0",
25
+ "@stylistic/eslint-plugin": "^5.6.1",
26
26
  "@stylistic/stylelint-plugin": "^4.0.0",
27
- "@typescript-eslint/eslint-plugin": "^8.46.1",
28
- "@typescript-eslint/parser": "^8.46.1",
29
- "@wordpress/scripts": "^30.25.0",
30
- "autoprefixer": "^10.4.21",
27
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
28
+ "@typescript-eslint/parser": "^8.48.1",
29
+ "@wordpress/scripts": "^31.1.0",
30
+ "autoprefixer": "^10.4.22",
31
31
  "blessed": "^0.1.81",
32
32
  "browser-sync": "^3.0.4",
33
33
  "chalk": "^5.6.2",
34
- "chokidar": "^4.0.3",
35
- "esbuild": "^0.25.11",
36
- "eslint": "^9.37.0",
34
+ "chokidar": "^5.0.0",
35
+ "esbuild": "^0.27.1",
36
+ "eslint": "^9.39.1",
37
37
  "fs-extra": "^11.3.2",
38
38
  "postcss": "^8.5.6",
39
39
  "postcss-scss": "^4.0.9",
40
40
  "postcss-sort-media-queries": "^5.2.0",
41
- "prettier": "^3.6.2",
42
- "sass": "^1.93.2",
43
- "sharp": "^0.34.4",
44
- "stylelint": "^16.25.0",
41
+ "prettier": "^3.7.4",
42
+ "sass": "^1.94.2",
43
+ "sharp": "^0.34.5",
44
+ "stylelint": "^16.26.1",
45
45
  "svgo": "^4.0.0",
46
46
  "tail": "^2.2.6",
47
47
  "yargs": "^18.0.0"