fix(angular)

watch npm for versions so no race condition

closes #4886
This commit is contained in:
Jacob Heider 2024-01-17 17:53:39 -05:00
parent af339abc23
commit c999094495
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -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