mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
c999094495
watch npm for versions so no race condition closes #4886
37 lines
689 B
YAML
37 lines
689 B
YAML
distributable:
|
|
url: https://registry.npmjs.org/@angular/cli/-/cli-{{version}}.tgz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
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'
|
|
env:
|
|
ARGS:
|
|
- -ddd
|
|
- --global
|
|
- --build-from-source
|
|
- --prefix={{prefix}}/libexec
|
|
- --install-links
|
|
- --unsafe-perm
|
|
|
|
provides:
|
|
- bin/ng
|
|
|
|
test:
|
|
script:
|
|
- ng new angular-test --skip-install --defaults
|
|
- ls -l angular-test | grep angular.json
|
|
- ng version | grep {{version}}
|
|
env:
|
|
NG_CLI_ANALYTICS: false
|