mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+bitwarden.com (#5113)
* new file: projects/bitwarden.com/package.yml * npm: '@bitwarden/cli'
This commit is contained in:
parent
4ec877cac6
commit
ccf858e757
1 changed files with 35 additions and 0 deletions
35
projects/bitwarden.com/package.yml
Normal file
35
projects/bitwarden.com/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
distributable:
|
||||
url: https://registry.npmjs.org/@bitwarden/cli/-/cli-{{version}}.tgz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
npm: '@bitwarden/cli'
|
||||
|
||||
dependencies:
|
||||
nodejs.org: ^20
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
npmjs.com: '*'
|
||||
script:
|
||||
- npm i husky
|
||||
- git init
|
||||
- npm i $ARGS .
|
||||
- run: ln -s ../libexec/bin/bw bw
|
||||
working-directory: ${{prefix}}/bin
|
||||
env:
|
||||
ARGS:
|
||||
- -ddd
|
||||
- --global
|
||||
- --build-from-source
|
||||
- --prefix={{prefix}}/libexec
|
||||
- --install-links
|
||||
- --unsafe-perm
|
||||
|
||||
provides:
|
||||
- bin/bw
|
||||
|
||||
test:
|
||||
- bw generate --length 10
|
||||
- echo "Testing" | bw encode | grep 'VGVzdGluZw'
|
||||
- bw --version | grep {{version}}
|
Loading…
Reference in a new issue