mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+nx.dev (#4554)
* +nx.dev * Simplify the test removing npm i and calling nx --version * Search NX versions using npmjs API
This commit is contained in:
parent
273997885f
commit
86f8cd9ceb
1 changed files with 31 additions and 0 deletions
31
projects/nx.dev/package.yml
Normal file
31
projects/nx.dev/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://registry.npmjs.org/nx/-/nx-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: nx.dev
|
||||||
|
|
||||||
|
versions:
|
||||||
|
npm: nx
|
||||||
|
ignore: ["9999.0.1", "999.9.9"]
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/nx
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: ^18
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: ^10
|
||||||
|
script:
|
||||||
|
- npm i $ARGS .
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --global
|
||||||
|
- --install-links
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
nx --version
|
||||||
|
|
Loading…
Reference in a new issue