Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
id: pack
run: |
npm pack --json > pack-output.json
echo "filename=$(node -p 'JSON.parse(require(\"fs\").readFileSync(\"pack-output.json\", \"utf8\"))[0].filename')" >> "$GITHUB_OUTPUT"
filename=$(node -e "console.log(JSON.parse(require('fs').readFileSync('pack-output.json', 'utf8'))[0].filename)")
echo "filename=$filename" >> "$GITHUB_OUTPUT"
- name: Verify packed dist assets
run: |
node -e "const pack = JSON.parse(require('fs').readFileSync('pack-output.json', 'utf8'))[0]; const files = pack.files.map(file => file.path); const hasJs = files.some(file => file.startsWith('dist/') && file.endsWith('.js')); const hasDts = files.some(file => file.startsWith('dist/') && file.endsWith('.d.ts')); if (!hasJs || !hasDts) { console.error('Packed tarball is missing compiled dist assets.'); process.exit(1); }"
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"ÆÐƎƏƐƔIJŊŒẞÞǷ",
"behaviour",
"eisbn",
"Epub",
"epubknowledge",
"Ɣáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣ",
"ĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠ",
Expand Down
Loading