From c9990944953de9188bad1d9e2db085b942fff60a Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 17 Jan 2024 17:53:39 -0500 Subject: [PATCH] fix(angular) watch npm for versions so no race condition closes #4886 --- projects/angular.dev/package.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/projects/angular.dev/package.yml b/projects/angular.dev/package.yml index a469faf9..2bbb3e22 100644 --- a/projects/angular.dev/package.yml +++ b/projects/angular.dev/package.yml @@ -1,17 +1,20 @@ -distributable: +distributable: url: https://registry.npmjs.org/@angular/cli/-/cli-{{version}}.tgz strip-components: 1 + versions: - github: angular/angular + npm: '@angular/cli' + dependencies: nodejs.org: ^20 + build: dependencies: npmjs.com: ^10 script: - npm i $ARGS . - run: ln -s ../libexec/bin/ng ng - working-directory: "{{prefix}}/bin" + working-directory: '{{prefix}}/bin' env: ARGS: - -ddd @@ -20,8 +23,10 @@ build: - --prefix={{prefix}}/libexec - --install-links - --unsafe-perm + provides: - bin/ng + test: script: - ng new angular-test --skip-install --defaults