7 Commits

Author SHA1 Message Date
Alan Agius
2552093278 build: re-enable latest version checks during release
This commit restores the latest version checks, which are now fixed by using the stamped versions.
2025-01-30 17:52:13 +01:00
Alan Agius
98c8fb5907 build: disable checkSchematicsAngularLatestVersion pre-release check
This is current checking `packages/schematics/angular/utility/latest-versions/package.json` but recently we change how the version is set https://github.com/angular/angular-cli/pull/29368
2025-01-29 17:19:31 +01:00
Ash Ramirez
434a3740f0 refactor(@angular/cli): update aio links -> adev links
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
2024-06-06 11:12:06 +02:00
Alan Agius
7682a7145f build: address pre-release validation failure
Previously, the release process encountered an error due to ts-node's inability to transform `packages/schematics/angular/utility/latest-versions.ts`, resulting in the following error:

```
export const latestVersions: Record<string, string> & {
^^^^^^

SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1274:20)
    at Module._compile (node:internal/modules/cjs/loader:1320:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:202:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
    at async checkSchematicsAngularLatestVersion (file:///usr/..../git/angular-cli/scripts/release-checks/dependency-ranges/latest-versions-check.mts:9:46)
```

To resolve this issue, we now utilize the `package.json` directly to retrieve dependency versions.
2024-03-26 16:38:42 +01:00
Alan Agius
bb08763b01 build: update ng-dev config to work with Node.js 18.19
Update ng-dev setup to work with 18.19 For more details, refer to: https://github.com/TypeStrong/ts-node/issues/2094
2024-03-12 16:51:03 +01:00
Alan Agius
5e4b532be1 build: update peer deps check to support stable versions when cutting a major prerelease
Prior, to this change when a new major prerelease the check did not allow `^17.0.0 || ^17.0.0-next.0`.
2023-08-30 20:02:48 +02:00
Paul Gschwendtner
5b4188f047 build: add pre-release checks for dependency on framework
Adds an automatic check that runs before cutting releases. This
will help avoiding issues where we forget to update peer dependencies
or the `latest-versions.ts` file.
2023-02-24 19:12:50 +00:00