mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
25 lines
938 B
TypeScript
25 lines
938 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;
|
|
} = {
|
|
// 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: '^16.1.0-next.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'],
|
|
};
|