angular-docs-cn/aio/tools/ng-packages-installer
George Kalpakas 4ae57cabd8 build: correctly publish `angular-in-memory-web-api` as CI build artifact (#41429)
Previously, the `angular-in-memory-web-api` package was built in
`dist/packages-dist/misc/angular-in-memory-web-api/`. This was different
from other Angular packages, which were placed directly in
`dist/packages-dist/`. This caused the `create-package-archives.sh`
script to create an invalid `misc.tgz` archive (i.e. treating the
`misc/` subdirectory as a package).
See, for example, the artifacts [here][1].

This commit changes the build scripts to have the
`angular-in-memory-web-api` package built in
`dist/angular-in-memory-web-api-dist/`, similar to how the `zone.js`
package is handled. It also updates the CircleCI config to correctly
publish the `angular-in-memory-web-api` package to CI build artifacts.

[1]: https://circleci.com/gh/angular/angular/951491

PR Close #41429
2021-04-06 10:22:54 -07:00
..
.eslintrc.js build(docs-infra): enable linting for `ng-packages-installer` scripts (#41429) 2021-04-06 10:22:53 -07:00
index.js build: correctly publish `angular-in-memory-web-api` as CI build artifact (#41429) 2021-04-06 10:22:54 -07:00
index.spec.js build: correctly publish `angular-in-memory-web-api` as CI build artifact (#41429) 2021-04-06 10:22:54 -07:00