quidproquo-tsconfig 0.0.201 → 0.0.202
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/package.json +1 -1
- package/tsconfig-es6.json +28 -28
- package/tsconfig.amd.json +8 -8
- package/tsconfig.base.json +61 -61
- package/tsconfig.commonjs.json +8 -8
- package/tsconfig.esm.json +9 -9
package/package.json
CHANGED
package/tsconfig-es6.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "ESNext", // Using the latest JavaScript module syntax
|
|
4
|
-
"moduleResolution": "node", // Module resolution strategy follows Node.js style
|
|
5
|
-
"esModuleInterop": true, // Allows default imports from modules with no default export
|
|
6
|
-
"target": "ES2022", // Compiles to ES2022 JavaScript
|
|
7
|
-
"lib": ["es2022", "dom"], // Include type definitions for ES2022 and DOM API
|
|
8
|
-
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
|
|
9
|
-
|
|
10
|
-
"strict": true, // Enable all strict type-checking options
|
|
11
|
-
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file
|
|
12
|
-
"strictNullChecks": true, // Differentiate between null and undefined
|
|
13
|
-
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
|
|
14
|
-
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type
|
|
15
|
-
"noImplicitReturns": true, // Report error when not all code paths in function return a value
|
|
16
|
-
"noFallthroughCasesInSwitch": true, // Report error for fallthrough cases in switch statement
|
|
17
|
-
|
|
18
|
-
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
|
|
19
|
-
"noEmit": false, // Emit output files
|
|
20
|
-
"sourceMap": false, // Do not generate corresponding '.map' file
|
|
21
|
-
"resolveJsonModule": true, // Include modules imported with '.json' extension
|
|
22
|
-
|
|
23
|
-
"jsx": "react-jsx", // Support JSX in .tsx files
|
|
24
|
-
"allowJs": true, // Allow JavaScript files to be compiled
|
|
25
|
-
|
|
26
|
-
"declaration": true // Generates corresponding '.d.ts' file
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "ESNext", // Using the latest JavaScript module syntax
|
|
4
|
+
"moduleResolution": "node", // Module resolution strategy follows Node.js style
|
|
5
|
+
"esModuleInterop": true, // Allows default imports from modules with no default export
|
|
6
|
+
"target": "ES2022", // Compiles to ES2022 JavaScript
|
|
7
|
+
"lib": ["es2022", "dom"], // Include type definitions for ES2022 and DOM API
|
|
8
|
+
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
|
|
9
|
+
|
|
10
|
+
"strict": true, // Enable all strict type-checking options
|
|
11
|
+
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file
|
|
12
|
+
"strictNullChecks": true, // Differentiate between null and undefined
|
|
13
|
+
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
|
|
14
|
+
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type
|
|
15
|
+
"noImplicitReturns": true, // Report error when not all code paths in function return a value
|
|
16
|
+
"noFallthroughCasesInSwitch": true, // Report error for fallthrough cases in switch statement
|
|
17
|
+
|
|
18
|
+
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
|
|
19
|
+
"noEmit": false, // Emit output files
|
|
20
|
+
"sourceMap": false, // Do not generate corresponding '.map' file
|
|
21
|
+
"resolveJsonModule": true, // Include modules imported with '.json' extension
|
|
22
|
+
|
|
23
|
+
"jsx": "react-jsx", // Support JSX in .tsx files
|
|
24
|
+
"allowJs": true, // Allow JavaScript files to be compiled
|
|
25
|
+
|
|
26
|
+
"declaration": true // Generates corresponding '.d.ts' file
|
|
27
|
+
}
|
|
28
|
+
}
|
package/tsconfig.amd.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// tsconfig.amd.json
|
|
2
|
-
{
|
|
3
|
-
"extends": "./tsconfig.base",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "AMD",
|
|
6
|
-
"outDir": "./lib/amd"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
// tsconfig.amd.json
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.base",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"module": "AMD",
|
|
6
|
+
"outDir": "./lib/amd"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/tsconfig.base.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Determines the module system, "node" works well in a Node.js environment
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
|
|
6
|
-
// Enables compatibility with ES6 module imports
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
|
|
9
|
-
// Sets the JavaScript language target to ES6
|
|
10
|
-
"target": "ES6",
|
|
11
|
-
|
|
12
|
-
// Includes type definitions for ES2021 features and DOM APIs
|
|
13
|
-
"lib": ["es2021", "dom"],
|
|
14
|
-
|
|
15
|
-
// Allows default imports from modules with no default export
|
|
16
|
-
"allowSyntheticDefaultImports": true,
|
|
17
|
-
|
|
18
|
-
// Enables all strict type checking options
|
|
19
|
-
"strict": true,
|
|
20
|
-
|
|
21
|
-
// Enforces ECMAScript strict mode to eliminate some JavaScript silent errors
|
|
22
|
-
"alwaysStrict": true,
|
|
23
|
-
|
|
24
|
-
// Enables strict null checks for more type safety
|
|
25
|
-
"strictNullChecks": true,
|
|
26
|
-
|
|
27
|
-
// Raise error on expressions and declarations with an implied 'any' type
|
|
28
|
-
"noImplicitAny": true,
|
|
29
|
-
|
|
30
|
-
// Raise error on 'this' expressions with an implied 'any' type
|
|
31
|
-
"noImplicitThis": true,
|
|
32
|
-
|
|
33
|
-
// Report error when not all code paths return in function
|
|
34
|
-
"noImplicitReturns": true,
|
|
35
|
-
|
|
36
|
-
// Report fallthrough cases in switch statement
|
|
37
|
-
"noFallthroughCasesInSwitch": true,
|
|
38
|
-
|
|
39
|
-
// Enforce consistent casing in file names
|
|
40
|
-
"forceConsistentCasingInFileNames": true,
|
|
41
|
-
|
|
42
|
-
// Do not emit output (JavaScript files)
|
|
43
|
-
"noEmit": false,
|
|
44
|
-
|
|
45
|
-
// Generate corresponding '.map' file ~ We need to turn this off because
|
|
46
|
-
// the build output has no access to src files
|
|
47
|
-
"sourceMap": false,
|
|
48
|
-
|
|
49
|
-
// Allows importing JSON files
|
|
50
|
-
"resolveJsonModule": true,
|
|
51
|
-
|
|
52
|
-
// Allows compiling JavaScript files
|
|
53
|
-
"allowJs": true,
|
|
54
|
-
|
|
55
|
-
// Generates a .d.ts file for the TypeScript files
|
|
56
|
-
"declaration": true
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
// Exclude the node_modules directory to improve performance
|
|
60
|
-
"exclude": ["node_modules"]
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
// Determines the module system, "node" works well in a Node.js environment
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
|
|
6
|
+
// Enables compatibility with ES6 module imports
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
|
|
9
|
+
// Sets the JavaScript language target to ES6
|
|
10
|
+
"target": "ES6",
|
|
11
|
+
|
|
12
|
+
// Includes type definitions for ES2021 features and DOM APIs
|
|
13
|
+
"lib": ["es2021", "dom"],
|
|
14
|
+
|
|
15
|
+
// Allows default imports from modules with no default export
|
|
16
|
+
"allowSyntheticDefaultImports": true,
|
|
17
|
+
|
|
18
|
+
// Enables all strict type checking options
|
|
19
|
+
"strict": true,
|
|
20
|
+
|
|
21
|
+
// Enforces ECMAScript strict mode to eliminate some JavaScript silent errors
|
|
22
|
+
"alwaysStrict": true,
|
|
23
|
+
|
|
24
|
+
// Enables strict null checks for more type safety
|
|
25
|
+
"strictNullChecks": true,
|
|
26
|
+
|
|
27
|
+
// Raise error on expressions and declarations with an implied 'any' type
|
|
28
|
+
"noImplicitAny": true,
|
|
29
|
+
|
|
30
|
+
// Raise error on 'this' expressions with an implied 'any' type
|
|
31
|
+
"noImplicitThis": true,
|
|
32
|
+
|
|
33
|
+
// Report error when not all code paths return in function
|
|
34
|
+
"noImplicitReturns": true,
|
|
35
|
+
|
|
36
|
+
// Report fallthrough cases in switch statement
|
|
37
|
+
"noFallthroughCasesInSwitch": true,
|
|
38
|
+
|
|
39
|
+
// Enforce consistent casing in file names
|
|
40
|
+
"forceConsistentCasingInFileNames": true,
|
|
41
|
+
|
|
42
|
+
// Do not emit output (JavaScript files)
|
|
43
|
+
"noEmit": false,
|
|
44
|
+
|
|
45
|
+
// Generate corresponding '.map' file ~ We need to turn this off because
|
|
46
|
+
// the build output has no access to src files
|
|
47
|
+
"sourceMap": false,
|
|
48
|
+
|
|
49
|
+
// Allows importing JSON files
|
|
50
|
+
"resolveJsonModule": true,
|
|
51
|
+
|
|
52
|
+
// Allows compiling JavaScript files
|
|
53
|
+
"allowJs": true,
|
|
54
|
+
|
|
55
|
+
// Generates a .d.ts file for the TypeScript files
|
|
56
|
+
"declaration": true
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
// Exclude the node_modules directory to improve performance
|
|
60
|
+
"exclude": ["node_modules"]
|
|
61
|
+
}
|
package/tsconfig.commonjs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// tsconfig.commonjs.json
|
|
2
|
-
{
|
|
3
|
-
"extends": "./tsconfig.base",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "CommonJS",
|
|
6
|
-
"outDir": "./lib/commonjs"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
// tsconfig.commonjs.json
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.base",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"module": "CommonJS",
|
|
6
|
+
"outDir": "./lib/commonjs"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/tsconfig.esm.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// tsconfig.esm.json
|
|
2
|
-
{
|
|
3
|
-
"extends": "./tsconfig.base",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"target": "ESNext",
|
|
7
|
-
"outDir": "./lib/esm"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
// tsconfig.esm.json
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.base",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"target": "ESNext",
|
|
7
|
+
"outDir": "./lib/esm"
|
|
8
|
+
}
|
|
9
|
+
}
|