Skip to content

Commit

Permalink
Several dependencies updates to 18 (#5815)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored Mar 2, 2024
1 parent 570a771 commit 0edcd80
Show file tree
Hide file tree
Showing 61 changed files with 2,214 additions and 1,089 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -594,7 +594,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -676,7 +676,7 @@ jobs:
# with:
# node-version: ${{ matrix.node-version }}

# - uses: pnpm/action-setup@v2
# - uses: pnpm/action-setup@v3
# name: Install pnpm
# with:
# version: 8
Expand Down Expand Up @@ -747,7 +747,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -830,7 +830,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -940,7 +940,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -1077,7 +1077,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -1161,7 +1161,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: ${{ env.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
with:
node-version: ${{ env.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
with:
node-version: ${{ env.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
with:
node-version: ${{ env.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
with:
node-version: ${{ env.node-version }}

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
Expand Down
3 changes: 1 addition & 2 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"
pnpm yarnhook
pnpm lockhook
3 changes: 1 addition & 2 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"
pnpm yarnhook
pnpm lockhook
3 changes: 1 addition & 2 deletions .husky/post-rebase
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"
pnpm yarnhook
pnpm lockhook
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
20 changes: 10 additions & 10 deletions apps/plone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"redux": "4.1.0",
"redux-actions": "2.6.5",
"redux-connect": "10.0.0",
"redux-devtools-extension": "2.13.8",
"@redux-devtools/extension": "^3.3.0",
"redux-localstorage-simple": "2.3.1",
"redux-mock-store": "1.5.4",
"redux-thunk": "2.3.0",
Expand Down Expand Up @@ -257,14 +257,14 @@
"babel-plugin-react-intl": "5.1.17",
"babel-plugin-root-import": "6.1.0",
"css-loader": "5.2.7",
"eslint": "8.49.0",
"eslint-config-prettier": "9.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-import-resolver-alias": "1.1.2",
"eslint-import-resolver-babel-plugin-root-import": "1.1.1",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"glob": "7.1.6",
Expand All @@ -279,13 +279,13 @@
"postcss-loader": "7.0.2",
"postcss-overrides": "3.1.4",
"postcss-scss": "4.0.6",
"prettier": "3.0.3",
"prettier": "3.2.5",
"razzle": "4.2.18",
"start-server-and-test": "1.14.0",
"style-loader": "3.3.1",
"stylelint": "15.10.3",
"stylelint-config-idiomatic-order": "9.0.0",
"stylelint-prettier": "4.0.2",
"stylelint": "^16.2.1",
"stylelint-config-idiomatic-order": "10.0.0",
"stylelint-prettier": "5.0.0",
"svg-loader": "0.0.2",
"svgo-loader": "3.0.3",
"ts-jest": "^26.4.2",
Expand Down
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "make setup",
"watch": "turbo run watch",
"build:deps": "turbo run build --filter @plone/registry --filter @plone/client",
"watch": "pnpm --filter @plone/registry watch",
"build:deps": "pnpm --filter @plone/registry --filter @plone/client build",
"build:registry": "pnpm --filter @plone/registry run build",
"build": "pnpm build:deps && pnpm --filter @plone/volto build",
"start": "pnpm build:deps && pnpm --filter @plone/volto start",
Expand All @@ -17,9 +17,12 @@
"i18n:ci": "pnpm --filter @plone/volto i18n:ci",
"prettier": "prettier --check '{apps,packages}/**/*.{js,jsx,ts,tsx}'",
"prettier:fix": "prettier --write '{apps,packages}/**/*.{js,jsx,ts,tsx}' ",
"stylelint": "stylelint '{apps,packages}/**/*.{css,scss,less}'",
"stylelint:fix": "stylelint '{apps,packages}/**/*.{css,scss,less}' --fix",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint-staged": "lint-staged",
"prepare": "husky install",
"lockhook": "node packages/scripts/lockhook.js",
"prepare": "husky",
"husky:uninstall": "husky uninstall",
"prereleaser": "node packages/scripts/preleaser.js"
},
Expand All @@ -28,23 +31,22 @@
"@parcel/transformer-typescript-types": "^2.12.0",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "9.0.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.33.2",
"husky": "^8.0.3",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"stylelint": "^15.11.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"stylelint": "^16.2.1",
"tsconfig": "workspace:*",
"turbo": "latest",
"typescript": "5.2.2",
"vitest": "^0.34.6",
"yarnhook": "0.6.1"
"vitest": "^1.3.1"
},
"packageManager": "pnpm@8.9.0",
"packageManager": "pnpm@8.15.4",
"pnpm": {
"overrides": {
"webpack": "5.90.1"
Expand Down
1 change: 1 addition & 0 deletions packages/client/news/5815.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update dependencies @sneridagh
20 changes: 8 additions & 12 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@
"vitest": "vitest",
"check-ts": "tsc --project tsconfig.json",
"coverage": "vitest run --coverage --no-threads",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
"lint:fix": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"prettier": "prettier --check 'src/**/*.{js,jsx,ts,tsx}'",
"prettier:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"dry-release": "release-it --dry-run",
"release": "release-it",
"release-major-alpha": "release-it major --preRelease=alpha",
Expand All @@ -82,19 +78,19 @@
"@types/react-dom": "18.2.12",
"@types/uuid": "^9.0.2",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-c8": "0.28.5",
"@vitest/coverage-v8": "^1.3.1",
"glob": "7.1.6",
"jsdom": "^21.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "16.2.1",
"tsup": "^8.0.1",
"release-it": "17.1.1",
"tsup": "^8.0.2",
"typescript": "5.2.2",
"uuid": "^9.0.0",
"vite": "^4.5.1",
"vite-plugin-dts": "^3.6.0",
"vitest": "^0.34.6",
"wait-on": "^7.0.1"
"uuid": "^9.0.1",
"vite": "^5.1.4",
"vite-plugin-dts": "^3.7.3",
"vitest": "^1.3.1",
"wait-on": "^7.2.0"
},
"dependencies": {
"@tanstack/react-query": "5.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ directories.forEach((dir) => {
// if there are any matches, run vitest on this directory
if (matches.length > 0) {
console.log(`Running vitest on src/${dir}`);
execSync(`pnpm vitest run src/restapi/${dir} --no-threads`, {
execSync(`pnpm vitest run src/restapi/${dir}`, {
stdio: 'inherit',
});
}
Expand Down
Loading

0 comments on commit 0edcd80

Please sign in to comment.