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 url: https://registry.npmjs.org/@angular/cli/-/cli-{{version}}.tgz
strip-components: 1 strip-components: 1
versions: versions:
github: angular/angular npm: '@angular/cli'
dependencies: dependencies:
nodejs.org: ^20 nodejs.org: ^20
build: build:
dependencies: dependencies:
npmjs.com: ^10 npmjs.com: ^10
script: script:
- npm i $ARGS . - npm i $ARGS .
- run: ln -s ../libexec/bin/ng ng - run: ln -s ../libexec/bin/ng ng
working-directory: "{{prefix}}/bin" working-directory: '{{prefix}}/bin'
env: env:
ARGS: ARGS:
- -ddd - -ddd
@ -20,8 +23,10 @@ build:
- --prefix={{prefix}}/libexec - --prefix={{prefix}}/libexec
- --install-links - --install-links
- --unsafe-perm - --unsafe-perm
provides: provides:
- bin/ng - bin/ng
test: test:
script: script:
- ng new angular-test --skip-install --defaults - ng new angular-test --skip-install --defaults