Skip to content

Commit f1bdac0

Browse files
nogic1008cexbrayat
authored andcommitted
chore: add scope on package name
1 parent eeefc05 commit f1bdac0

File tree

14 files changed

+25
-25
lines changed

14 files changed

+25
-25
lines changed

e2e/2.x/babel-in-package/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"jest": "27.x",
2020
"ts-jest": "^27.0.4",
2121
"typescript": "^3.2.2",
22-
"vue2-jest": "~27.0.0-alpha.1"
22+
"@vue/vue2-jest": "~27.0.0-alpha.1"
2323
},
2424
"jest": {
2525
"testEnvironment": "jsdom",
@@ -30,7 +30,7 @@
3030
],
3131
"transform": {
3232
"^.+\\.js$": "babel-jest",
33-
"^.+\\.vue$": "vue2-jest"
33+
"^.+\\.vue$": "@vue/vue2-jest"
3434
}
3535
},
3636
"babel": {

e2e/2.x/basic/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"sass": "^1.23.7",
2525
"ts-jest": "^27.0.4",
2626
"typescript": "^3.2.2",
27-
"vue2-jest": "~27.0.0-alpha.1"
27+
"@vue/vue2-jest": "~27.0.0-alpha.1"
2828
},
2929
"jest": {
3030
"testEnvironment": "jsdom",
@@ -35,7 +35,7 @@
3535
],
3636
"transform": {
3737
"^.+\\.js$": "babel-jest",
38-
"^.+\\.vue$": "vue2-jest"
38+
"^.+\\.vue$": "@vue/vue2-jest"
3939
},
4040
"moduleNameMapper": {
4141
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

e2e/2.x/basic/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import TypeScript from './components/TypeScript.vue'
33
import TemplateString from './components/TemplateString.vue'
44
import { resolve } from 'path'
55
import { readFileSync } from 'fs'
6-
import jestVue from 'vue2-jest'
6+
import jestVue from '@vue/vue2-jest'
77
import RenderFunction from './components/RenderFunction.vue'
88
import Jade from './components/Jade.vue'
99
import FunctionalSFC from './components/FunctionalSFC.vue'

e2e/2.x/custom-transformers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postcss": "^7.0.13",
2020
"postcss-color-function": "^4.0.1",
2121
"sass": "^1.23.7",
22-
"vue2-jest": "~27.0.0-alpha.1"
22+
"@vue/vue2-jest": "~27.0.0-alpha.1"
2323
},
2424
"jest": {
2525
"testEnvironment": "jsdom",
@@ -30,7 +30,7 @@
3030
],
3131
"transform": {
3232
"^.+\\.js$": "./babel-transformer.js",
33-
"^.+\\.vue$": "vue2-jest"
33+
"^.+\\.vue$": "@vue/vue2-jest"
3434
},
3535
"moduleNameMapper": {
3636
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

e2e/2.x/style/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postcss": "^7.0.13",
2020
"sass": "^1.23.7",
2121
"stylus": "^0.54.5",
22-
"vue2-jest": "~27.0.0-alpha.1"
22+
"@vue/vue2-jest": "~27.0.0-alpha.1"
2323
},
2424
"jest": {
2525
"testEnvironment": "jsdom",
@@ -30,7 +30,7 @@
3030
],
3131
"transform": {
3232
"^.+\\.js$": "babel-jest",
33-
"^.+\\.vue$": "vue2-jest"
33+
"^.+\\.vue$": "@vue/vue2-jest"
3434
},
3535
"moduleNameMapper": {
3636
"^~tmp/(.*)": "/tmp/$1",

e2e/3.x/babel-in-package/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"jest": "^27.0.0",
1818
"ts-jest": "^27.0.1",
1919
"typescript": "^4.1.2",
20-
"vue3-jest": "^27.0.0-alpha.1"
20+
"@vue/vue3-jest": "^27.0.0-alpha.1"
2121
},
2222
"jest": {
2323
"testEnvironment": "jsdom",
@@ -28,7 +28,7 @@
2828
],
2929
"transform": {
3030
"^.+\\.js$": "babel-jest",
31-
"^.+\\.vue$": "vue3-jest"
31+
"^.+\\.vue$": "@vue/vue3-jest"
3232
}
3333
},
3434
"babel": {

e2e/3.x/basic/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"ts-jest": "^27.0.1",
2424
"typescript": "^4.1.2",
2525
"vue-class-component": "^8.0.0-beta.4",
26-
"vue3-jest": "^27.0.0-alpha.1",
26+
"@vue/vue3-jest": "^27.0.0-alpha.1",
2727
"vue-property-decorator": "^10.0.0-rc.3"
2828
},
2929
"jest": {
@@ -37,7 +37,7 @@
3737
"transform": {
3838
"^.+\\.ts$": "ts-jest",
3939
"^.+\\.js$": "babel-jest",
40-
"^.+\\.vue$": "vue3-jest"
40+
"^.+\\.vue$": "@vue/vue3-jest"
4141
},
4242
"moduleNameMapper": {
4343
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

e2e/3.x/basic/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ClassComponent from './components/ClassComponent.vue'
1111
import ClassComponentWithMixin from './components/ClassComponentWithMixin.vue'
1212
import ClassComponentProperty from './components/ClassComponentProperty.vue'
1313
import TypeScript from './components/TypeScript.vue'
14-
import jestVue from 'vue3-jest'
14+
import jestVue from '@vue/vue3-jest'
1515
import RenderFunction from './components/RenderFunction.vue'
1616
import FunctionalSFC from './components/FunctionalSFC.vue'
1717
import CoffeeScript from './components/CoffeeScript.vue'

e2e/3.x/custom-transformers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"postcss": "^7.0.13",
2121
"postcss-color-function": "^4.0.1",
2222
"sass": "^1.23.7",
23-
"vue3-jest": "^27.0.0-alpha.1"
23+
"@vue/vue3-jest": "^27.0.0-alpha.1"
2424
},
2525
"jest": {
2626
"testEnvironment": "jsdom",
@@ -31,7 +31,7 @@
3131
],
3232
"transform": {
3333
"^.+\\.js$": "./babel-transformer.js",
34-
"^.+\\.vue$": "vue3-jest"
34+
"^.+\\.vue$": "@vue/vue3-jest"
3535
},
3636
"moduleNameMapper": {
3737
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

e2e/3.x/javascript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@babel/preset-env": "^7.9.0",
1515
"coffeescript": "^2.3.2",
1616
"jest": "^27.0.0",
17-
"vue3-jest": "^27.0.0-alpha.1"
17+
"@vue/vue3-jest": "^27.0.0-alpha.1"
1818
},
1919
"jest": {
2020
"testEnvironment": "jsdom",
@@ -25,7 +25,7 @@
2525
],
2626
"transform": {
2727
"^.+\\.js$": "babel-jest",
28-
"^.+\\.vue$": "vue3-jest"
28+
"^.+\\.vue$": "@vue/vue3-jest"
2929
}
3030
},
3131
"babel": {

e2e/3.x/style/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postcss": "^7.0.13",
2020
"sass": "^1.23.7",
2121
"stylus": "^0.54.5",
22-
"vue3-jest": "^27.0.0-alpha.1"
22+
"@vue/vue3-jest": "^27.0.0-alpha.1"
2323
},
2424
"jest": {
2525
"testEnvironment": "jsdom",
@@ -30,7 +30,7 @@
3030
],
3131
"transform": {
3232
"^.+\\.js$": "babel-jest",
33-
"^.+\\.vue$": "vue3-jest"
33+
"^.+\\.vue$": "@vue/vue3-jest"
3434
},
3535
"moduleNameMapper": {
3636
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

e2e/3.x/typescript-with-babel/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"jest": "^27.0.0",
1717
"ts-jest": "^27.0.1",
1818
"typescript": "^4.1.2",
19-
"vue3-jest": "^27.0.0-alpha.1"
19+
"@vue/vue3-jest": "^27.0.0-alpha.1"
2020
},
2121
"jest": {
2222
"testEnvironment": "jsdom",
@@ -32,7 +32,7 @@
3232
],
3333
"transform": {
3434
"^.+\\.js$": "babel-jest",
35-
"^.+\\.vue$": "vue3-jest"
35+
"^.+\\.vue$": "@vue/vue3-jest"
3636
}
3737
},
3838
"babel": {

e2e/3.x/typescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"jest": "^27.0.0",
1616
"ts-jest": "^27.0.1",
1717
"typescript": "^4.1.2",
18-
"vue3-jest": "^27.0.0-alpha.1"
18+
"@vue/vue3-jest": "^27.0.0-alpha.1"
1919
},
2020
"jest": {
2121
"testEnvironment": "jsdom",
@@ -30,7 +30,7 @@
3030
},
3131
"transform": {
3232
"^.+\\.ts$": "ts-jest",
33-
"^.+\\.vue$": "vue3-jest"
33+
"^.+\\.vue$": "@vue/vue3-jest"
3434
}
3535
}
3636
}

packages/vue3-jest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vue3-jest",
2+
"name": "@vue/vue3-jest",
33
"version": "27.0.0-alpha.2",
44
"description": "Jest Vue transform",
55
"main": "lib/index.js",

0 commit comments

Comments
 (0)