newspack-scripts 6.0.0-beta.3 → 6.0.0-beta.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.
@@ -2,29 +2,12 @@ version: 2
2
2
  jobs:
3
3
  build:
4
4
  docker:
5
- - image: "circleci/node:latest"
5
+ - image: "cimg/node:22.3.0"
6
6
  steps:
7
7
  - checkout
8
- - run:
9
- name: Install nvm and use the node version defined in .nvmrc
10
- command: |
11
- # https://support.circleci.com/hc/en-us/articles/360051656632-Swap-node-version-on-CircleCI-convenience-image
12
- set +e
13
- wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
14
- export NVM_DIR="$HOME/.nvm"
15
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
16
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
17
- nvm install
18
- nvm use
19
- # https://stackoverflow.com/a/61823737/3772847
20
- NODE_DIR=$(dirname $(which node))
21
- echo "export PATH=$NODE_DIR:\$PATH" >> $BASH_ENV
22
- - run:
23
- name: Check node version (should match the version set in project's .nvmrc file)
24
- command: node --version
25
8
  - run:
26
9
  name: install
27
- command: npm install
10
+ command: npm install --legacy-peer-deps
28
11
  - run:
29
12
  name: release
30
13
  command: npm run semantic-release || true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newspack-scripts",
3
- "version": "6.0.0-beta.3",
3
+ "version": "6.0.0-beta.5",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "newspack-scripts": "./bin/newspack-scripts.js"
@@ -21,14 +21,14 @@
21
21
  "@wordpress/a11y": "^3.2.4",
22
22
  "@wordpress/api-fetch": "^6.17.0",
23
23
  "@wordpress/base-styles": "^4.0.4",
24
- "@wordpress/block-editor": "^8.0.11",
24
+ "@wordpress/block-editor": "^13.1.0",
25
25
  "@wordpress/blocks": "^11.1.4",
26
- "@wordpress/components": "^21.3.0",
26
+ "@wordpress/components": "^28.1.0",
27
27
  "@wordpress/compose": "^5.0.6",
28
28
  "@wordpress/data": "^6.1.4",
29
29
  "@wordpress/date": "^4.2.3",
30
30
  "@wordpress/dom-ready": "^3.2.3",
31
- "@wordpress/edit-post": "^6.17.0",
31
+ "@wordpress/edit-post": "^8.1.0",
32
32
  "@wordpress/element": "^4.0.4",
33
33
  "@wordpress/escape-html": "^2.2.3",
34
34
  "@wordpress/eslint-plugin": "^10.0.0",
@@ -63,6 +63,10 @@
63
63
  "webpack": "^5.65.0",
64
64
  "webpack-cli": "^5.1.4"
65
65
  },
66
+ "overrides": {
67
+ "react": "18.3.1",
68
+ "@emotion/utils": "1.2.0"
69
+ },
66
70
  "scripts": {
67
71
  "semantic-release": "semantic-release"
68
72
  },