Skip to content

Commit ccb0f5f

Browse files
authored
fix: Update deps (#131)
* fix: Update deps * fix: Update deps * fix: Update deps * Delete cypress/screenshots/basic_tests.cy.ts/Integration Tests -- Docs Pages Works Quick Start (failed).png
1 parent 3dfe863 commit ccb0f5f

7 files changed

Lines changed: 2948 additions & 2768 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
14+
- uses: actions/checkout@v6
15+
1616
- name: Setup Node.js
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: '24'
2020
cache: 'yarn'

.github/workflows/codecov.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [22.x]
19+
node-version: [24.x]
2020

2121
steps:
22-
- uses: actions/checkout@v4
23-
22+
- uses: actions/checkout@v6
23+
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'yarn'
@@ -34,7 +34,7 @@ jobs:
3434
run: yarn test:coverage
3535

3636
- name: Upload coverage to Codecov
37-
uses: codecov/codecov-action@v4
37+
uses: codecov/codecov-action@v6
3838
with:
3939
token: ${{ secrets.CODECOV_TOKEN }}
4040
files: ./coverage/lcov.info

.github/workflows/cypress.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [22.x] # Latest LTS version
20+
node-version: [24.x] # Latest LTS version
2121
# Don't cancel other matrix jobs if one fails
2222
fail-fast: false
2323

2424
steps:
25-
- uses: actions/checkout@v4
26-
25+
- uses: actions/checkout@v6
26+
2727
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
cache: 'yarn'
@@ -34,7 +34,7 @@ jobs:
3434
run: yarn install --frozen-lockfile
3535

3636
- name: Get Cypress cache
37-
uses: actions/cache@v4
37+
uses: actions/cache@v5
3838
id: cypress-cache
3939
with:
4040
path: ~/.cache/Cypress
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Run Cypress tests
5050
id: cypress
51-
uses: cypress-io/github-action@v6
51+
uses: cypress-io/github-action@v7
5252
with:
5353
start: yarn start
5454
wait-on: 'http://localhost:3000'
@@ -57,15 +57,15 @@ jobs:
5757
record: false
5858

5959
- name: Upload Cypress screenshots
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
if: failure()
6262
with:
6363
name: cypress-screenshots
6464
path: cypress/screenshots
6565
if-no-files-found: ignore
6666

6767
- name: Upload Cypress videos
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@v7
6969
if: always()
7070
with:
7171
name: cypress-videos
@@ -75,7 +75,7 @@ jobs:
7575
# Add test summary to PR
7676
- name: Add PR Comment
7777
if: github.event_name == 'pull_request' && (success() || failure())
78-
uses: actions/github-script@v7
78+
uses: actions/github-script@v9
7979
with:
8080
script: |
8181
const testStatus = '${{ steps.cypress.outcome }}' === 'success' ? '✅' : '❌';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from 'cypress'
22

33
export default defineConfig({
4+
allowCypressEnv: false,
45
video: false,
56
e2e: {
67
setupNodeEvents(on, config) {
@@ -9,6 +10,6 @@ export default defineConfig({
910
},
1011
baseUrl: 'http://localhost:3000',
1112
supportFile: 'cypress/support/e2e.ts',
12-
specPattern: 'cypress/e2e/**/*.cy.ts'
13+
specPattern: 'cypress/e2e/**/*.cy.ts',
1314
},
1415
})

cypress/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
4-
"lib": ["es5", "dom"],
3+
"target": "es2022",
4+
"module": "esnext",
5+
"moduleResolution": "bundler",
6+
"lib": ["es2022", "dom"],
57
"types": ["cypress", "node"],
68
"strict": true,
79
"noEmit": true,
@@ -12,4 +14,4 @@
1214
"forceConsistentCasingInFileNames": true
1315
},
1416
"include": ["**/*.ts"]
15-
}
17+
}

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
"test-integration": "start-server-and-test start http://localhost:3000 cy:run"
1717
},
1818
"dependencies": {
19-
"@docusaurus/core": "^3.9.2",
20-
"@docusaurus/preset-classic": "^3.9.2",
21-
"@docusaurus/remark-plugin-npm2yarn": "3.9.2",
19+
"@docusaurus/core": "^3.10.1",
20+
"@docusaurus/preset-classic": "^3.10.1",
21+
"@docusaurus/remark-plugin-npm2yarn": "3.10.1",
2222
"chalk": "^5.6.2",
23-
"console-table-printer": "^2.15.0",
24-
"react": "^19.2.0",
25-
"react-dom": "^19.2.0",
26-
"styled-components": "^6.1.19"
23+
"console-table-printer": "^2.15.2",
24+
"react": "^19.2.6",
25+
"react-dom": "^19.2.6",
26+
"styled-components": "^6.4.2"
2727
},
2828
"browserslist": {
2929
"production": [
@@ -38,29 +38,29 @@
3838
]
3939
},
4040
"devDependencies": {
41-
"@babel/core": "^7.28.4",
42-
"@babel/preset-env": "^7.28.3",
43-
"@babel/preset-react": "^7.27.1",
44-
"@babel/preset-typescript": "^7.27.1",
45-
"@docusaurus/module-type-aliases": "^3.9.2",
46-
"@docusaurus/tsconfig": "3.9.2",
41+
"@babel/core": "^7.29.7",
42+
"@babel/preset-env": "^7.29.7",
43+
"@babel/preset-react": "^7.29.7",
44+
"@babel/preset-typescript": "^7.29.7",
45+
"@docusaurus/module-type-aliases": "^3.10.1",
46+
"@docusaurus/tsconfig": "3.10.1",
4747
"@testing-library/dom": "^10.4.1",
4848
"@testing-library/jest-dom": "^6.9.1",
49-
"@testing-library/react": "^16.3.0",
49+
"@testing-library/react": "^16.3.2",
5050
"@testing-library/user-event": "^14.6.1",
5151
"@types/jest": "^30.0.0",
52-
"@types/react": "^19.2.2",
52+
"@types/react": "^19.2.15",
5353
"@types/react-helmet": "^6.1.11",
5454
"@types/react-router-dom": "^5.3.3",
55-
"@types/styled-components": "^5.1.34",
56-
"babel-jest": "^30.2.0",
55+
"@types/styled-components": "^5.1.36",
56+
"babel-jest": "^30.4.1",
5757
"codecov": "^3.8.3",
58-
"cypress": "^15.5.0",
58+
"cypress": "^15.16.0",
5959
"identity-obj-proxy": "^3.0.0",
60-
"jest": "^30.2.0",
61-
"jest-environment-jsdom": "^30.2.0",
62-
"jest-junit": "^16.0.0",
63-
"start-server-and-test": "^2.1.2",
64-
"typescript": "^5.9.3"
60+
"jest": "^30.4.2",
61+
"jest-environment-jsdom": "^30.4.1",
62+
"jest-junit": "^17.0.0",
63+
"start-server-and-test": "^3.0.5",
64+
"typescript": "^6.0.3"
6565
}
6666
}

0 commit comments

Comments
 (0)