Skip to content

Commit 87f9a29

Browse files
visualfanatichaoqunjiang
authored andcommitted
chore: add repository.directory field to each package.json to specify where each package lives in a monorepo (#3397)
1 parent 45dcbc5 commit 87f9a29

File tree

24 files changed

+57
-21
lines changed

24 files changed

+57
-21
lines changed

packages/@vue/babel-preset-app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/babel-preset-app"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/cli-init/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/cli-init"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/cli-overlay/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
],
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/cli-overlay"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/cli-plugin-babel/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-babel"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-e2e-cypress/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-e2e-cypress"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-e2e-nightwatch/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-e2e-nightwatch"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-eslint/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-eslint"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-pwa/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-pwa"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-typescript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-typescript"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-unit-jest/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-unit-jest"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-plugin-unit-mocha/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-plugin-unit-mocha"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-service-global/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/cli-service-global"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/cli-service/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/vuejs/vue-cli.git"
12+
"url": "git+https://github.com/vuejs/vue-cli.git",
13+
"directory": "packages/@vue/cli-service"
1314
},
1415
"keywords": [
1516
"vue",

packages/@vue/cli-shared-utils/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-shared-utils"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli-test-utils/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "test utilities for vue-cli packages",
55
"repository": {
66
"type": "git",
7-
"url": "git+https://github.com/vuejs/vue-cli.git"
7+
"url": "git+https://github.com/vuejs/vue-cli.git",
8+
"directory": "packages/@vue/cli-test-utils"
89
},
910
"keywords": [
1011
"vue",

packages/@vue/cli-ui-addon-webpack/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@vue/cli-ui-addon-webpack",
33
"version": "3.4.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/vuejs/vue-cli.git",
7+
"directory": "packages/@vue/cli-ui-addon-webpack"
8+
},
49
"files": [
510
"dist",
611
"src"

packages/@vue/cli-ui-addon-widgets/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@vue/cli-ui-addon-widgets",
33
"version": "3.4.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/vuejs/vue-cli.git",
7+
"directory": "packages/@vue/cli-ui-addon-widgets"
8+
},
49
"files": [
510
"dist",
611
"src"

packages/@vue/cli-ui/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@vue/cli-ui",
33
"version": "3.4.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/vuejs/vue-cli.git",
7+
"directory": "packages/@vue/cli-ui"
8+
},
49
"scripts": {
510
"serve": "cross-env VUE_APP_CLI_UI_URL=ws://localhost:4030/graphql VUE_APP_GRAPHQL_PORT=4030 vue-cli-service serve",
611
"build": "vue-cli-service build",

packages/@vue/cli-upgrade/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/vuejs/vue-cli.git"
8+
"url": "git+https://github.com/vuejs/vue-cli.git",
9+
"directory": "packages/@vue/cli-upgrade"
910
},
1011
"keywords": [
1112
"vue",

packages/@vue/cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"repository": {
99
"type": "git",
10-
"url": "git+https://github.com/vuejs/vue-cli.git"
10+
"url": "git+https://github.com/vuejs/vue-cli.git",
11+
"directory": "packages/@vue/cli"
1112
},
1213
"keywords": [
1314
"vue",

packages/@vue/eslint-config-airbnb/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/eslint-config-airbnb"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/eslint-config-prettier/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/eslint-config-prettier"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/eslint-config-standard/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/eslint-config-standard"
1213
},
1314
"keywords": [
1415
"vue",

packages/@vue/eslint-config-typescript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/vuejs/vue-cli.git"
11+
"url": "git+https://github.com/vuejs/vue-cli.git",
12+
"directory": "packages/@vue/eslint-config-typescript"
1213
},
1314
"keywords": [
1415
"vue",

0 commit comments

Comments
 (0)