Skip to content

Commit cf5944a

Browse files
committed
fixup!
1 parent 93ba97f commit cf5944a

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"fix": "yarn fix:code && yarn fix:special && yarn fmt",
5151
"fix:code": "yarn lint:code --fix",
5252
"fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/precompile-schemas --write",
53-
"build:types": "tsc -p tsconfig.types.json",
53+
"build:types": "rimraf types && tsc -p tsconfig.types.json",
5454
"build:examples": "cd examples && node buildAll.js",
5555
"benchmark": "node --max-old-space-size=6144 --experimental-vm-modules --trace-deprecation --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./test/BenchmarkTestCases.benchmark.mjs",
5656
"pretest": "yarn lint",

tsconfig.types.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
{
2-
"extends": "./tsconfig",
2+
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"rootDir": "lib"
4+
"noEmit": false,
5+
"declaration": true,
6+
"emitDeclarationOnly": true,
7+
"declarationMap": false,
8+
"outDir": "types",
9+
"rootDir": "lib",
10+
"skipLibCheck": true
511
},
6-
"include": ["declarations.d.ts", "declarations/*.d.ts", "lib/**/*.js"]
12+
"exclude": ["types", "examples", "node_modules"],
13+
"include": [
14+
"declarations.d.ts",
15+
"declarations/*.d.ts",
16+
"schemas/**/*.json",
17+
"lib/**/*.js"
18+
]
719
}

0 commit comments

Comments
 (0)