Skip to content

Commit 1eabc82

Browse files
authored
fix: e2e errors (#47)
* fix: cannot resolve deps * fix: version * fix: add swtich vue2 * fix: to serial * fix: add vue-i18n switch * fix: add more swithcing to vue2
1 parent 05dc3d3 commit 1eabc82

File tree

7 files changed

+48
-49
lines changed

7 files changed

+48
-49
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"type": "git",
6565
"url": "git+https://github.com/intlify/routing.git"
6666
},
67-
"packageManager": "[email protected]",
6867
"scripts": {
6968
"force": "pnpm clean && pnpm i --force",
7069
"install:vue2": "cd playground/vue2 && npm i",
@@ -111,9 +110,9 @@
111110
"test:unit:vue2": "pnpm switch:vue2 && cross-env TEST_TARGET=vue2 pnpm --filter vue-i18n-routing test",
112111
"test:watch": "pnpm switch:vue3 && cross-env TEST_TARGET=vue3 pnpm --filter playground-vue3 test:watch",
113112
"test:cover": "pnpm switch:vue3 && cross-env TEST_TARGET=vue3 && pnpm --filter playground-vue3 test:cover",
114-
"test:e2e": "run-p \"test:e2e:vue*\"",
115-
"test:e2e:vue2": "cd playground/vue2 && npm test",
116-
"test:e2e:vue2options": "cd playground/vue2-options && npm test",
113+
"test:e2e": "run-s \"test:e2e:vue*\"",
114+
"test:e2e:vue2": "cd playground/vue2 && npx --no-install vue-demi-switch 2 && npx --no-install vue-i18n-switch 8 && npm test",
115+
"test:e2e:vue2options": "cd playground/vue2-options && npx --no-install vue-demi-switch 2 && npx --no-install vue-i18n-switch 8 && npm test",
117116
"test:e2e:vue3": "cd playground/vue3 && npm test",
118117
"test:e2e:vue3options": "cd playground/vue3-options && npm test"
119118
},

packages/vue-i18n-routing/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"build:docs": "api-docs-gen ./temp/vue-i18n-routing.api.json -c ./docsgen.config.js -o ./ -g noprefix"
1515
},
1616
"dependencies": {
17-
"@intlify/shared": "next",
18-
"@intlify/vue-i18n-bridge": "^0.8.0",
19-
"@intlify/vue-router-bridge": "^0.8.0",
17+
"@intlify/shared": "^9.3.0",
18+
"@intlify/vue-i18n-bridge": "^0.9.0",
19+
"@intlify/vue-router-bridge": "^0.9.0",
2020
"ufo": "^1.2.0",
2121
"vue-demi": "^0.14.5"
2222
},

playground/vue2-options/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vue": "2.6.14",
1515
"vue-router": "3.5.3",
1616
"vue-i18n": "^8",
17-
"vue-i18n-bridge": "^9.3.0-beta.10",
17+
"vue-i18n-bridge": "^9.3.0",
1818
"vue-i18n-routing": "0.10.0"
1919
},
2020
"devDependencies": {

playground/vue2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vue": "2.6.14",
1515
"vue-router": "3.5.3",
1616
"vue-i18n": "^8",
17-
"vue-i18n-bridge": "^9.3.0-beta.10",
17+
"vue-i18n-bridge": "^9.3.0",
1818
"vue-i18n-routing": "0.10.0"
1919
},
2020
"devDependencies": {

playground/vue3-options/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"vue": "3.2.31",
1414
"vue-router": "4.1.2",
15-
"vue-i18n": "^9.3.0-beta.10",
15+
"vue-i18n": "^9.3.0",
1616
"@vueuse/head": "0.7.6",
1717
"vue-i18n-routing": "0.10.0"
1818
},

playground/vue3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"vue": "3.2.31",
1414
"vue-router": "4.1.2",
15-
"vue-i18n": "9.3.0-beta.10",
15+
"vue-i18n": "^9.3.0",
1616
"@vueuse/head": "0.7.6",
1717
"vue-i18n-routing": "0.10.0"
1818
},

pnpm-lock.yaml

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)