* +nx.dev

* Simplify the test removing npm i and calling nx --version

* Search NX versions using npmjs API
This commit is contained in:
Diego Henrique Oliveira 2023-12-27 12:01:23 -03:00 committed by GitHub
parent 273997885f
commit 86f8cd9ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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