Skip to content

Commit

Permalink
Use workspace:^ to specify @babel/ dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 24, 2021
1 parent f2b3134 commit 34f2e32
Show file tree
Hide file tree
Showing 133 changed files with 314 additions and 314 deletions.
22 changes: 11 additions & 11 deletions eslint/babel-eslint-shared-fixtures/package.json
Expand Up @@ -4,17 +4,17 @@
"description": "Shared fixtures for testing @babel/eslint-* packages",
"private": true,
"dependencies": {
"@babel/core": "workspace:^7.14.5",
"@babel/eslint-parser": "workspace:^7.14.5",
"@babel/plugin-proposal-class-properties": "workspace:^7.14.5",
"@babel/plugin-proposal-decorators": "workspace:^7.14.5",
"@babel/plugin-proposal-do-expressions": "workspace:^7.14.5",
"@babel/plugin-proposal-pipeline-operator": "workspace:^7.14.5",
"@babel/plugin-proposal-private-methods": "workspace:^7.14.5",
"@babel/plugin-syntax-export-default-from": "workspace:^7.14.5",
"@babel/preset-env": "workspace:^7.14.5",
"@babel/preset-flow": "workspace:^7.14.5",
"@babel/preset-react": "workspace:^7.14.5",
"@babel/core": "workspace:^",
"@babel/eslint-parser": "workspace:^",
"@babel/plugin-proposal-class-properties": "workspace:^",
"@babel/plugin-proposal-decorators": "workspace:^",
"@babel/plugin-proposal-do-expressions": "workspace:^",
"@babel/plugin-proposal-pipeline-operator": "workspace:^",
"@babel/plugin-proposal-private-methods": "workspace:^",
"@babel/plugin-syntax-export-default-from": "workspace:^",
"@babel/preset-env": "workspace:^",
"@babel/preset-flow": "workspace:^",
"@babel/preset-react": "workspace:^",
"eslint": "^7.27.0"
}
}
6 changes: 3 additions & 3 deletions eslint/babel-eslint-tests/package.json
Expand Up @@ -4,9 +4,9 @@
"description": "Tests for babel/eslint-* packages",
"private": true,
"dependencies": {
"@babel/core": "workspace:^7.14.5",
"@babel/eslint-parser": "workspace:^7.14.5",
"@babel/preset-react": "workspace:^7.14.5",
"@babel/core": "workspace:^",
"@babel/eslint-parser": "workspace:^",
"@babel/preset-react": "workspace:^",
"dedent": "^0.7.0",
"eslint": "^7.27.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-code-frame/package.json
Expand Up @@ -16,7 +16,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/highlight": "workspace:^7.14.5"
"@babel/highlight": "workspace:^"
},
"devDependencies": {
"@types/chalk": "^2.0.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/babel-core/package.json
Expand Up @@ -48,15 +48,15 @@
"./src/transformation/util/clone-deep.ts": "./src/transformation/util/clone-deep-browser.ts"
},
"dependencies": {
"@babel/code-frame": "workspace:^7.15.8",
"@babel/generator": "workspace:^7.15.8",
"@babel/helper-compilation-targets": "workspace:^7.15.4",
"@babel/code-frame": "workspace:^",
"@babel/generator": "workspace:^",
"@babel/helper-compilation-targets": "workspace:^",
"@babel/helper-module-transforms": "condition:BABEL_8_BREAKING ? : workspace:^7.15.8",
"@babel/helpers": "workspace:^7.15.4",
"@babel/parser": "workspace:^7.15.8",
"@babel/template": "workspace:^7.15.4",
"@babel/traverse": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.6",
"@babel/helpers": "workspace:^",
"@babel/parser": "workspace:^",
"@babel/template": "workspace:^",
"@babel/traverse": "workspace:^",
"@babel/types": "workspace:^",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-generator/package.json
Expand Up @@ -19,7 +19,7 @@
"lib"
],
"dependencies": {
"@babel/types": "workspace:^7.15.6",
"@babel/types": "workspace:^",
"jsesc": "condition: BABEL_8_BREAKING ? ^3.0.2 : ^2.5.1",
"source-map": "^0.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-annotate-as-pure/package.json
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
Expand Up @@ -14,8 +14,8 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-explode-assignable-expression": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-explode-assignable-expression": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-helper-builder-react-jsx/package.json
Expand Up @@ -14,8 +14,8 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-annotate-as-pure": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-annotate-as-pure": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-helper-compilation-targets/package.json
Expand Up @@ -21,8 +21,8 @@
"babel-plugin"
],
"dependencies": {
"@babel/compat-data": "workspace:^7.15.0",
"@babel/helper-validator-option": "workspace:^7.14.5",
"@babel/compat-data": "workspace:^",
"@babel/helper-validator-option": "workspace:^",
"browserslist": "^4.16.6",
"semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/babel-helper-create-class-features-plugin/package.json
Expand Up @@ -18,12 +18,12 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-annotate-as-pure": "workspace:^7.15.4",
"@babel/helper-function-name": "workspace:^7.15.4",
"@babel/helper-member-expression-to-functions": "workspace:^7.15.4",
"@babel/helper-optimise-call-expression": "workspace:^7.15.4",
"@babel/helper-replace-supers": "workspace:^7.15.4",
"@babel/helper-split-export-declaration": "workspace:^7.15.4"
"@babel/helper-annotate-as-pure": "workspace:^",
"@babel/helper-function-name": "workspace:^",
"@babel/helper-member-expression-to-functions": "workspace:^",
"@babel/helper-optimise-call-expression": "workspace:^",
"@babel/helper-replace-supers": "workspace:^",
"@babel/helper-split-export-declaration": "workspace:^"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
Expand Down
Expand Up @@ -18,7 +18,7 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-annotate-as-pure": "workspace:^7.14.5",
"@babel/helper-annotate-as-pure": "workspace:^",
"regexpu-core": "^4.7.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-helper-define-map/package.json
Expand Up @@ -14,8 +14,8 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-function-name": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-function-name": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/traverse": "workspace:*"
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-helper-function-name/package.json
Expand Up @@ -14,9 +14,9 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-get-function-arity": "workspace:^7.15.4",
"@babel/template": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-get-function-arity": "workspace:^",
"@babel/template": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-get-function-arity/package.json
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-hoist-variables/package.json
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.",
"devDependencies": {
Expand Down
Expand Up @@ -15,7 +15,7 @@
"main": "./lib/index.js",
"author": "The Babel Team (https://babel.dev/team)",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/traverse": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-module-imports/package.json
Expand Up @@ -15,7 +15,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/core": "workspace:*",
Expand Down
16 changes: 8 additions & 8 deletions packages/babel-helper-module-transforms/package.json
Expand Up @@ -15,14 +15,14 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-module-imports": "workspace:^7.15.4",
"@babel/helper-replace-supers": "workspace:^7.15.4",
"@babel/helper-simple-access": "workspace:^7.15.4",
"@babel/helper-split-export-declaration": "workspace:^7.15.4",
"@babel/helper-validator-identifier": "workspace:^7.15.7",
"@babel/template": "workspace:^7.15.4",
"@babel/traverse": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.6"
"@babel/helper-module-imports": "workspace:^",
"@babel/helper-replace-supers": "workspace:^",
"@babel/helper-simple-access": "workspace:^",
"@babel/helper-split-export-declaration": "workspace:^",
"@babel/helper-validator-identifier": "workspace:^",
"@babel/template": "workspace:^",
"@babel/traverse": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/generator": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-plugin-test-runner/package.json
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-transform-fixture-test-runner": "workspace:^7.14.5"
"@babel/helper-transform-fixture-test-runner": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-helper-remap-async-to-generator/package.json
Expand Up @@ -14,9 +14,9 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-annotate-as-pure": "workspace:^7.15.4",
"@babel/helper-wrap-function": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-annotate-as-pure": "workspace:^",
"@babel/helper-wrap-function": "workspace:^",
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/traverse": "workspace:*"
Expand Down
8 changes: 4 additions & 4 deletions packages/babel-helper-replace-supers/package.json
Expand Up @@ -14,10 +14,10 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-member-expression-to-functions": "workspace:^7.15.4",
"@babel/helper-optimise-call-expression": "workspace:^7.15.4",
"@babel/traverse": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-member-expression-to-functions": "workspace:^",
"@babel/helper-optimise-call-expression": "workspace:^",
"@babel/traverse": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-simple-access/package.json
Expand Up @@ -15,7 +15,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/traverse": "workspace:*"
Expand Down
Expand Up @@ -17,7 +17,7 @@
"./package.json": "./package.json"
},
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/traverse": "workspace:*"
Expand Down
Expand Up @@ -14,7 +14,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/types": "workspace:^7.15.4"
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
Expand Up @@ -15,9 +15,9 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/code-frame": "workspace:^7.14.5",
"@babel/core": "workspace:^7.15.5",
"@babel/helper-fixtures": "workspace:^7.14.5",
"@babel/code-frame": "workspace:^",
"@babel/core": "workspace:^",
"@babel/helper-fixtures": "workspace:^",
"babel-check-duplicated-nodes": "^1.0.0",
"quick-lru": "5.1.0",
"regenerator-runtime": "^0.13.7",
Expand Down
8 changes: 4 additions & 4 deletions packages/babel-helper-wrap-function/package.json
Expand Up @@ -14,10 +14,10 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-function-name": "workspace:^7.15.4",
"@babel/template": "workspace:^7.15.4",
"@babel/traverse": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/helper-function-name": "workspace:^",
"@babel/template": "workspace:^",
"@babel/traverse": "workspace:^",
"@babel/types": "workspace:^"
},
"engines": {
"node": ">=6.9.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-helpers/package.json
Expand Up @@ -15,9 +15,9 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/template": "workspace:^7.15.4",
"@babel/traverse": "workspace:^7.15.4",
"@babel/types": "workspace:^7.15.4"
"@babel/template": "workspace:^",
"@babel/traverse": "workspace:^",
"@babel/types": "workspace:^"
},
"devDependencies": {
"@babel/helper-plugin-test-runner": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-highlight/package.json
Expand Up @@ -15,7 +15,7 @@
},
"main": "./lib/index.js",
"dependencies": {
"@babel/helper-validator-identifier": "workspace:^7.14.5",
"@babel/helper-validator-identifier": "workspace:^",
"chalk": "^2.0.0",
"js-tokens": "condition:BABEL_8_BREAKING ? ^7.0.0 : ^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-node/package.json
Expand Up @@ -23,7 +23,7 @@
"compiler"
],
"dependencies": {
"@babel/register": "workspace:^7.15.3",
"@babel/register": "workspace:^",
"commander": "^4.0.1",
"core-js": "^3.16.0",
"node-environment-flags": "^1.0.5",
Expand Down
Expand Up @@ -23,7 +23,7 @@
"bugfix"
],
"dependencies": {
"@babel/helper-plugin-utils": "workspace:^7.14.5"
"@babel/helper-plugin-utils": "workspace:^"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
Expand Down
Expand Up @@ -23,9 +23,9 @@
"bugfix"
],
"dependencies": {
"@babel/helper-plugin-utils": "workspace:^7.14.5",
"@babel/helper-skip-transparent-expression-wrappers": "workspace:^7.15.4",
"@babel/plugin-proposal-optional-chaining": "workspace:^7.14.5"
"@babel/helper-plugin-utils": "workspace:^",
"@babel/helper-skip-transparent-expression-wrappers": "workspace:^",
"@babel/plugin-proposal-optional-chaining": "workspace:^"
},
"peerDependencies": {
"@babel/core": "^7.13.0"
Expand Down

0 comments on commit 34f2e32

Please sign in to comment.