test(zone.js): test zone.js packge with tgz#38649
Conversation
5af75f5 to
ecf7a0d
Compare
gkalpak
left a comment
There was a problem hiding this comment.
Nit: The commit message should be of type build or test. Otherwise lgtm.
While I don't mind the changes, I wonder whether we are testing the implementation of npm_package vs npm_package.pack. Is it expected that npm_package would yield different results than npm_package.pack? Or is it a bug in npm_package?
ecf7a0d to
ac3300d
Compare
ac3300d to
5f9e20b
Compare
|
@gkalpak, could you check this PR again? Thanks. |
5f9e20b to
7a270d2
Compare
|
@gkalpak , Sorry, it happened again, I pushed the wrong commit. Please take a look again, and I added the logic to remove |
7a270d2 to
73d4969
Compare
gkalpak
left a comment
There was a problem hiding this comment.
No worries, @JiaLiPassion. Thx for making the changes 👍
gkalpak
left a comment
There was a problem hiding this comment.
Generally lgtm, but I am a little concernd about the potential Windows incompatibility. (We need to investigate that before merging.)
BTW, there's a typo in the commit message header:
-test(zone.js): test zone.js packge with tgz
+test(zone.js): test zone.js package with tgzThere was a problem hiding this comment.
This command fails for me on Windows. I don't know yet whether it is just me or an npm_package.pack issue with Windows, but I don't want to change this script in a way that breaks Windows users.
(NOTE: This script is also used when you want to test angular.io against the locally built Angular packages.)
I have started a discussion here (sorry, not public).
There was a problem hiding this comment.
Yeah, I tested it too, it throw a error like this.
java.io.IOException: ERROR: src/main/native/windows/processes-jni.cc(356): NativeProcess:WriteStdin(1153200)
d6c8b43 to
b329a8d
Compare
IgorMinar
left a comment
There was a problem hiding this comment.
this change looks good to me, if we can resolve the Windows incompatibility.
|
FYI, replacing "merge" label with "cleanup" one since there is a conflict with master branch. Feel free to put the "merge" label back once this PR is rebased. Thank you. |
b329a8d to
8cb9159
Compare
|
@AndrewKushnir , got it, thanks! @gkalpak, I tried again, to run |
|
It is still failing for me 😕 |
Zone.js 0.11.0 release an empty bundle, and now the npm_package tests all target bazel rule `npm_package`, but not `npm_package.pack`, and these two rules may generate different results, for example, Zone.js 0.11.0's issue is `package.json` define files array which make the bundle only include the files in the files array. So this PR install the zone.js package from the archive generated from `npm_package.pack` rule.
8cb9159 to
4b05568
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |


Zone.js 0.11.0 release an empty bundle, and now the npm_package tests all target
bazel rule
npm_package, but notnpm_package.pack, and these two rules maygenerate different results, for example, Zone.js 0.11.0's issue is
package.jsondefine files array which make the bundle only include the files in the files array.
So this PR install the zone.js package from the archive generated from
npm_package.packrule.