Skip to content

Commit fa4f9be

Browse files
committed
update tsconfig.json
1 parent c1eb2ea commit fa4f9be

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ryupold/vode",
3-
"version": "1.7.4",
3+
"version": "1.8.0",
44
"description": "a minimalist web framework",
55
"author": "Michael Scherbakow (ryupold)",
66
"license": "MIT",
@@ -31,7 +31,7 @@
3131
".": {
3232
"types": "./dist/vode.d.ts",
3333
"import": "./dist/vode.min.mjs",
34-
"require": "./dist/vode.amd.min.js",
34+
"require": "./dist/vode.cjs.min.js",
3535
"default": "./dist/vode.min.js"
3636
}
3737
},
@@ -41,7 +41,7 @@
4141
"build-min": "esbuild index.ts --bundle --format=esm --minify --outfile=dist/vode.min.mjs",
4242
"build-classic": "esbuild index.ts --outfile=dist/vode.js --bundle --format=iife --global-name=V",
4343
"build-classic-min": "esbuild index.ts --outfile=dist/vode.min.js --bundle --format=iife --global-name=V --minify",
44-
"babel": "npx babel dist/vode.mjs --out-file dist/vode.amd.min.js",
44+
"babel": "npx babel dist/vode.mjs --out-file dist/vode.cjs.min.js",
4545
"babel-classic": "npx babel dist/vode.js --out-file dist/vode.es5.min.js",
4646
"release": "npm run build && npm run build-min && npm run build-classic && npm run build-classic-min && npm run babel && npm run babel-classic && npm run types",
4747
"publish": "npm publish --access public",
@@ -57,4 +57,4 @@
5757
"esbuild": "0.27.3",
5858
"typescript": "5.9.3"
5959
}
60-
}
60+
}

tsconfig.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,29 @@
44
"module": "preserve",
55
"moduleResolution": "bundler",
66
"rootDir": ".",
7-
"composite": true,
8-
"removeComments": true,
7+
"outDir": "./dist",
98
"declaration": true,
109
"declarationDir": "./dist",
10+
"declarationMap": true,
11+
"sourceMap": true,
1112
"strict": true,
12-
"allowSyntheticDefaultImports": true,
13-
"strictBindCallApply": true,
14-
"strictFunctionTypes": true,
15-
"strictPropertyInitialization": true,
16-
"strictNullChecks": true,
17-
"allowJs": false,
18-
"skipLibCheck": true,
13+
"noUncheckedSideEffectImports": true,
1914
"noImplicitReturns": true,
2015
"noFallthroughCasesInSwitch": true,
21-
"downlevelIteration": true,
22-
"isolatedModules": true
16+
"forceConsistentCasingInFileNames": true,
17+
"esModuleInterop": true,
18+
"allowSyntheticDefaultImports": true,
19+
"isolatedModules": true,
20+
"skipLibCheck": true,
21+
"composite": true,
22+
"tsBuildInfoFile": "./dist/.tsbuildinfo"
2323
},
2424
"include": [
25-
"./index.ts",
26-
"./src/*.ts",
25+
"index.ts",
26+
"src/**/*"
27+
],
28+
"exclude": [
29+
"node_modules",
30+
"dist"
2731
]
2832
}

0 commit comments

Comments
 (0)