Skip to content

Commit 25a2dcc

Browse files
authored
Merge pull request #25 from Tschrock/typescript
Port JavaScript runtime to TypeScript
2 parents 2acb0d8 + 239aabe commit 25a2dcc

10 files changed

+1536
-964
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
node-version: '20'
1616
registry-url: https://registry.npmjs.org/
1717
- run: npm ci
18+
- run: npm run build
19+
- name: Check that KaitaiStream.js will be included
20+
run: |
21+
npm publish --tag next --dry-run --json | jq --exit-status '.files | map(.path) | any(. == "KaitaiStream.js")'
1822
- name: Publish to npm
1923
run: npm publish --tag next
2024
env:

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/node_modules/
2+
3+
# Generated by Typescript compiler
4+
/KaitaiStream.d.ts
5+
/KaitaiStream.js

0 commit comments

Comments
 (0)