Skip to content

Commit 6d656b4

Browse files
committed
refactor: use new @nexim/typescript-config api
1 parent f0e6c9f commit 6d656b4

File tree

6 files changed

+12
-22
lines changed

6 files changed

+12
-22
lines changed

packages/alpine/tsconfig.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.browser.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",
6-
"emitDeclarationOnly": true,
7-
"composite": true,
86
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
97
},
10-
"include": ["src/**/*.ts"],
11-
"references": []
8+
"include": ["src/**/*.ts", "src/*.ts"]
129
}

packages/element/tsconfig.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.browser.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",
6-
"emitDeclarationOnly": true,
7-
"composite": true,
86
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
97
},
10-
"include": ["src/**/*.ts"],
11-
"references": []
8+
"include": ["src/**/*.ts", "src/*.ts"]
129
}
+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.browser.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",
6-
"emitDeclarationOnly": true,
7-
"composite": true,
86
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
97
},
10-
"include": ["src/**/*.ts"],
11-
"references": []
8+
"include": ["src/**/*.ts", "src/*.ts"],
129
}

packages/service-worker/tsconfig.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.browser.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",
6-
"emitDeclarationOnly": true,
7-
"composite": true,
86
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
97
},
10-
"include": ["src/**/*.ts"],
11-
"references": []
8+
"include": ["src/**/*.ts", "src/*.ts"]
129
}

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.base.json",
33
"compilerOptions": {
44
"noEmit": true,
55
"types": ["node"]
@@ -11,7 +11,7 @@
1111
"path": "./packages/element"
1212
},
1313
{
14-
"path": "./packages/typescript-config"
14+
"path": "./packages/typescript-config/tsconfig.base.json"
1515
},
1616
{
1717
"path": "./packages/alpine"

yarn.lock

+2
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,8 @@ __metadata:
11001100
"@nexim/typescript-config@workspace:^, @nexim/typescript-config@workspace:packages/typescript-config":
11011101
version: 0.0.0-use.local
11021102
resolution: "@nexim/typescript-config@workspace:packages/typescript-config"
1103+
peerDependencies:
1104+
typescript: ^5
11031105
languageName: unknown
11041106
linkType: soft
11051107

0 commit comments

Comments
 (0)