mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When building AIO using `yarn build` the `--config=release` is added. This was done as part of the Bazel migration to make sure the footer shows a Git revision via Bazel stamping. This does not provide enough benefits, compared to the downside of reduced caching. Bazel will discard the analysis cache when the stamp configuration changes. This may happen easily when you work in framework where `--config=release` is not used. Then when starting work in AIO: the config changes and the cache is discarded. This may even mean that existing framework package build artifacts may be discarded when an AIO local build is started. Co-authored-by: Joey Perrott <josephperrott@gmail.com> PR Close #48329
172 lines
7.1 KiB
JSON
172 lines
7.1 KiB
JSON
{
|
|
"name": "angular.io",
|
|
"version": "0.0.0",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:angular/angular.git",
|
|
"author": "Angular",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"postinstall": "node tools/cli-patches/patch.js",
|
|
"prebuild": "yarn setup",
|
|
"build": "bazel build //aio:build",
|
|
"build-prod": "yarn build --config=release",
|
|
"build-local": "yarn build --config=aio_local_deps",
|
|
"lint": "yarn check-env && yarn docs-lint && ng lint && yarn example-lint && yarn tools-lint && yarn security-lint",
|
|
"test": "bazel test //aio:test --test_output=streamed",
|
|
"test-and-watch": "ibazel test //aio:test-and-watch --test_output=streamed",
|
|
"test-local": "yarn test --config=aio_local_deps",
|
|
"test:ci": "bazel test //aio/...",
|
|
"test-local:ci": "yarn test:ci --config=aio_local_deps",
|
|
"e2e": "bazel test //aio:e2e",
|
|
"e2e-local": "yarn e2e --config=aio_local_deps",
|
|
"setup": "yarn --cwd .. install && yarn install --frozen-lockfile && yarn ~~check-env",
|
|
"set-opensearch-url": "node --eval \"const sh = require('shelljs'); sh.set('-e'); sh.sed('-i', /PLACEHOLDER_URL/g, process.argv[1], '../dist/bin/aio/build/assets/opensearch.xml');\"",
|
|
"presmoke-tests": "yarn update-webdriver",
|
|
"smoke-tests": "protractor tests/deployment/e2e/protractor.conf.js --suite smoke --baseUrl",
|
|
"test-a11y-score": "bazel run //aio/scripts:test-aio-a11y",
|
|
"test-a11y-score-localhost": "bazel test //aio:test-a11y-score-localhost",
|
|
"test-pwa-score": "sh -c 'bazel run //aio/scripts:audit-web-app ${0} all:0,pwa:${1}'",
|
|
"test-pwa-score-localhost": "bazel test //aio:test-pwa-score-localhost",
|
|
"example-e2e": "node --experimental-import-meta-resolve tools/examples/run-filtered-example-e2es.mjs",
|
|
"example-list-overrides": "bazel run //aio/tools/examples:example-boilerplate list-overrides",
|
|
"example-lint": "eslint content/examples",
|
|
"example-playground": "node ./tools/examples/create-example-playground-wrapper.mjs",
|
|
"deploy-production": "node ./scripts/deploy-to-firebase/index.mjs",
|
|
"check-env": "yarn ~~check-env",
|
|
"payload-size": "scripts/payload.sh",
|
|
"predocs": "node scripts/contributors/validate-data && bazel build -- //aio:stackblitz //aio:example-zips",
|
|
"docs-watch": "bazel run //aio:docs-watch --config=release",
|
|
"docs": "bazel build //aio:dgeni --config=release",
|
|
"docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms",
|
|
"docs-test": "bazel test //aio/tools/transforms/...",
|
|
"redirects-test": "bazel test //aio/tests/deployment/unit:test",
|
|
"firebase-utils-test": "bazel test //aio/tools/firebase-test-utils:test",
|
|
"tools-lint": "eslint --ext=.mjs scripts/deploy-to-firebase && eslint tools/firebase-test-utils",
|
|
"tools-test": "bazel test -- //aio/tools/... //aio/scripts/deploy-to-firebase:test",
|
|
"start": "ibazel run //aio:serve --config=release",
|
|
"start-local": "yarn start --config=aio_local_deps",
|
|
"boilerplate:test": "bazel test //aio/tools/examples:example-boilerplate-test",
|
|
"create-example": "bazel run //aio/tools/examples:create-example",
|
|
"update-webdriver": "node ../scripts/webdriver-manager-update.js",
|
|
"security-lint": "tsec -p tsconfig.app.json",
|
|
"~~audit-web-app": "node scripts/audit-web-app.mjs",
|
|
"~~check-env": "node scripts/check-environment",
|
|
"~~light-server": "light-server --bind=localhost --historyindex=/index.html --no-reload",
|
|
"local-workspace-status": "node scripts/local-workspace-status.mjs"
|
|
},
|
|
"//engines-comment": "If applicable, also update /package.json and /aio/tools/examples/shared/package.json",
|
|
"engines": {
|
|
"node": ">=14.17.1",
|
|
"yarn": ">=1.22.4 <2",
|
|
"npm": "Please use yarn instead of NPM to install dependencies"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "15.0.1",
|
|
"@angular/cdk": "15.0.0",
|
|
"@angular/common": "15.0.1",
|
|
"@angular/compiler": "15.0.1",
|
|
"@angular/core": "15.0.1",
|
|
"@angular/elements": "15.0.1",
|
|
"@angular/forms": "15.0.1",
|
|
"@angular/material": "15.0.0",
|
|
"@angular/platform-browser": "15.0.1",
|
|
"@angular/platform-browser-dynamic": "15.0.1",
|
|
"@angular/router": "15.0.1",
|
|
"@angular/service-worker": "15.0.1",
|
|
"rxjs": "~7.5.0",
|
|
"safevalues": "^0.4.2",
|
|
"tslib": "^2.3.0",
|
|
"zone.js": "~0.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/architect-cli": "0.1500.1",
|
|
"@angular-devkit/build-angular": "15.0.1",
|
|
"@angular-eslint/builder": "^15.0.0",
|
|
"@angular-eslint/eslint-plugin": "^15.0.0",
|
|
"@angular-eslint/eslint-plugin-template": "^15.0.0",
|
|
"@angular-eslint/template-parser": "^15.0.0",
|
|
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#90004d8813b2da5264a8e9b0e2b3a0d88f44a4ad",
|
|
"@angular/cli": "15.0.1",
|
|
"@angular/compiler-cli": "15.0.1",
|
|
"@bazel/bazelisk": "^1.7.5",
|
|
"@bazel/buildozer": "^5.1.0",
|
|
"@bazel/ibazel": "^0.16.2",
|
|
"@bazel/jasmine": "^5.4.1",
|
|
"@bazel/runfiles": "5.7.1",
|
|
"@bazel/typescript": "5.7.1",
|
|
"@types/jasmine": "~4.3.0",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/node": "^12.7.9",
|
|
"@types/trusted-types": "^2.0.2",
|
|
"@types/xregexp": "^4.3.0",
|
|
"@typescript-eslint/eslint-plugin": "5.44.0",
|
|
"@typescript-eslint/parser": "5.44.0",
|
|
"archiver": "^5.3.0",
|
|
"assert": "^2.0.0",
|
|
"canonical-path": "1.0.0",
|
|
"chalk": "^4.1.0",
|
|
"cjson": "^0.5.0",
|
|
"cross-spawn": "^7.0.3",
|
|
"css-selector-parser": "^1.4.1",
|
|
"dgeni": "^0.4.14",
|
|
"dgeni-packages": "^0.30.0",
|
|
"entities": "^4.0.0",
|
|
"eslint": "^8.0.0",
|
|
"eslint-plugin-import": "^2.23.4",
|
|
"eslint-plugin-jasmine": "^4.1.2",
|
|
"eslint-plugin-jsdoc": "^39.0.0",
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
"find-free-port": "^2.0.0",
|
|
"firebase-tools": "^11.0.0",
|
|
"fs-extra": "^10.0.0",
|
|
"get-port": "^6.1.2",
|
|
"globby": "^13.0.0",
|
|
"hast-util-has-property": "^1.0.4",
|
|
"hast-util-is-element": "^1.1.0",
|
|
"hast-util-to-string": "^1.0.4",
|
|
"html": "^1.0.0",
|
|
"ignore": "^5.1.8",
|
|
"image-size": "^1.0.0",
|
|
"jasmine": "~4.5.0",
|
|
"jasmine-core": "~4.5.0",
|
|
"jasmine-spec-reporter": "~7.0.0",
|
|
"jsdom": "^20.0.0",
|
|
"json-schema-traverse": "^1.0.0",
|
|
"json5": "^2.2.0",
|
|
"karma": "~6.4.0",
|
|
"karma-chrome-launcher": "~3.1.0",
|
|
"karma-coverage": "~2.2.0",
|
|
"karma-jasmine": "~5.1.0",
|
|
"karma-jasmine-html-reporter": "~2.0.0",
|
|
"light-server": "^2.9.1",
|
|
"lighthouse": "^9.0.0",
|
|
"lighthouse-logger": "^1.3.0",
|
|
"lodash": "^4.17.21",
|
|
"lunr": "^2.3.9",
|
|
"npm-run-all": "^4.1.5",
|
|
"protractor": "~7.0.0",
|
|
"puppeteer-core": "10.2.0",
|
|
"rehype-slug": "^4.0.1",
|
|
"remark": "^12.0.0",
|
|
"remark-html": "^13.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.5",
|
|
"shelljs": "^0.8.5",
|
|
"source-map-support": "0.5.21",
|
|
"stemmer": "^2.0.0",
|
|
"tree-kill": "^1.1.0",
|
|
"ts-node": "^10.8.1",
|
|
"tsec": "^0.2.2",
|
|
"tslint": "~6.1.3",
|
|
"typescript": "~4.8.0",
|
|
"uglify-js": "^3.13.3",
|
|
"unist-util-filter": "^2.0.3",
|
|
"unist-util-source": "^3.0.0",
|
|
"unist-util-visit": "^2.0.3",
|
|
"unist-util-visit-parents": "^3.1.1",
|
|
"watchr": "^3.0.1",
|
|
"xregexp": "^5.0.2",
|
|
"yargs": "^17.0.0"
|
|
}
|
|
}
|