Skip to content

Commit ee3ff88

Browse files
AtofStrykerryanthemanuelcypress-bot[bot]jennifer-shehane
authored
chore: update vite to version 5 inside the monorepo (#29617)
* chore: update babel to latest in packages and update vite to version 5, vite related vue plugins to version 5, and svg plugin to v5 update vitejs react to v5 updated vite plugins updates unplugin-vue-components and unplugin-icons for vite remove vite-plugin-copmponents as it is the same thing as unplugin-vue-components update vue-i18n from beta package to released v9 get unplugin-vue-i18n to latest add @babel/types to no rewrite [run ci] fix typing errors [run ci] * update snapshot [run ci] * coerce type for compiled messages to bridge type compatibility between unplugin-vue-i18n and vue-i18n [run ci] * chore: update babel to latest in packages and update vite to version … (#29634) * fix vite * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache --------- Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> * update other hard coded @babel/core * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache --------- Co-authored-by: Ryan Manuel <ryanm@cypress.io> Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
1 parent dfec1e7 commit ee3ff88

File tree

27 files changed

+1616
-1572
lines changed

27 files changed

+1616
-1572
lines changed

.yarnclean

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ test
44
tests
55
powered-test
66

7-
# asset directories
8-
docs
9-
doc
107
# yaml package has a `doc` folder that we need
118
!yaml/**/doc/*
129
website

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"yauzl": "^2.10.0"
6565
},
6666
"devDependencies": {
67-
"@babel/cli": "7.13.0",
68-
"@babel/preset-env": "7.13.5",
67+
"@babel/cli": "7.24.5",
68+
"@babel/preset-env": "7.24.5",
6969
"@cypress/angular": "0.0.0-development",
7070
"@cypress/grep": "0.0.0-development",
7171
"@cypress/mount-utils": "0.0.0-development",

npm/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"devDependencies": {
1919
"@cypress/mount-utils": "0.0.0-development",
2020
"@types/semver": "7.5.0",
21-
"@vitejs/plugin-react": "4.0.0",
21+
"@vitejs/plugin-react": "4.3.0",
2222
"axios": "0.21.2",
2323
"cypress": "0.0.0-development",
2424
"prop-types": "15.7.2",
@@ -28,7 +28,7 @@
2828
"react-router-dom": "6.0.0-alpha.1",
2929
"semver": "^7.5.3",
3030
"typescript": "~5.4.5",
31-
"vite": "4.5.2",
31+
"vite": "5.2.11",
3232
"vite-plugin-require-transform": "1.0.12"
3333
},
3434
"peerDependencies": {

npm/vite-plugin-cypress-esm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
},
1919
"devDependencies": {
2020
"@types/picomatch": "2.3.0",
21-
"@vitejs/plugin-react": "1.3.1",
21+
"@vitejs/plugin-react": "4.3.0",
2222
"react": "16.8.6",
2323
"react-dom": "16.8.6",
2424
"react-query": "3.39.3",
2525
"react-router": "6.10.0",
2626
"react-router-dom": "6.10.0",
27-
"vite": "4.5.2"
27+
"vite": "5.2.11"
2828
},
2929
"files": [
3030
"dist",

npm/vite-plugin-cypress-esm/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
4747
"esModuleInterop": true,
4848
/** Allows us to strip internal types sourced from webpack */
49-
"stripInternal": true
49+
"stripInternal": true,
50+
/* skips checking declaration types. we skip this because we have multiple versions of vite installed as dev dependencies */
51+
"skipLibCheck": true,
5052
},
5153
"include": ["src"],
5254
"exclude": ["node_modules", "*.js"]

npm/vue/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@cypress/mount-utils": "0.0.0-development",
19-
"@vitejs/plugin-vue": "4.2.0",
19+
"@vitejs/plugin-vue": "5.0.4",
2020
"@vue/compiler-sfc": "3.2.47",
2121
"@vue/test-utils": "2.3.2",
2222
"axios": "0.21.2",
@@ -25,9 +25,9 @@
2525
"globby": "^11.0.1",
2626
"tailwindcss": "1.1.4",
2727
"typescript": "~5.4.5",
28-
"vite": "4.5.2",
28+
"vite": "5.2.11",
2929
"vue": "3.2.47",
30-
"vue-i18n": "9.0.0-rc.6",
30+
"vue-i18n": "9.13.1",
3131
"vue-router": "^4.0.0",
3232
"vue-tsc": "^2.0.19",
3333
"vuex": "^4.0.0"

npm/webpack-batteries-included-preprocessor/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"test": "mocha test/**/*.spec.* --timeout 4000"
99
},
1010
"dependencies": {
11-
"@babel/core": "^7.22.9",
12-
"@babel/plugin-transform-class-properties": "^7.22.5",
13-
"@babel/plugin-transform-object-rest-spread": "^7.22.5",
14-
"@babel/plugin-transform-runtime": "^7.22.9",
15-
"@babel/preset-env": "^7.22.9",
11+
"@babel/core": "^7.24.5",
12+
"@babel/plugin-transform-class-properties": "^7.24.1",
13+
"@babel/plugin-transform-object-rest-spread": "^7.24.5",
14+
"@babel/plugin-transform-runtime": "^7.24.3",
15+
"@babel/preset-env": "^7.24.5",
1616
"@babel/preset-react": "^7.22.5",
17-
"@babel/runtime": "^7.22.6",
17+
"@babel/runtime": "^7.24.5",
1818
"assert": "^2.0.0",
1919
"babel-loader": "^9.1.3",
2020
"babel-plugin-add-module-exports": "^1.0.2",

npm/webpack-preprocessor/__snapshots__/compilation.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Webpack Compilation Error
88
Module build failed (from ./node_modules/babel-loader/lib/index.js):
99
SyntaxError: <path>/_test-output/syntax_error_spec.js: Unexpected token (1:18)
1010
11-
[0m[31m[1m>[22m[39m[90m 1 |[39m describe([32m'fail'[39m[33m,[39m [33m-[39m[33m>[39m)[0m
12-
[0m [90m |[39m [31m[1m^[22m[39m[0m
13-
[0m [90m 2 |[39m[0m
11+
[0m[31m[1m>[22m[39m[90m 1 |[39m describe([32m'fail'[39m[33m,[39m [33m-[39m[33m>[39m)
12+
[90m |[39m [31m[1m^[22m[39m
13+
[90m 2 |[39m[0m
1414
`
1515

1616
exports['webpack preprocessor - e2e has less verbose "Module not found" error 1'] = `

npm/webpack-preprocessor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"lodash": "^4.17.20"
2626
},
2727
"devDependencies": {
28-
"@babel/core": "^7.22.9",
29-
"@babel/preset-env": "^7.22.9",
28+
"@babel/core": "^7.24.5",
29+
"@babel/preset-env": "^7.24.5",
3030
"@types/mocha": "9.0.0",
3131
"@types/webpack": "^4.41.12",
3232
"babel-loader": "^9.1.3",
@@ -84,4 +84,4 @@
8484
}
8585
}
8686
}
87-
}
87+
}

packages/app/cypress/e2e/top-nav.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ describe('App Top Nav Workflows', () => {
6565
it('shows the current browser in the top nav browser list button', () => {
6666
cy.findByTestId('top-nav-active-browser-icon')
6767
.should('have.attr', 'src')
68-
.and('contain', 'chrome')
6968

7069
cy.findByTestId('top-nav-active-browser').should('contain', 'Chrome 1')
7170
})

0 commit comments

Comments
 (0)