Skip to content

Commit

Permalink
Use repository.directory field in package.json files (#11625)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Stepien <567105+nstepien@users.noreply.github.com>
Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
3 people committed May 27, 2020
1 parent 58df778 commit 242d9e0
Show file tree
Hide file tree
Showing 147 changed files with 728 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/plugin-codemod-object-assign-to-object-spread",
"version": "7.7.4",
"description": "Transforms Object.assign into object spread syntax",
"repository": "https://github.com/babel/babel/tree/master/codemods/babel-plugin-codemod-object-assign-to-object-spread",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "codemods/babel-plugin-codemod-object-assign-to-object-spread"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/plugin-codemod-optional-catch-binding",
"version": "7.7.4",
"description": "Remove unused catch bindings",
"repository": "https://github.com/babel/babel/tree/master/codemods/babel-plugin-codemod-remove-unused-catch-binding",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "codemods/babel-plugin-codemod-remove-unused-catch-binding"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion eslint/babel-eslint-config-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"homepage": "https://babeljs.io/",
"license": "MIT",
"private": true,
"repository": "https://github.com/babel/babel/tree/master/eslint/babel-eslint-config-internal",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "eslint/babel-eslint-config-internal"
},
"main": "index.js",
"peerDependencies": {
"babel-eslint": "^10.0.0 || ^11.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/babel/babel.git",
"url": "https://github.com/babel/babel.git",
"directory": "eslint/babel-eslint-plugin"
},
"keywords": [
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-cli",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-cli"
},
"keywords": [
"6to5",
"babel",
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-code-frame/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-code-frame",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-code-frame"
},
"main": "lib/index.js",
"dependencies": {
"@babel/highlight": "^7.8.3"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-compat-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"author": "The Babel Team (https://babeljs.io/team)",
"license": "MIT",
"description": "",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-compat-data",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-compat-data"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-core",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-core"
},
"keywords": [
"6to5",
"babel",
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-generator",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-generator"
},
"main": "lib/index.js",
"files": [
"lib"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-annotate-as-pure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-annotate-as-pure",
"version": "7.8.3",
"description": "Helper function to annotate paths and nodes with #__PURE__ comment",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-annotate-as-pure",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-annotate-as-pure"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-bindify-decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-bindify-decorators",
"version": "7.8.3",
"description": "Helper function to bindify decorators",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-bindify-decorators",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-bindify-decorators"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-builder-binary-assignment-operator-visitor",
"version": "7.8.3",
"description": "Helper function to build binary assignment operator visitors",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-binary-assignment-operator-visitor",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-builder-binary-assignment-operator-visitor"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-builder-react-jsx-experimental",
"version": "7.9.5",
"description": "Helper function to build react jsx",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-react-jsx-experimental",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-builder-react-jsx-experimental"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-builder-react-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-builder-react-jsx",
"version": "7.9.0",
"description": "Helper function to build react jsx",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-react-jsx",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-builder-react-jsx"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-call-delegate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-call-delegate",
"version": "7.8.7",
"description": "Helper function to call delegate",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-call-delegate",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-call-delegate"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-compilation-targets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"author": "The Babel Team (https://babeljs.io/team)",
"license": "MIT",
"description": "Engine compat data used in @babel/preset-env",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-compilation-targets",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-compilation-targets"
},
"main": "lib/index.js",
"exports": {
".": "./lib/index.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"author": "The Babel Team (https://babeljs.io/team)",
"license": "MIT",
"description": "Compile class public and private fields, private methods and decorators to ES6",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-create-class-features-plugin",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-create-class-features-plugin"
},
"main": "lib/index.js",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Compile ESNext Regular Expressions to ES5",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-create-regexp-features-plugin"
},
"main": "lib/index.js",
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-define-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-define-map",
"version": "7.8.3",
"description": "Helper function to define a map",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-define-map",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-define-map"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-explode-assignable-expression",
"version": "7.8.3",
"description": "Helper function to explode an assignable expression",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-explode-assignable-expression",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-explode-assignable-expression"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-explode-class/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-explode-class",
"version": "7.8.3",
"description": "Helper function to explode class",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-explode-class",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-explode-class"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-fixtures",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-fixtures"
},
"main": "lib/index.js",
"dependencies": {
"lodash": "^4.17.13",
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-function-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-function-name",
"version": "7.9.5",
"description": "Helper function to change the property 'name' of every function",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-function-name"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-get-function-arity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-get-function-arity",
"version": "7.8.3",
"description": "Helper function to get function arity",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-get-function-arity"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-hoist-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-hoist-variables",
"version": "7.8.3",
"description": "Helper function to hoist variables",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-hoist-variables"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-member-expression-to-functions",
"version": "7.10.0",
"description": "Helper function to replace certain member expressions with function calls",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-member-expression-to-functions",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-member-expression-to-functions"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-module-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-imports",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-module-imports"
},
"main": "lib/index.js",
"dependencies": {
"@babel/types": "^7.8.3"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-module-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-module-transforms",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-module-transforms"
},
"main": "lib/index.js",
"dependencies": {
"@babel/helper-module-imports": "^7.8.3",
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-optimise-call-expression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-optimise-call-expression",
"version": "7.10.0",
"description": "Helper function to optimise call expression",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-optimise-call-expression",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-optimise-call-expression"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-plugin-test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@babel/helper-plugin-test-runner",
"version": "7.8.3",
"description": "Helper function to support test runner",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-plugin-test-runner",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-plugin-test-runner"
},
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 5 additions & 1 deletion packages/babel-helper-plugin-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-plugin-utils",
"repository": {
"type" : "git",
"url" : "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-plugin-utils"
},
"main": "lib/index.js"
}
Loading

0 comments on commit 242d9e0

Please sign in to comment.