Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to node22, update deps and workflows #1132

Merged
merged 4 commits into from
Nov 3, 2024
Merged
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 .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
"react-refresh/only-export-components": "warn",
"react-refresh/only-export-components": "error",
"sort-destructure-keys/sort-destructure-keys": 2,
"no-undef": "error"
}
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/Lint-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js v20
uses: actions/setup-node@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: 20
version: 9
run_install: false

- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
version: 9
run_install: true
node-version: 22
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint --quiet

# - name: Build
# run: pnpm build
21 changes: 11 additions & 10 deletions .github/workflows/Release-Dev-Auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,20 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js v20
uses: actions/setup-node@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: 20
version: 9
run_install: false

- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
version: 9
run_install: true
node-version: 22
cache: 'pnpm'

- name: Lint
run: pnpm lint --quiet
- name: Install dependencies
run: pnpm install

- name: Determine bump type
uses: zwaldowski/match-label-action@v5
Expand All @@ -37,7 +38,7 @@ jobs:
default_match: prerelease

- name: Get new version
uses: zwaldowski/semver-release-action@v3
uses: zwaldowski/semver-release-action@v4
id: semver
with:
bump: ${{ steps.bump.outputs.match }}
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/Release-Manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,20 @@ jobs:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0

- name: Setup Node.js v20
uses: actions/setup-node@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: 20
version: 9
run_install: false

- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
version: 9
run_install: true
node-version: 22
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint --quiet
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/Release-v1.yml

This file was deleted.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
},
"dependencies": {
"@fontsource/sora": "^5.1.0",
"@headlessui/react": "^2.1.10",
"@headlessui/react": "^2.2.0",
"@headlessui/tailwindcss": "^0.2.1",
"@hello-pangea/dnd": "^17.0.0",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@microsoft/signalr": "^8.0.7",
"@monaco-editor/react": "^4.6.0",
"@reduxjs/toolkit": "^2.3.0",
"@sentry/browser": "^8.34.0",
"@sentry/react": "^8.34.0",
"@tanstack/react-query": "^5.59.15",
"@tanstack/react-query-devtools": "^5.59.15",
"@sentry/browser": "^8.36.0",
"@sentry/react": "^8.36.0",
"@tanstack/react-query": "^5.59.19",
"@tanstack/react-query-devtools": "^5.59.19",
"@tanstack/react-virtual": "^3.10.8",
"axios": "^1.7.7",
"classnames": "^2.5.1",
Expand Down Expand Up @@ -48,7 +48,7 @@
"react-use-measure": "^2.1.1",
"redux": "^5.0.1",
"semver": "^7.6.3",
"simple-icons": "^13.14.0",
"simple-icons": "^13.16.0",
"use-immer": "^0.10.0",
"usehooks-ts": "^3.1.0"
},
Expand All @@ -58,9 +58,9 @@
"@stylistic/stylelint-plugin": "^3.1.1",
"@tanstack/eslint-plugin-query": "^5.59.7",
"@types/format-thousands": "^2.0.3",
"@types/lodash": "^4.17.11",
"@types/node": "^20.16.13",
"@types/react": "^18.3.11",
"@types/lodash": "^4.17.13",
"@types/node": "^22.8.7",
"@types/react": "^18.3.12",
"@types/react-avatar-editor": "^13.0.3",
"@types/react-dom": "^18.3.1",
"@types/react-grid-layout": "^1.3.5",
Expand All @@ -69,33 +69,33 @@
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitejs/plugin-react": "^4.3.3",
"cross-env": "^7.0.3",
"dprint": "^0.47.2",
"dprint": "^0.47.5",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"postcss": "^8.4.47",
"postcss-import": "^16.1.0",
"postcss-load-config": "^6.0.1",
"postcss-preset-env": "^10.0.7",
"postcss-preset-env": "^10.0.9",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-tailwindcss": "^0.0.7",
"tailwindcss": "^3.4.14",
"tailwindcss-text-fill-stroke": "2.0.0-beta.1",
"typescript": "5.6.3",
"vite": "^5.4.9",
"vite": "^5.4.10",
"vite-plugin-webpackchunkname": "^1.0.3"
},
"scripts": {
Expand All @@ -112,6 +112,6 @@
"prepare": "husky"
},
"volta": {
"node": "20.16.0"
"node": "22.11.0"
}
}
Loading