@aryaemami59/tsconfig 0.0.5 → 0.0.6
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/LICENSE +1 -1
- package/README.md +1 -1
- package/package.json +206 -34
- package/scripts/build.ts +264 -0
- package/scripts/typeHelpers.ts +468 -0
- package/scripts/types.ts +1637 -0
- package/src/bundler/esnext/tsconfig.json +8 -0
- package/src/bundler/esnext/with-js/tsconfig.json +9 -0
- package/src/bundler/preserve/tsconfig.json +9 -0
- package/src/bundler/preserve/with-js/tsconfig.json +9 -0
- package/{create-react-app → src/create-react-app}/tsconfig.json +2 -2
- package/{base → src/node}/tsconfig.json +8 -5
- package/src/node/with-js/tsconfig.json +9 -0
- package/src/node-10/tsconfig.json +8 -0
- package/src/node-10/with-js/tsconfig.json +9 -0
- package/src/node-16/tsconfig.json +9 -0
- package/src/node-16/with-js/tsconfig.json +9 -0
- package/src/node-next/tsconfig.json +9 -0
- package/src/node-next/with-js/tsconfig.json +9 -0
- package/bundler/esnext/tsconfig.json +0 -8
- package/bundler/preserve/tsconfig.json +0 -9
- package/node-10/tsconfig.json +0 -8
- package/node-16/tsconfig.json +0 -9
- package/node-next/tsconfig.json +0 -9
- package/node-next/with-js/tsconfig.json +0 -9
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"moduleResolution": "bundler"
|
|
5
|
+
},
|
|
6
|
+
"display": "TypeScript configuration with module set to `esnext` and module resolution set to `bundler`",
|
|
7
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `esnext`, module resolution set to `bundler`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/bundler/esnext"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "preserve",
|
|
5
|
+
"moduleResolution": "bundler"
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `preserve` and module resolution set to `bundler`",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `preserve`, module resolution set to `bundler`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/bundler/preserve"
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "@aryaemami59/tsconfig/
|
|
2
|
+
"extends": "@aryaemami59/tsconfig/node",
|
|
3
3
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
4
4
|
"compilerOptions": {
|
|
5
5
|
"allowJs": true,
|
|
6
6
|
"jsx": "react-jsx",
|
|
7
7
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
8
8
|
"noEmit": true,
|
|
9
|
-
"target": "
|
|
9
|
+
"target": "es5",
|
|
10
10
|
"types": null
|
|
11
11
|
},
|
|
12
12
|
"display": "TypeScript configuration for `create-react-app` projects"
|
|
@@ -8,8 +8,11 @@
|
|
|
8
8
|
"isolatedModules": true,
|
|
9
9
|
"jsx": "react",
|
|
10
10
|
"lib": ["DOM", "ESNext"],
|
|
11
|
-
"module": "
|
|
12
|
-
"
|
|
11
|
+
"module": "esnext",
|
|
12
|
+
"moduleDetection": "force",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"noEmit": false,
|
|
15
|
+
"noEmitOnError": true,
|
|
13
16
|
"noErrorTruncation": true,
|
|
14
17
|
"noFallthroughCasesInSwitch": true,
|
|
15
18
|
"noImplicitOverride": true,
|
|
@@ -18,10 +21,10 @@
|
|
|
18
21
|
"skipLibCheck": true,
|
|
19
22
|
"sourceMap": true,
|
|
20
23
|
"strict": true,
|
|
21
|
-
"target": "
|
|
22
|
-
"types": ["
|
|
24
|
+
"target": "esnext",
|
|
25
|
+
"types": ["node"],
|
|
23
26
|
"useDefineForClassFields": true,
|
|
24
27
|
"useUnknownInCatchVariables": true
|
|
25
28
|
},
|
|
26
|
-
"display": "
|
|
29
|
+
"display": "TypeScript configuration with module set to `esnext` and module resolution set to `node`, intended for TypeScript versions earlier than 5.0."
|
|
27
30
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `esnext`, module resolution set to `node`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"moduleResolution": "node10"
|
|
5
|
+
},
|
|
6
|
+
"display": "TypeScript configuration with module set to `esnext` and module resolution set to `node10`. It serves as a backwards compatible replacement for the deprecated `node` module resolution.",
|
|
7
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `esnext`, module resolution set to `node10`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node-10"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "node16",
|
|
5
|
+
"moduleResolution": "node16"
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `node16` and module resolution set to `node16`",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `node16`, module resolution set to `node16`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node-16"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "nodenext",
|
|
5
|
+
"moduleResolution": "nodenext"
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `nodenext` and module resolution set to `nodenext`",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true
|
|
6
|
+
},
|
|
7
|
+
"display": "TypeScript configuration with module set to `nodenext`, module resolution set to `nodenext`, and JavaScript files support enabled",
|
|
8
|
+
"extends": "@aryaemami59/tsconfig/node-next"
|
|
9
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@aryaemami59/tsconfig/base",
|
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"moduleResolution": "Bundler"
|
|
6
|
-
},
|
|
7
|
-
"display": "TypeScript configuration with module set to `ESNext` and module resolution set to `Bundler`"
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@aryaemami59/tsconfig/bundler/esnext",
|
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"moduleResolution": "Bundler"
|
|
7
|
-
},
|
|
8
|
-
"display": "TypeScript configuration with module set to `Preserve` and module resolution set to `Bundler`"
|
|
9
|
-
}
|
package/node-10/tsconfig.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@aryaemami59/tsconfig/base",
|
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"moduleResolution": "Node10"
|
|
6
|
-
},
|
|
7
|
-
"display": "TypeScript configuration with `Node10` module resolution. It serves as a backwards compatible replacement for the deprecated `Node` module resolution."
|
|
8
|
-
}
|
package/node-16/tsconfig.json
DELETED
package/node-next/tsconfig.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@aryaemami59/tsconfig/node-next",
|
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"checkJs": true
|
|
7
|
-
},
|
|
8
|
-
"display": "TypeScript configuration with `NodeNext` module resolution and JavaScript support"
|
|
9
|
-
}
|