Files
node-rs/tsconfig.json
T
LongYinan 1933745e96 chore: upgrade all npm deps (#1187)
* chore: upgrade all npm deps

* fix: update tsconfig for TypeScript 7

Remove deprecated downlevelIteration and importsNotUsedAsValues options,
and explicitly include node types required by TypeScript 7.

* fix: download test artifacts into package dirs

@napi-rs/cli 3.8 requires all configured targets when running
napi artifacts. Test jobs only have one platform, so download
bindings directly into the workspace like the package template.

* fix: download bindings into packages/ for tests

upload-artifact uses packages/ as the common root, so the artifact
contains argon2/*.node not packages/argon2/*.node. Download into
packages/ so binaries land where the loaders expect them.

* fix: add WASI .d.cts files required by @napi-rs/cli 3.8

napi artifacts now requires a complete WASI loader set including
*.wasi.d.cts. Also upload the full WASI support files from the wasm
build job for the publish path.

* fix: upload only wasm artifacts from WASI builds

WASI loaders and types stay committed in the repo and updated with
the codegen; CI only needs the built .wasm binaries.
2026-08-12 23:51:31 +08:00

37 lines
971 B
JSON

{
"compilerOptions": {
"jsx": "react",
"allowSyntheticDefaultImports": true,
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": false,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"newLine": "LF",
"noEmitHelpers": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"target": "ESNext",
"inlineSourceMap": true,
"esModuleInterop": true,
"stripInternal": true,
"types": ["node"]
},
"include": [],
"references": [
{ "path": "./packages/argon2" },
{ "path": "./packages/bcrypt" },
{ "path": "./packages/crc32" },
{ "path": "./packages/helper" },
{ "path": "./packages/jieba" },
{ "path": "./packages/jsonwebtoken" },
{ "path": "./packages/xxhash" }
],
"exclude": ["node_modules"]
}