Skip to content

Commit

Permalink
chore: add repository.directory field to each package.json to spe…
Browse files Browse the repository at this point in the history
…cify where each package lives in a monorepo (vuejs#3397)
  • Loading branch information
visualfanatic authored and haoqunjiang committed Feb 7, 2019
1 parent 45dcbc5 commit 87f9a29
Show file tree
Hide file tree
Showing 24 changed files with 57 additions and 21 deletions.
3 changes: 2 additions & 1 deletion packages/@vue/babel-preset-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/babel-preset-app"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-init"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-overlay"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-babel"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-e2e-cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-e2e-cypress"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-e2e-nightwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-e2e-nightwatch"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-eslint"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-pwa"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-typescript"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-unit-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-unit-jest"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-plugin-unit-mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-plugin-unit-mocha"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-service-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-service-global"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-service"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-shared-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-shared-utils"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "test utilities for vue-cli packages",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-test-utils"
},
"keywords": [
"vue",
Expand Down
5 changes: 5 additions & 0 deletions packages/@vue/cli-ui-addon-webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@vue/cli-ui-addon-webpack",
"version": "3.4.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-ui-addon-webpack"
},
"files": [
"dist",
"src"
Expand Down
5 changes: 5 additions & 0 deletions packages/@vue/cli-ui-addon-widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@vue/cli-ui-addon-widgets",
"version": "3.4.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-ui-addon-widgets"
},
"files": [
"dist",
"src"
Expand Down
5 changes: 5 additions & 0 deletions packages/@vue/cli-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@vue/cli-ui",
"version": "3.4.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-ui"
},
"scripts": {
"serve": "cross-env VUE_APP_CLI_UI_URL=ws://localhost:4030/graphql VUE_APP_GRAPHQL_PORT=4030 vue-cli-service serve",
"build": "vue-cli-service build",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli-upgrade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli-upgrade"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/cli"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/eslint-config-airbnb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/eslint-config-airbnb"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/eslint-config-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/eslint-config-prettier"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/eslint-config-standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/eslint-config-standard"
},
"keywords": [
"vue",
Expand Down
3 changes: 2 additions & 1 deletion packages/@vue/eslint-config-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"
"url": "git+https://github.com/vuejs/vue-cli.git",
"directory": "packages/@vue/eslint-config-typescript"
},
"keywords": [
"vue",
Expand Down

0 comments on commit 87f9a29

Please sign in to comment.