Skip to content

Commit ead09ff

Browse files
committed
fix: build
1 parent 31729f3 commit ead09ff

4 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: googleapis/release-please-action@v4
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
18-
release-type: node
18+
release-type: node
1919

2020
publish:
2121
if: startsWith(github.ref, 'refs/tags/')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"prepublishOnly": "npm run build && npm run docs",
4040
"api:extract": "npm run build && api-extractor run --local",
4141
"build": "tsup",
42-
"postbuild": "api-extractor run --local --no-update-report"
42+
"postbuild": "api-extractor run --local"
4343
},
4444
"devDependencies": {
4545
"@eslint/js": "^9.39.1",

src/crypto.test.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/utils/typecheck.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ export function checkTypes(source: string, fileName: string) {
2020
fs.writeFileSync(tmpFile, sanitized, "utf8");
2121

2222
const program = ts.createProgram([tmpFile], {
23-
module: ts.ModuleKind.NodeNext,
24-
moduleResolution: ts.ModuleResolutionKind.NodeNext,
23+
module: ts.ModuleKind.ESNext,
24+
moduleResolution: ts.ModuleResolutionKind.Bundler,
25+
moduleDetection: ts.ModuleDetectionKind.Force,
2526
target: ts.ScriptTarget.ES2022,
2627
strict: true,
2728
noEmit: true,

0 commit comments

Comments
 (0)