Skip to content

Commit 88ed3dd

Browse files
authored
build(parser): remove legacy tsconfig for tests (#4496)
Refs #4385
1 parent 65f6d92 commit 88ed3dd

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

packages/apidom-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint": "eslint ./",
2525
"lint:fix": "eslint ./ --fix",
2626
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
27-
"typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
27+
"typescript:check-types": "tsc --noEmit",
2828
"typescript:declaration": "copyfiles -u 1 'src/**/*.d.ts' ./types && tsc -p tsconfig.declaration.json && rollup -c config/rollup/types.dist.js",
2929
"test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test mocha",
3030
"prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",

packages/apidom-parser/test/tsconfig.json

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

packages/apidom-parser/tsconfig.declaration.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"test/**/*"
5+
],
36
"compilerOptions": {
47
"declaration": true,
58
"declarationDir": "types",

packages/apidom-parser/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"allowImportingTsExtensions": true
77
},
88
"include": [
9-
"src/**/*"
9+
"src/**/*",
10+
"test/**/*",
1011
]
1112
}

0 commit comments

Comments
 (0)