Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
node-version: '18.17.0'
- name: Extract branch name
run: |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
node-version: '18.17.0'
- name: Install project dependencies
run: |
echo "Starting npm ci with a 10-minute timeout"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/~reusable_e2e_by_OS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
node-version: '18.17.0'
- name: Install project dependencies (Linux)
if: ${{ inputs.OS == 'ubuntu-22.04' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/~reusable_public_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
node-version: '18.17.0'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: |
Expand Down
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"packages": ["packages/*"],
"version": "7.1.1",
"useWorkspaces": true
"version": "7.1.1"
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint:fix": "lerna run lint:fix",
"preinstall": "npm install npm-force-resolutions --location=global",
"postbootstrap": "npm run build",
"postinstall": "npm run bootstrap",
"postinstall": "npm run bootstrap && patch-package",
"prepare": "husky install",
"pretesst": "rimraf -rf coverage",
"publish:alpha": "./bin/publish alpha $1",
Expand All @@ -41,6 +41,9 @@
"test:one": "npm run test -- $@",
"test:watch": "npm run test -- --watchAll"
},
"dependencies": {
"cheerio": "1.0.0-rc.12"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
Expand All @@ -64,5 +67,8 @@
"ts-jest": "^27.0.0",
"typescript": "4.3.5",
"ultra-runner": "^3.10.5"
},
"overrides": {
"cheerio": "1.0.0-rc.12"
}
}
13 changes: 13 additions & 0 deletions patches/enzyme+3.11.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/enzyme/package.json b/node_modules/enzyme/package.json
index 3e1a54f..4e8bc76 100644
--- a/node_modules/enzyme/package.json
+++ b/node_modules/enzyme/package.json
@@ -33,7 +33,7 @@
"array.prototype.flat": "^1.2.3",
"chalk": "^2.4.2",
"classnames": "^2.2.6",
- "cheerio": "^1.0.0-rc.3",
+ "cheerio": "1.0.0-rc.12",
"function.prototype.name": "^1.1.0",
"has": "^1.0.3",
"is-subset": "^0.1.1",
Loading