Skip to content

Commit 7930b50

Browse files
alan-agius4josephperrott
authored andcommitted
build: update ng-packagr to version 13.0.0-next.6
1 parent e112095 commit 7930b50

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
"mini-css-extract-plugin": "2.3.0",
179179
"minimatch": "3.0.4",
180180
"minimist": "^1.2.0",
181-
"ng-packagr": "13.0.0-next.5",
181+
"ng-packagr": "13.0.0-next.6",
182182
"node-fetch": "^2.2.0",
183183
"open": "8.2.1",
184184
"ora": "5.4.1",

packages/angular_devkit/build_angular/src/builders/ng-packagr/works_spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ describe('NgPackagr Builder', () => {
5656

5757
await run.stop();
5858

59-
expect(host.scopedSync().exists(normalize('./dist/lib/fesm2015/lib.js'))).toBe(true);
59+
expect(host.scopedSync().exists(normalize('./dist/lib/fesm2015/lib.mjs'))).toBe(true);
6060
const content = virtualFs.fileBufferToString(
61-
host.scopedSync().read(normalize('./dist/lib/fesm2015/lib.js')),
61+
host.scopedSync().read(normalize('./dist/lib/fesm2015/lib.mjs')),
6262
);
6363
expect(content).toContain('lib works');
6464

@@ -90,7 +90,7 @@ describe('NgPackagr Builder', () => {
9090
tap((buildEvent) => expect(buildEvent.success).toBe(true)),
9191
debounceTime(1000),
9292
map(() => {
93-
const fileName = './dist/lib/fesm2015/lib.js';
93+
const fileName = './dist/lib/fesm2015/lib.mjs';
9494
const content = virtualFs.fileBufferToString(host.scopedSync().read(normalize(fileName)));
9595

9696
return content;

yarn.lock

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114

115115
"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#d008ca5d1aeebd192c7dca25d6eb09b9e69140c6":
116116
version "0.0.0"
117-
uid d008ca5d1aeebd192c7dca25d6eb09b9e69140c6
118117
resolved "https://github.com/angular/dev-infra-private-builds.git#d008ca5d1aeebd192c7dca25d6eb09b9e69140c6"
119118
dependencies:
120119
"@actions/core" "^1.4.0"
@@ -1637,6 +1636,19 @@
16371636
magic-string "^0.25.7"
16381637
resolve "^1.17.0"
16391638

1639+
"@rollup/plugin-commonjs@^21.0.0":
1640+
version "21.0.0"
1641+
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.0.tgz#b9e4342855ea20b5528f4587b9a90f642196a502"
1642+
integrity sha512-XDQimjHl0kNotAV5lLo34XoygaI0teqiKGJ100B3iCU8+15YscJPeqk2KqkqD3NIe1H8ZTUo5lYjUFZyEgASTw==
1643+
dependencies:
1644+
"@rollup/pluginutils" "^3.1.0"
1645+
commondir "^1.0.1"
1646+
estree-walker "^2.0.1"
1647+
glob "^7.1.6"
1648+
is-reference "^1.2.1"
1649+
magic-string "^0.25.7"
1650+
resolve "^1.17.0"
1651+
16401652
"@rollup/plugin-json@^4.1.0":
16411653
version "4.1.0"
16421654
resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3"
@@ -7193,12 +7205,12 @@ next-tick@~1.0.0:
71937205
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
71947206
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
71957207

7196-
7197-
version "13.0.0-next.5"
7198-
resolved "https://registry.yarnpkg.com/ng-packagr/-/ng-packagr-13.0.0-next.5.tgz#1214b418c79b82eb52997a04fbef5328ab557478"
7199-
integrity sha512-7hZ20WWMc6McpmxomTl7TdlYxqVoRqxO3VTm6eG9K0ixgWZ6CHJM5wP2JYkoemMGwRl8VveTNN89rwn709Dhew==
7208+
7209+
version "13.0.0-next.6"
7210+
resolved "https://registry.yarnpkg.com/ng-packagr/-/ng-packagr-13.0.0-next.6.tgz#5e318fb38b63a6d7bced93fbbd87cdd5933d5234"
7211+
integrity sha512-wqxAloy5xV6sHKlOpZtSr0YniscZpi2gnqYN1iZQjpURqi6oosfi7fF3TyNzn/WGlMgYseXspzBypSqzbqnI8g==
72007212
dependencies:
7201-
"@rollup/plugin-commonjs" "^20.0.0"
7213+
"@rollup/plugin-commonjs" "^21.0.0"
72027214
"@rollup/plugin-json" "^4.1.0"
72037215
"@rollup/plugin-node-resolve" "^13.0.0"
72047216
ajv "^8.0.0"

0 commit comments

Comments
 (0)