angular-docs-cn/scripts/build
George Kalpakas 5be0dfdf27 build: ensure script that build the Zone.js package can be run from any directory (#39455)
The scripts that build the Angular and Zone.js NPM packages rely on
absolute paths in order to work correctly regardless of what the current
working directory is when the scripts are invoked. However, the
`npm pack` command executed in the `zone-js-builder.js` script outputs
the generated `.tgz` archive in the current working directory. This
causes the script to fail when invoked for any working directory other
than the project root directory.

This commit fixes this by ensuring the `npm pack` command is run with
the project root directory as the working directory. This allows the
build scripts to run correctly regardless of the working directory they
are invoked from.

PR Close #39455
2020-10-27 13:35:37 -07:00
..
build-ivy-npm-packages.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
build-packages-dist.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dev-infra-builder.js style(dev-infra): enforce format on newly included files (#36940) 2020-06-12 15:06:41 -07:00
package-builder.js build: ensure script that build the Zone.js package can be run from any directory (#39455) 2020-10-27 13:35:37 -07:00
zone-js-builder.js build: ensure script that build the Zone.js package can be run from any directory (#39455) 2020-10-27 13:35:37 -07:00