Skip to content

Commit

Permalink
test(@angular/cli): use correct version of devkit packages for univer…
Browse files Browse the repository at this point in the history
…sal test
  • Loading branch information
alan-agius4 committed Oct 22, 2020
1 parent bc2efc9 commit a5bbcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/legacy-cli/e2e/tests/build/platform-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export default async function () {

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

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

await ng('add', '@nguniversal/express-engine');
Expand Down

0 comments on commit a5bbcd5

Please sign in to comment.