mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+snaplet.dev/cli (#3973)
* initial commit * fix a couple errors * remove platform restriction; update node versions; better test --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
5a1aae1a53
commit
82256158cc
1 changed files with 30 additions and 0 deletions
30
projects/snaplet.dev/cli/package.yml
Normal file
30
projects/snaplet.dev/cli/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
distributable:
|
||||
url: https://registry.npmjs.org/snaplet/-/snaplet-{{version}}.tgz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://www.npmjs.com/package/snaplet?activeTab=versions
|
||||
match: /v\/\d+\.\d+\.\d+/
|
||||
strip:
|
||||
- /^v\//
|
||||
|
||||
dependencies:
|
||||
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^19
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
npmjs.com: "*"
|
||||
script:
|
||||
- chmod +x bin/snaplet.js
|
||||
- npm install .
|
||||
--global
|
||||
--prefix="{{prefix}}"
|
||||
--install-links
|
||||
|
||||
provides:
|
||||
- bin/snaplet
|
||||
|
||||
test:
|
||||
script:
|
||||
- snaplet -v | grep {{version}}
|
||||
- snaplet config list
|
Loading…
Reference in a new issue