@juanmsl/tsconfig 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.json +21 -0
- package/nextjs.json +22 -0
- package/nodejs.json +24 -0
- package/package.json +18 -0
- package/react-library.json +11 -0
- package/vite.json +24 -0
package/base.json
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
3
|
+
"display": "Default",
|
4
|
+
"compilerOptions": {
|
5
|
+
"composite": false,
|
6
|
+
"declaration": true,
|
7
|
+
"declarationMap": true,
|
8
|
+
"esModuleInterop": true,
|
9
|
+
"incremental": false,
|
10
|
+
"isolatedModules": true,
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
12
|
+
"inlineSources": false,
|
13
|
+
"moduleResolution": "node",
|
14
|
+
"noUnusedLocals": true,
|
15
|
+
"noUnusedParameters": true,
|
16
|
+
"noFallthroughCasesInSwitch": true,
|
17
|
+
"preserveWatchOutput": true,
|
18
|
+
"skipLibCheck": true,
|
19
|
+
"strict": true
|
20
|
+
}
|
21
|
+
}
|
package/nextjs.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
3
|
+
"display": "Next.js",
|
4
|
+
"extends": "./base.json",
|
5
|
+
"compilerOptions": {
|
6
|
+
"plugins": [{ "name": "next" }],
|
7
|
+
"allowJs": true,
|
8
|
+
"declaration": false,
|
9
|
+
"declarationMap": false,
|
10
|
+
"incremental": true,
|
11
|
+
"jsx": "preserve",
|
12
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
13
|
+
"module": "esnext",
|
14
|
+
"noEmit": true,
|
15
|
+
"resolveJsonModule": true,
|
16
|
+
"strict": false,
|
17
|
+
"target": "es6",
|
18
|
+
"moduleResolution": "bundler"
|
19
|
+
},
|
20
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
21
|
+
"exclude": ["node_modules"]
|
22
|
+
}
|
package/nodejs.json
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
3
|
+
"display": "Nodejs",
|
4
|
+
"extends": "./base.json",
|
5
|
+
"compilerOptions": {
|
6
|
+
"lib": ["esnext", "dom"],
|
7
|
+
"emitDecoratorMetadata": true,
|
8
|
+
"resolveJsonModule": true,
|
9
|
+
"allowJs": false,
|
10
|
+
"sourceMap": true,
|
11
|
+
"noImplicitAny": true,
|
12
|
+
"strictNullChecks": true,
|
13
|
+
"strictFunctionTypes": true,
|
14
|
+
"strictBindCallApply": true,
|
15
|
+
"noImplicitThis": true,
|
16
|
+
"alwaysStrict": true,
|
17
|
+
"exactOptionalPropertyTypes": true,
|
18
|
+
"noImplicitReturns": true,
|
19
|
+
"target": "esnext",
|
20
|
+
"module": "esnext",
|
21
|
+
"allowSyntheticDefaultImports": true,
|
22
|
+
"experimentalDecorators": true
|
23
|
+
}
|
24
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"name": "@juanmsl/tsconfig",
|
3
|
+
"version": "0.0.2",
|
4
|
+
"license": "MIT",
|
5
|
+
"files": [
|
6
|
+
"base.json",
|
7
|
+
"nextjs.json",
|
8
|
+
"nodejs.json",
|
9
|
+
"react-library.json",
|
10
|
+
"vite.json"
|
11
|
+
],
|
12
|
+
"scripts": {
|
13
|
+
"publish-package": "yarn publish --no-git-tag-version"
|
14
|
+
},
|
15
|
+
"publishConfig": {
|
16
|
+
"access": "public"
|
17
|
+
}
|
18
|
+
}
|
package/vite.json
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
3
|
+
"display": "Vite",
|
4
|
+
"extends": "./base.json",
|
5
|
+
"compilerOptions": {
|
6
|
+
"composite": true,
|
7
|
+
"declaration": true,
|
8
|
+
"declarationMap": false,
|
9
|
+
"incremental": true,
|
10
|
+
"jsx": "react-jsx",
|
11
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
12
|
+
"module": "esnext",
|
13
|
+
"noEmit": true,
|
14
|
+
"resolveJsonModule": true,
|
15
|
+
"moduleResolution": "bundler",
|
16
|
+
"strict": false,
|
17
|
+
"target": "es6",
|
18
|
+
"useDefineForClassFields": true,
|
19
|
+
"allowImportingTsExtensions": false,
|
20
|
+
"allowSyntheticDefaultImports": true
|
21
|
+
},
|
22
|
+
"include": ["src"],
|
23
|
+
"exclude": ["node_modules"]
|
24
|
+
}
|