newspack-scripts 4.3.2 → 4.3.3
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/package.json +10 -10
- package/scripts/build.js +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newspack-scripts",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"bin": {
|
|
6
6
|
"newspack-scripts": "./bin/newspack-scripts.js"
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"@automattic/calypso-build": "^10.0.0",
|
|
12
12
|
"@babel/preset-env": "^7.16.4",
|
|
13
13
|
"@babel/preset-typescript": "^7.18.6",
|
|
14
|
-
"@commitlint/cli": "^
|
|
15
|
-
"@commitlint/config-conventional": "^
|
|
14
|
+
"@commitlint/cli": "^17.1.2",
|
|
15
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
16
16
|
"@semantic-release/changelog": "^6.0.1",
|
|
17
17
|
"@semantic-release/git": "^10.0.1",
|
|
18
18
|
"@testing-library/jest-dom": "^5.15.1",
|
|
19
|
-
"@testing-library/react": "^
|
|
19
|
+
"@testing-library/react": "^13.4.0",
|
|
20
20
|
"@types/wordpress__data": "^4.6.10",
|
|
21
21
|
"@typescript-eslint/parser": "^5.26.0",
|
|
22
22
|
"@wordpress/a11y": "^3.2.4",
|
|
23
|
-
"@wordpress/api-fetch": "^
|
|
23
|
+
"@wordpress/api-fetch": "^6.17.0",
|
|
24
24
|
"@wordpress/base-styles": "^4.0.4",
|
|
25
25
|
"@wordpress/block-editor": "^8.0.11",
|
|
26
26
|
"@wordpress/blocks": "^11.1.4",
|
|
27
|
-
"@wordpress/components": "^
|
|
27
|
+
"@wordpress/components": "^21.3.0",
|
|
28
28
|
"@wordpress/compose": "^5.0.6",
|
|
29
29
|
"@wordpress/data": "^6.1.4",
|
|
30
30
|
"@wordpress/date": "^4.2.3",
|
|
31
31
|
"@wordpress/dom-ready": "^3.2.3",
|
|
32
|
-
"@wordpress/edit-post": "^
|
|
32
|
+
"@wordpress/edit-post": "^6.17.0",
|
|
33
33
|
"@wordpress/element": "^4.0.4",
|
|
34
34
|
"@wordpress/escape-html": "^2.2.3",
|
|
35
35
|
"@wordpress/eslint-plugin": "^10.0.0",
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"@wordpress/stylelint-config": "^20.0.2",
|
|
43
43
|
"@wordpress/url": "^3.3.1",
|
|
44
44
|
"autoprefixer": "^10.4.0",
|
|
45
|
-
"babel-jest": "^
|
|
45
|
+
"babel-jest": "^29.2.2",
|
|
46
46
|
"commitizen": "^4.2.4",
|
|
47
47
|
"cross-spawn": "^7.0.3",
|
|
48
48
|
"cz-conventional-changelog": "^3.3.0",
|
|
49
49
|
"eslint": "^8.8.0",
|
|
50
50
|
"eslint-config-prettier": "^8.3.0",
|
|
51
51
|
"eslint-plugin-import": "^2.25.4",
|
|
52
|
-
"eslint-plugin-jest": "^
|
|
52
|
+
"eslint-plugin-jest": "^27.1.3",
|
|
53
53
|
"eslint-plugin-react": "^7.28.0",
|
|
54
54
|
"jest": "^27.4.3",
|
|
55
55
|
"jest-environment-jsdom": "^27.4.3",
|
|
56
56
|
"postcss": "^8.4.4",
|
|
57
57
|
"postcss-focus-within": "^5.0.1",
|
|
58
58
|
"prettier": "npm:wp-prettier@^2.6.2-beta-1",
|
|
59
|
-
"semantic-release": "^
|
|
59
|
+
"semantic-release": "^19.0.5",
|
|
60
60
|
"semantic-release-version-bump": "^1.4.1",
|
|
61
61
|
"stylelint": "^14.1.0",
|
|
62
62
|
"stylelint-config-prettier": "^9.0.3",
|
package/scripts/build.js
CHANGED
|
@@ -3,8 +3,14 @@
|
|
|
3
3
|
const spawn = require("cross-spawn");
|
|
4
4
|
const modules = require("./utils/modules");
|
|
5
5
|
|
|
6
|
-
spawn.sync(process.execPath, [modules.calypsoBuild], {
|
|
6
|
+
const result = spawn.sync(process.execPath, [modules.calypsoBuild], {
|
|
7
7
|
cwd: modules.rootDirectory,
|
|
8
8
|
stdio: "inherit",
|
|
9
|
-
env: { ...process.env, NODE_ENV: "production" }
|
|
9
|
+
env: { ...process.env, NODE_ENV: "production" },
|
|
10
10
|
});
|
|
11
|
+
|
|
12
|
+
if (result.status === 0) {
|
|
13
|
+
utils.log("Build succeeded!");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
process.exit(result.status);
|