From b63a6ae3692f52b88663cc176c236771c9351f32 Mon Sep 17 00:00:00 2001 From: codingChewie Date: Fri, 17 Jul 2026 12:15:19 -0500 Subject: [PATCH] correct release action --- .github/workflows/release-package.yml | 3 ++- .vscode/settings.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 3a07907..389f41a 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -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); }" diff --git a/.vscode/settings.json b/.vscode/settings.json index a0fc6a7..c59cf56 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "ÆÐƎƏƐƔIJŊŒẞÞǷ", "behaviour", "eisbn", + "Epub", "epubknowledge", "Ɣáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣ", "ĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠ",