Alan Agius 62aa7393c8 test: ensure to use the correct version for @angular/ssr packages
This commit fixes an issue that causes update tests to fail when we are in feature freeze
2023-10-12 15:54:24 +02:00

24 lines
768 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export const latestVersions: Record<string, string> & {
Angular: string;
DevkitBuildAngular: string;
AngularSSR: string;
} = {
// We could have used TypeScripts' `resolveJsonModule` to make the `latestVersion` object typesafe,
// but ts_library doesn't support JSON inputs.
...require('./latest-versions/package.json')['dependencies'],
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
Angular: '^17.0.0-next.0',
DevkitBuildAngular: '^0.0.0-PLACEHOLDER',
AngularSSR: '^0.0.0-PLACEHOLDER',
};