mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
+angular.dev (#4318)
* new file: projects/angular.dev/package.yml * let's try * --install-links
This commit is contained in:
parent
f5bfb5e5fc
commit
37b564d738
1 changed files with 31 additions and 0 deletions
31
projects/angular.dev/package.yml
Normal file
31
projects/angular.dev/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://registry.npmjs.org/@angular/cli/-/cli-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: angular/angular
|
||||||
|
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
|
Loading…
Reference in a new issue