Skip to content

Commit f04f7f1

Browse files
committed
refactor(typescripts): update typescript configurations
1 parent 8d475e5 commit f04f7f1

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

packages/eleventy-config/tsconfig.json

+1-1
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.node.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",

packages/pwa-install-prompt/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"devDependencies": {
5252
"@alwatr/nano-build": "^5.0.0",
5353
"@alwatr/type-helper": "^5.0.0",
54-
"@nexim/typescript-config": "^1.1.0",
54+
"@nexim/typescript-config": "^2.0.0",
5555
"@types/node": "^22.10.5",
5656
"ava": "^6.2.0",
5757
"typescript": "^5.7.2",

packages/pwa-install-prompt/tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
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",
66
"allowJs": true,
7-
"emitDeclarationOnly": true,
87
"declaration": true,
9-
"composite": true,
108
"declarationMap": true,
119
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
1210
},

packages/service-worker-notify/tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
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
},
108
"include": ["src/**/*.ts"],

packages/web-app-toolkit/tsconfig.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
2-
"extends": "@nexim/typescript-config/tsconfig.json",
2+
"extends": "@nexim/typescript-config/tsconfig.node.lib.json",
33
"compilerOptions": {
44
"rootDir": "src",
55
"outDir": "dist",
66
"allowJs": true,
7-
"emitDeclarationOnly": true,
87
"declaration": true,
9-
"composite": true,
108
"declarationMap": true,
11-
"types": ["node", "@alwatr/nano-build", "@alwatr/type-helper"]
9+
"types": ["@alwatr/nano-build", "@alwatr/type-helper"]
1210
},
1311
"include": ["src/**/*.ts"],
1412
"references": [

tsconfig.json

+1-1
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"]

yarn.lock

+10-1
Original file line numberDiff line numberDiff line change
@@ -3029,7 +3029,7 @@ __metadata:
30293029
"@alwatr/type-helper": "npm:^5.0.0"
30303030
"@alwatr/wait": "npm:^1.1.16"
30313031
"@nexim/snackbar": "npm:^1.0.2"
3032-
"@nexim/typescript-config": "npm:^1.1.0"
3032+
"@nexim/typescript-config": "npm:^2.0.0"
30333033
"@types/node": "npm:^22.10.5"
30343034
ava: "npm:^6.2.0"
30353035
typescript: "npm:^5.7.2"
@@ -3088,6 +3088,15 @@ __metadata:
30883088
languageName: node
30893089
linkType: hard
30903090

3091+
"@nexim/typescript-config@npm:^2.0.0":
3092+
version: 2.0.0
3093+
resolution: "@nexim/typescript-config@npm:2.0.0"
3094+
peerDependencies:
3095+
typescript: ^5
3096+
checksum: 10c0/0a5c8ae728ec4c9f55ee2b7b69d4e88c3737fc01fa82e40b341d8fc8957b98332567ce0468fc33ef244acaf5d12193044dcd2517c560265a33e254e8daf9109d
3097+
languageName: node
3098+
linkType: hard
3099+
30913100
"@nexim/web-app-toolkit@workspace:packages/web-app-toolkit":
30923101
version: 0.0.0-use.local
30933102
resolution: "@nexim/web-app-toolkit@workspace:packages/web-app-toolkit"

0 commit comments

Comments
 (0)