newspack-scripts 3.3.2 → 4.0.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.
@@ -10,7 +10,6 @@ module.exports = {
10
10
  "string-quotes": "single",
11
11
  "no-descending-specificity": null,
12
12
  "function-url-quotes": null,
13
- "declaration-property-unit-whitelist": null,
14
13
  "font-weight-notation": null,
15
14
  "color-named": null,
16
15
  "function-parentheses-space-inside": "always-single-line",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newspack-scripts",
3
- "version": "3.3.2",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "newspack-scripts": "./bin/newspack-scripts.js"
@@ -38,7 +38,7 @@
38
38
  "@wordpress/icons": "^6.1.1",
39
39
  "@wordpress/keycodes": "^3.2.4",
40
40
  "@wordpress/plugins": "^4.0.6",
41
- "@wordpress/stylelint-config": "^19.1.0",
41
+ "@wordpress/stylelint-config": "^20.0.2",
42
42
  "@wordpress/url": "^3.3.1",
43
43
  "autoprefixer": "^10.4.0",
44
44
  "babel-jest": "^27.4.2",
@@ -54,7 +54,7 @@
54
54
  "jest-environment-jsdom": "^27.4.3",
55
55
  "postcss": "^8.4.4",
56
56
  "postcss-focus-within": "^5.0.1",
57
- "prettier": "npm:wp-prettier@2.2.1-beta-1",
57
+ "prettier": "npm:wp-prettier@^2.6.2-beta-1",
58
58
  "semantic-release": "^18.0.1",
59
59
  "semantic-release-version-bump": "^1.4.1",
60
60
  "stylelint": "^14.1.0",
@@ -10,7 +10,8 @@ steps:
10
10
  # https://medium.com/@mdsky1986/caching-node-dependencies-when-using-npm-ci-89fe3f46404a
11
11
  - run:
12
12
  name: Install node dependencies
13
- command: "[ ! -d node_modules ] && npm ci --loglevel warn --yes || echo package.json and package-lock.json unchanged. Using cache."
13
+ # --legacy-peer-deps flag should be removed once https://github.com/Automattic/newspack-plugin/issues/1218 is resolved
14
+ command: "[ ! -d node_modules ] && npm ci --legacy-peer-deps --loglevel warn --yes || echo package.json and package-lock.json unchanged. Using cache."
14
15
  - save_cache:
15
16
  key: v1-npm-{{ checksum "package.json" }}-{{checksum "package-lock.json" }}
16
17
  paths: