pantry/projects/github.com/antfu/ni/package.yml
Jacob Heider 18c5559f1c
sigh
2023-11-09 16:29:54 -05:00

34 lines
539 B
YAML

distributable:
url: https://github.com/antfu/ni/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: antfu/ni
dependencies:
nodejs.org: '>=14'
npmjs.com: '*'
build:
script:
- npm install --include=dev
- npm run build
- npm install .
--global
--prefix={{prefix}}
--install-links
provides:
- bin/na
- bin/nci
- bin/ni
- bin/nlx
- bin/nr
- bin/nu
- bin/nun
test:
# or errors
- run: touch .nirc
if: '>=0.21.9'
- ni --version | grep {{version}}