Skip to content

Commit fcd4c10

Browse files
committed
update tsconfig.json
1 parent c184b58 commit fcd4c10

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git-tag-version=false

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@omer-x/next-openapi-json-generator",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "a Next.js plugin to generate OpenAPI documentation from route handlers",
55
"keywords": [
66
"next.js",
@@ -39,7 +39,7 @@
3939
"dev": "webpack build --progress --mode=development --watch"
4040
},
4141
"dependencies": {
42-
"@omer-x/package-metadata": "^0.1.0",
42+
"@omer-x/package-metadata": "^0.1.2",
4343
"typescript": "^5.4.5",
4444
"zod-to-json-schema": "^3.23.0"
4545
},

tsconfig.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
{
22
"compilerOptions": {
33
"outDir": "dist",
4-
"incremental": true,
5-
"target": "es5",
6-
"module": "commonjs",
4+
"target": "ESNext",
5+
"lib": ["ESNext"],
6+
"allowJs": true,
7+
"skipLibCheck": true,
78
"strict": true,
8-
"declaration": true,
9+
"noEmit": false,
910
"esModuleInterop": true,
10-
"skipLibCheck": true,
11-
"forceConsistentCasingInFileNames": true,
11+
"module": "NodeNext",
12+
"moduleResolution": "NodeNext",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"incremental": false,
16+
"plugins": [
17+
],
1218
"paths": {
1319
"~/*": ["./src/*"]
1420
},
1521
},
1622
"include": [
17-
"src/**/*.ts"
23+
"src/**/*.ts",
1824
],
1925
"exclude": ["node_modules"]
2026
}

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
externals: [
3939
"typescript",
4040
"zod-to-json-schema",
41+
/^@omer-x\/package-metadata$/,
4142
],
4243
externalsType: "commonjs",
4344
};

0 commit comments

Comments
 (0)