Skip to content

Commit

Permalink
Fix some bugs in syncpack configuration (woocommerce#35651)
Browse files Browse the repository at this point in the history
* Fix syncpack config

* Loosen the matched version for typescript eslint

* Add changelog entries

* Update lockfile
  • Loading branch information
samueljseay authored Nov 21, 2022
1 parent 4770123 commit 03dbab0
Show file tree
Hide file tree
Showing 17 changed files with 725 additions and 849 deletions.
19 changes: 17 additions & 2 deletions .syncpackrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dev": true,
"filter": "^(?:react|react-dom|typescript)$",
"filter": "^(?:react|react-dom|typescript|@typescript-eslint|@types/react).*$",
"indent": "\t",
"overrides": true,
"peer": true,
Expand All @@ -13,7 +13,22 @@
"dependencies": [
"@typescript-eslint/**"
],
"pinVersion": "latest",
"dependencyTypes": [
"devDependencies"
],
"pinVersion": "^5.43.0",
"packages": [
"**"
]
},
{
"dependencies": [
"@types/react"
],
"dependencyTypes": [
"devDependencies"
],
"pinVersion": "^17.0.2",
"packages": [
"**"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"request": "^2.88.2",
"sass": "^1.49.9",
"sass-loader": "^10.2.1",
"syncpack": "^8.2.4",
"syncpack": "^8.3.9",
"turbo": "^1.4.5",
"typescript": "^4.8.3",
"url-loader": "^1.1.2",
Expand Down
5 changes: 5 additions & 0 deletions packages/js/admin-e2e-tests/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Dev dependency bump


2 changes: 1 addition & 1 deletion packages/js/admin-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@types/config": "0.0.41",
"@types/expect-puppeteer": "^4.4.7",
"@types/puppeteer": "^5.4.5",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@woocommerce/api": "^0.2.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/js/api/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Dev dependency bump


4 changes: 2 additions & 2 deletions packages/js/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"@types/create-hmac": "1.1.0",
"@types/jest": "^27.4.1",
"@types/node": "13.13.5",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@woocommerce/eslint-plugin": "workspace:*",
"axios-mock-adapter": "^1.20.0",
"eslint": "^8.2.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/js/components/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Dev dependency bump


2 changes: 1 addition & 1 deletion packages/js/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.184",
"@types/react": "^17.0.0",
"@types/react": "^17.0.2",
"@types/testing-library__jest-dom": "^5.14.3",
"@types/wordpress__components": "^19.10.1",
"@types/wordpress__data": "^6.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/js/data/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

Dev dependency bump
2 changes: 1 addition & 1 deletion packages/js/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/lodash": "^4.14.182",
"@types/md5": "^2.3.2",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.0",
"@types/react": "^17.0.2",
"@types/wordpress__compose": "^4.0.1",
"@types/wordpress__core-data": "^2.4.5",
"@types/wordpress__data": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/js/e2e-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.12.7",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/internal-e2e-builds": "workspace:*",
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
Expand Down
4 changes: 4 additions & 0 deletions packages/js/explat/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

Dev dependency bump
2 changes: 1 addition & 1 deletion packages/js/explat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.0",
"@types/react": "^17.0.2",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
Expand Down
6 changes: 3 additions & 3 deletions plugins/woocommerce-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"@types/lodash": "^4.14.179",
"@types/puppeteer": "^4.0.2",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.0",
"@types/react": "^17.0.2",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.4",
"@types/testing-library__jest-dom": "^5.14.3",
Expand All @@ -132,8 +132,8 @@
"@types/wordpress__media-utils": "^3.0.0",
"@types/wordpress__notices": "^3.3.0",
"@types/wordpress__plugins": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@woocommerce/admin-e2e-tests": "workspace:*",
"@woocommerce/components": "workspace:*",
"@woocommerce/csv-export": "workspace:*",
Expand Down
5 changes: 5 additions & 0 deletions plugins/woocommerce/changelog/dev-adjust-sync
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Dev dependency bump


6 changes: 3 additions & 3 deletions plugins/woocommerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"@babel/preset-env": "7.12.7",
"@babel/register": "7.12.1",
"@playwright/test": "^1.27.1",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/experimental-utils": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/experimental-utils": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@woocommerce/admin-e2e-tests": "workspace:*",
"@woocommerce/api": "workspace:*",
"@woocommerce/api-core-tests": "workspace:*",
Expand Down
Loading

0 comments on commit 03dbab0

Please sign in to comment.