Skip to content

Commit c19a0d5

Browse files
authored
Downgrade jsondiffpatch to v0.6.2 (#1960)
* fix: downgrade jsondiffpatch * chore: add changeset * fix: to last working version * chore: lockfile update * fix: disable eslint * fix: to build clis * fix: pipeline
1 parent 8fa722d commit c19a0d5

File tree

6 files changed

+28
-13
lines changed

6 files changed

+28
-13
lines changed

.changeset/curvy-lizards-wonder.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@commercetools/sync-actions': patch
3+
---
4+
5+
Downgrade jsondiffpatch to fix ESM bundling issue.

.github/workflows/quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
- name: Setup
3838
uses: ./.github/actions/ci
3939

40+
# Needed for ESLint as otherwise imports are not resolved
41+
- name: Build CLIs
42+
run: pnpm build:clis
43+
4044
- name: Lint
4145
run: pnpm lint
4246

.renovaterc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
{
2020
"matchPackageNames": ["flow-bin"],
2121
"allowedVersions": "0.141.0"
22+
},
23+
{
24+
"matchPackageNames": ["jsondiffpatch"],
25+
"allowedVersions": "<= 0.6.2"
2226
}
2327
],
2428
"lockFileMaintenance": {

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"postinstall": "./scripts/postinstall.sh",
1111
"clean": "rm -rf coverage; manypkg exec rimraf lib dist node_modules; rm -rf node_modules",
1212
"commit": "git-cz",
13-
"build": "pnpm preconstruct build",
13+
"build": "pnpm build:clis && pnpm build:packages",
14+
"build:clis": "pnpm --filter @commercetools/get-credentials --filter @commercetools/personal-data-erasure --filter @commercetools/resource-deleter build",
15+
"build:packages": "pnpm preconstruct build",
1416
"check-gh-auth-token": "if [[ -z \"${GITHUB_AUTH}\" ]]; then echo \"Need to set GITHUB_AUTH\" && exit 1; fi",
1517
"lint": "jest --projects jest.eslint.config.js jest.flow.config.js",
1618
"lint:js": "jest --config jest.eslint.config.js",

packages/sync-actions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"fast-equals": "^2.0.0",
43-
"jsondiffpatch": "0.7.3",
43+
"jsondiffpatch": "0.6.2",
4444
"lodash.flatten": "^4.4.0",
4545
"lodash.foreach": "^4.5.0",
4646
"lodash.intersection": "^4.4.0",

pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)