Skip to content

Commit 511ffd2

Browse files
committed
test(@angular-devkit/build-angular): update platform server devkit packages
`@nguniversal/express-engine` currently relies on `^0.1100.0-rc.2` of `@angular-devkit/architect` which is not present in the local package registry and not semver compatible with master build`^11.0.0-next.7`
1 parent d7ba0cf commit 511ffd2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/legacy-cli/e2e/tests/build/platform-server.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ const snapshots = require('../../ng-snapshot/package.json');
1010
export default async function () {
1111
const argv = getGlobalVariable('argv');
1212
const veEnabled = argv['ve'];
13+
const tag = (await isPrereleaseCli()) ? 'next' : 'latest';
1314

14-
// @nguniversal/express-engine currently relies on ^0.1000.0 of @angular-devkit/architect
15-
// which is not present in the local package registry and not semver compatible with 0.1001.0+
16-
const { stdout: stdout1 } = await silentNpm('pack', '@angular-devkit/architect@0.1001', '--registry=https://registry.npmjs.org');
15+
// @nguniversal/express-engine currently relies on ^0.1100.0-rc.2 of @angular-devkit/architect
16+
// which is not present in the local package registry and not semver compatible with ^11.0.0-next.7
17+
const { stdout: stdout1 } = await silentNpm('pack', '@angular-devkit/architect@0.1100.0-rc.2', '--registry=https://registry.npmjs.org');
1718
await silentNpm('publish', stdout1.trim(), '--registry=http://localhost:4873', '--tag=minor');
1819

19-
// @nguniversal/express-engine currently relies on ^10.0.0 of @angular-devkit/core
20-
// which is not present in the local package registry and not semver compatible prerelease version of 10.1.0
21-
const { stdout: stdout2 } = await silentNpm('pack', '@angular-devkit/core@10.1', '--registry=https://registry.npmjs.org');
20+
// @nguniversal/express-engine currently relies on ^11.0.0-rc.2 of @angular-devkit/core
21+
// which is not present in the local package registry and not semver compatible prerelease version of ^11.0.0-next.7
22+
const { stdout: stdout2 } = await silentNpm('pack', '@angular-devkit/core@11.0.0-rc.2', '--registry=https://registry.npmjs.org');
2223
await silentNpm('publish', stdout2.trim(), '--registry=http://localhost:4873', '--tag=minor');
2324

24-
const tag = (await isPrereleaseCli()) ? 'next' : 'latest';
2525
await ng('add', `@nguniversal/express-engine@${tag}`);
2626

2727
const isSnapshotBuild = getGlobalVariable('argv')['ng-snapshots'];

0 commit comments

Comments
 (0)