Skip to content

Commit 461512d

Browse files
chore(deps): update all dependencies (major) (#1285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Urvashi Sharma <urvashi.sharma@canonical.com>
1 parent 1941e3e commit 461512d

File tree

64 files changed

+2196
-3159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2196
-3159
lines changed

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/pr-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
name: Validate PR title
1313
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: amannn/action-semantic-pull-request@v5
15+
- uses: amannn/action-semantic-pull-request@v6
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515
- name: Setup Pages
1616
id: pages
1717
uses: actions/configure-pages@v5
1818
- name: Use Node.js
19-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
2020
with:
2121
node-version: "lts/*"
2222
- name: Install dependencies
2323
run: yarn install
2424
- name: Build Storybook
2525
run: yarn build-docs
2626
- name: Upload artifact
27-
uses: actions/upload-pages-artifact@v3
27+
uses: actions/upload-pages-artifact@v4
2828
with:
2929
path: "./docs"
3030
publish-docs:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
id-token: write # to enable use of OIDC for npm provenance
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121
- name: Setup Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: "lts/*"
2525
- name: Install dependencies

.github/workflows/test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
name: Lint, build and test
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515

1616
- name: Use Node.js
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: "lts/*"
2020

@@ -36,9 +36,9 @@ jobs:
3636
name: Cypress
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v6
4040
- name: Use Node.js
41-
uses: actions/setup-node@v4
41+
uses: actions/setup-node@v6
4242
with:
4343
node-version: "lts/*"
4444
- uses: cypress-io/github-action@v6
@@ -47,12 +47,12 @@ jobs:
4747
wait-on: "http://localhost:9009"
4848
browser: chrome
4949
env: port=9009
50-
- uses: actions/upload-artifact@v4
50+
- uses: actions/upload-artifact@v6
5151
if: failure()
5252
with:
5353
name: cypress-screenshots
5454
path: cypress/screenshots
55-
- uses: actions/upload-artifact@v4
55+
- uses: actions/upload-artifact@v6
5656
if: failure()
5757
with:
5858
name: cypress-videos
@@ -64,7 +64,7 @@ jobs:
6464

6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v6
6868

6969
- name: Check inclusive naming
7070
uses: canonical/inclusive-naming@main

.github/workflows/tics-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
tics-report:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v6
1212
- name: Use Node.js
13-
uses: actions/setup-node@v4
13+
uses: actions/setup-node@v6
1414
with:
1515
node-version: "lts/*"
1616
- name: Install dependencies

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Build stage: Install yarn dependencies
44
# ===
5-
FROM node:24 AS yarn-dependencies
5+
FROM node:25 AS yarn-dependencies
66
WORKDIR /srv
77
ADD package.json .
88
ADD yarn.lock .

eslint.config.mjs

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ export default [
2323
{
2424
ignores: ["src/external/"],
2525
},
26-
...fixupConfigRules(
27-
compat.extends("plugin:cypress/recommended", "plugin:prettier/recommended"),
28-
),
26+
...fixupConfigRules(compat.extends("plugin:prettier/recommended")),
2927
...tseslint.configs.recommended,
3028
react.configs.flat.recommended,
3129
{
@@ -91,6 +89,8 @@ export default [
9189
varsIgnorePattern: "^_",
9290
},
9391
],
92+
"react-hooks/exhaustive-deps": "warn",
93+
"react-hooks/refs": "off",
9494
},
9595
},
9696
...fixupConfigRules(compat.extends("plugin:prettier/recommended")).map(
@@ -134,4 +134,24 @@ export default [
134134
"testing-library/no-render-in-lifecycle": "off",
135135
},
136136
},
137+
{
138+
files: ["cypress/**/*.js"],
139+
plugins: {
140+
cypress: fixupPluginRules(cypress),
141+
},
142+
rules: {
143+
"cypress/no-assigning-return-values": "error",
144+
"cypress/no-unnecessary-waiting": "error",
145+
"cypress/assertion-before-screenshot": "warn",
146+
"cypress/no-force": "warn",
147+
"cypress/no-async-tests": "error",
148+
"cypress/no-pause": "error",
149+
},
150+
languageOptions: {
151+
globals: {
152+
cy: "readonly",
153+
Cypress: "readonly",
154+
},
155+
},
156+
},
137157
];

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"@babel/preset-env": "7.28.6",
3535
"@babel/preset-react": "7.28.5",
3636
"@babel/preset-typescript": "7.28.5",
37-
"@eslint/compat": "1.4.1",
37+
"@eslint/compat": "2.0.1",
3838
"@eslint/eslintrc": "3.3.3",
3939
"@eslint/js": "9.39.2",
4040
"@percy/cli": "1.31.8",
41-
"@percy/storybook": "6.0.4",
41+
"@percy/storybook": "9.1.0",
4242
"@semantic-release/changelog": "6.0.3",
4343
"@semantic-release/git": "10.0.1",
4444
"@storybook/addon-a11y": "8.6.15",
@@ -55,28 +55,28 @@
5555
"@testing-library/jest-dom": "6.9.1",
5656
"@testing-library/react": "16.3.1",
5757
"@testing-library/user-event": "14.6.1",
58-
"babel-jest": "29.7.0",
59-
"babel-loader": "9.2.1",
58+
"babel-jest": "30.2.0",
59+
"babel-loader": "10.0.0",
6060
"babel-plugin-module-resolver": "5.0.2",
6161
"babel-plugin-typescript-to-proptypes": "2.1.0",
6262
"concurrently": "9.2.1",
6363
"css-loader": "7.1.2",
64-
"cypress": "14.5.4",
64+
"cypress": "15.9.0",
6565
"deepmerge": "4.3.1",
6666
"eslint": "9.39.2",
6767
"eslint-config-prettier": "10.1.8",
68-
"eslint-plugin-cypress": "4.3.0",
68+
"eslint-plugin-cypress": "5.2.1",
6969
"eslint-plugin-flowtype": "8.0.3",
7070
"eslint-plugin-import": "2.32.0",
7171
"eslint-plugin-jsx-a11y": "6.10.2",
7272
"eslint-plugin-prettier": "5.5.5",
7373
"eslint-plugin-react": "7.37.5",
74-
"eslint-plugin-react-hooks": "5.2.0",
74+
"eslint-plugin-react-hooks": "7.0.1",
7575
"eslint-plugin-storybook": "0.12.0",
7676
"eslint-plugin-testing-library": "7.15.4",
7777
"formik": "2.4.9",
7878
"jest": "29.7.0",
79-
"npm-package-json-lint": "8.0.0",
79+
"npm-package-json-lint": "9.1.0",
8080
"prettier": "3.8.0",
8181
"react": "19.2.3",
8282
"react-docgen-typescript-loader": "3.7.2",
@@ -87,28 +87,28 @@
8787
"storybook": "8.6.15",
8888
"strip-ansi": "7.1.2",
8989
"style-loader": "4.0.0",
90-
"stylelint": "16.26.1",
90+
"stylelint": "17.0.0",
9191
"stylelint-config-prettier": "9.0.5",
92-
"stylelint-config-recommended-scss": "14.1.0",
93-
"stylelint-order": "6.0.4",
92+
"stylelint-config-recommended-scss": "17.0.0",
93+
"stylelint-order": "7.0.1",
9494
"stylelint-prettier": "5.0.3",
9595
"ts-jest": "29.2.5",
9696
"tsc-alias": "1.8.10",
9797
"typescript": "5.7.3",
9898
"typescript-eslint": "8.24.1",
9999
"vanilla-framework": "4.44.0",
100-
"wait-on": "8.0.2",
100+
"wait-on": "9.0.3",
101101
"webpack": "5.105.0"
102102
},
103103
"dependencies": {
104-
"@types/jest": "29.5.14",
104+
"@types/jest": "30.0.0",
105105
"@types/node": "20.19.30",
106-
"@types/react": "19.0.10",
107-
"@types/react-dom": "19.0.4",
106+
"@types/react": "19.2.0",
107+
"@types/react-dom": "19.2.0",
108108
"@types/react-table": "7.7.20",
109109
"classnames": "2.5.1",
110110
"fast-deep-equal": "3.1.3",
111-
"jest-environment-jsdom": "29.7.0",
111+
"jest-environment-jsdom": "30.2.0",
112112
"prop-types": "15.8.1",
113113
"react-table": "7.8.0"
114114
},

src/components/Accordion/AccordionSection/__snapshots__/AccordionSection.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`AccordionSection renders 1`] = `
44
<li

0 commit comments

Comments
 (0)