mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/typescriptlang.org/package.yml (#5594)
This commit is contained in:
parent
1ba2e18d3d
commit
c5145a2d76
1 changed files with 40 additions and 0 deletions
40
projects/typescriptlang.org/package.yml
Normal file
40
projects/typescriptlang.org/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
distributable:
|
||||||
|
url: https://registry.npmjs.org/typescript/-/typescript-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
npm: typescript
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: ^20
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: '*'
|
||||||
|
script:
|
||||||
|
- npm install $ARGS
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -ddd
|
||||||
|
- --global
|
||||||
|
- --build-from-source
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --install-links
|
||||||
|
- --unsafe-perm
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/tsc
|
||||||
|
|
||||||
|
test:
|
||||||
|
- run: tsc $FIXTURE
|
||||||
|
fixture:
|
||||||
|
content: |
|
||||||
|
class Test {
|
||||||
|
greet() {
|
||||||
|
return "Hello, world!";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var test = new Test();
|
||||||
|
document.body.innerHTML = test.greet();
|
||||||
|
extname: ts
|
||||||
|
- tsc --version | grep {{version}}
|
Loading…
Reference in a new issue