build(dev-infra): update package.json and :npm_package (#36434)
* Set up dev-infra's :npm_package to also contain benchmarking suite * Add benchmarking deps to dev-infra's package.json * Add a bazel workspace to dev-infra's package.json. This is so that when a project wants to use dev-infra's code and macros, they can just import the macros from their node_modules instead of loading it separately PR Close #36434
This commit is contained in:
committed by
Andrew Kushnir
parent
b7f2a033df
commit
d6f6cd0cb1
@@ -8,14 +8,42 @@
|
||||
"ng-dev": "./cli.js",
|
||||
"ts-circular-deps": "./ts-circular-dependencies/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"fs-extra": "<from-root>",
|
||||
"node-uuid": "<from-root>"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/bazel": "^9.0.0",
|
||||
"@angular/core": "^9.0.0",
|
||||
"@angular/platform-browser": "^9.0.0",
|
||||
"@angular/benchpress": "^0.1.0",
|
||||
"@angular-devkit/build-optimizer": "<from-root>",
|
||||
"@bazel/protractor": "<from-root>",
|
||||
"@bazel/terser": "<from-root>",
|
||||
"@bazel/typescript": "<from-root>",
|
||||
"brotli": "<from-root>",
|
||||
"chalk": "<from-root>",
|
||||
"glob": "<from-root>",
|
||||
"json5": "<from-root>",
|
||||
"minimatch": "<from-root>",
|
||||
"node-uuid": "<from-root>",
|
||||
"protractor": "<from-root>",
|
||||
"rollup": "<from-root>",
|
||||
"rollup-plugin-commonjs": "<from-root>",
|
||||
"rollup-plugin-node-resolve": "<from-root>",
|
||||
"rollup-plugin-sourcemaps": "<from-root>",
|
||||
"selenium-webdriver": "<from-root>",
|
||||
"shelljs": "<from-root>",
|
||||
"typescript": "<from-root>",
|
||||
"yaml": "<from-root>",
|
||||
"yargs": "<from-root>",
|
||||
"tslib": "<from-root>"
|
||||
"tslib": "<from-root>",
|
||||
"zone.js": "^0.10.3"
|
||||
},
|
||||
"bazelWorkspaces": {
|
||||
"npm_dev_infra": {
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"rootPath": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user