mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/prettier.io/package.yml
This commit is contained in:
parent
08320d6ae9
commit
6042b80693
33
projects/prettier.io/package.yml
Normal file
33
projects/prettier.io/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
distributable:
|
||||||
|
url: https://registry.npmjs.org/prettier/-/prettier-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
npm: prettier
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: ^20
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: ^10
|
||||||
|
script:
|
||||||
|
npm i $ARGS .
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -ddd
|
||||||
|
- --global
|
||||||
|
- --build-from-source
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --install-links
|
||||||
|
- --unsafe-perm
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/prettier
|
||||||
|
|
||||||
|
test:
|
||||||
|
- prettier --version | grep {{version}}
|
||||||
|
- run: prettier $FIXTURE | grep 'const arr = \[1, 2\];'
|
||||||
|
fixture:
|
||||||
|
content: const arr = [1,2];
|
||||||
|
extname: js
|
Loading…
Reference in a new issue