forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
latest-versions.ts
24 lines (21 loc) · 931 Bytes
/
latest-versions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* @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;
} = {
// 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: '^14.2.0',
// Since @angular-devkit/build-angular and @schematics/angular are always
// published together from the same monorepo, and they are both
// non-experimental, they will always have the same version.
DevkitBuildAngular: '^' + require('../package.json')['version'],
};