angular-docs-cn/scripts
George Kalpakas 6724b9e755 build(zone.js): do not error when build `zone.js` on Windows (#40557)
In older versions of `bazelbuild/rules_nodejs`, the `npm_package.pack`
rule does not work on Windows. This has been fixed in
bazelbuild/rules_nodejs#2257, but the fix is not available before
[version 2.3.0][1].

Currently, we use version 2.2.0 (see [WORKSPACE][2]). In order to allow
the `zone-js-builder.js` script to work on Windows, this commit switches
to using `npm pack` directly, intead of relying on `npm_package.pack`.

For reference, the version of `bazelbuild/rules_nodejs` was updated to
2.3.2 in PR #39636, but this was later reverted due to CI flakes
(4e6d69cc85).

[1]: https://github.com/bazelbuild/rules_nodejs/releases/tag/2.3.0
[2]: fc64fa8e1a/WORKSPACE (L12)

PR Close #40557
2021-01-26 10:51:15 -08:00
..
browserstack style(dev-infra): enforce format on newly included files (#36940) 2020-06-12 15:06:41 -07:00
build build(zone.js): do not error when build `zone.js` on Windows (#40557) 2021-01-26 10:51:15 -08:00
ci style(dev-infra): enforce format on newly included files (#36940) 2020-06-12 15:06:41 -07:00
github style(dev-infra): enforce format on newly included files (#36940) 2020-06-12 15:06:41 -07:00
local-dev build: update setup-rbe.sh script to accept non google.com/angular.io (#36846) 2020-05-04 12:45:48 -07:00
release build: remove pre-check script from publish scripts as it no longer performs its check (#40422) 2021-01-13 14:42:59 -08:00
build-package-dist.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
compare-master-to-patch.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
puppeteer-chromedriver-versions.js build: use the latest versions of Chrome (v87) and Firefox (v84) in tests (#40150) 2020-12-21 14:15:31 -08:00
webdriver-manager-update.js build: fix instructions and process for updating Chrome version (#40150) 2020-12-21 14:15:30 -08:00