@qualcomm-ui/tsconfig 2.0.0 → 2.1.0
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.angular-lib.json +1 -1
- package/tsconfig.lib.json +30 -0
- package/tsconfig.strict.json +2 -0
- package/tsconfig.super-strict.json +3 -6
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Use this tsconfig for source files in a reusable library.
|
|
2
|
+
{
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowUnreachableCode": false,
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"emitDeclarationOnly": true,
|
|
9
|
+
"experimentalDecorators": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"jsx": "preserve",
|
|
12
|
+
"isolatedDeclarations": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext", "ES2023"],
|
|
15
|
+
"module": "NodeNext",
|
|
16
|
+
"moduleResolution": "NodeNext",
|
|
17
|
+
"noImplicitAny": true,
|
|
18
|
+
"noImplicitReturns": false,
|
|
19
|
+
"noUnusedLocals": false,
|
|
20
|
+
"noUnusedParameters": false,
|
|
21
|
+
"removeComments": false,
|
|
22
|
+
"resolveJsonModule": true,
|
|
23
|
+
"skipDefaultLibCheck": true,
|
|
24
|
+
"skipLibCheck": true,
|
|
25
|
+
"sourceMap": true,
|
|
26
|
+
"strict": true,
|
|
27
|
+
"target": "ES2023",
|
|
28
|
+
"verbatimModuleSyntax": true
|
|
29
|
+
}
|
|
30
|
+
}
|
package/tsconfig.strict.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// A very strict tsconfig intended for local modules in a monorepo.
|
|
2
|
+
// You should use tsconfig.lib.json for external-facing modules.
|
|
1
3
|
{
|
|
2
4
|
"compilerOptions": {
|
|
3
5
|
"allowUnreachableCode": false,
|
|
@@ -10,12 +12,7 @@
|
|
|
10
12
|
"jsx": "react-jsx",
|
|
11
13
|
"isolatedDeclarations": true,
|
|
12
14
|
"isolatedModules": true,
|
|
13
|
-
"lib": [
|
|
14
|
-
"DOM",
|
|
15
|
-
"DOM.Iterable",
|
|
16
|
-
"ESNext",
|
|
17
|
-
"ES2023"
|
|
18
|
-
],
|
|
15
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext", "ES2023"],
|
|
19
16
|
"module": "esnext",
|
|
20
17
|
"moduleResolution": "bundler",
|
|
21
18
|
"noImplicitAny": true,
|