@qualcomm-ui/tsconfig 2.1.0 → 2.2.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 CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@qualcomm-ui/tsconfig",
3
- "version": "2.1.0",
4
- "author": "Ryan Bower",
3
+ "version": "2.2.0",
5
4
  "license": "BSD-3-Clause-Clear",
5
+ "author": "Ryan Bower",
6
6
  "repository": "https://github.com/qualcomm/qualcomm-ui-utils",
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
7
  "files": [
11
8
  "tsconfig.*.json"
12
9
  ],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
13
  "peerDependencies": {
14
14
  "typescript": ">=5.7.3"
15
15
  }
@@ -0,0 +1,28 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowSyntheticDefaultImports": true,
4
+ "declaration": true,
5
+ "declarationMap": true,
6
+ "emitDecoratorMetadata": true,
7
+ "experimentalDecorators": true,
8
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
9
+ "module": "ESNext",
10
+ "moduleResolution": "Bundler",
11
+ "skipLibCheck": true,
12
+ "stripInternal": true,
13
+ "strict": true,
14
+ "strictPropertyInitialization": false,
15
+ "target": "ES2022"
16
+ },
17
+ "angularCompilerOptions": {
18
+ "annotateForClosureCompiler": false,
19
+ "compilationMode": "partial",
20
+ "enableI18nLegacyMessageIdFormat": false,
21
+ "preserveWhitespaces": false,
22
+ "skipTemplateCodegen": true,
23
+ "strictInjectionParameters": true,
24
+ "strictInputAccessModifiers": true,
25
+ "strictMetadataEmit": true,
26
+ "strictNullChecks": true
27
+ }
28
+ }
@@ -17,12 +17,7 @@
17
17
  "strictPropertyInitialization": false,
18
18
  "module": "es2020",
19
19
  "target": "es2022",
20
- "lib": [
21
- "es2022",
22
- "esnext",
23
- "dom",
24
- "dom.iterable"
25
- ],
20
+ "lib": ["es2022", "esnext", "dom", "dom.iterable"]
26
21
  },
27
22
  "angularCompilerOptions": {
28
23
  "allowSyntheticDefaultImports": true,
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "extends": "./tsconfig.angular-lib.json",
3
3
  "compilerOptions": {
4
- // see: https://github.com/typescript-eslint/typescript-eslint/issues/4268#issuecomment-987530004
5
4
  "isolatedModules": true,
6
5
  "verbatimModuleSyntax": true
7
6
  }
8
- }
7
+ }
@@ -5,17 +5,14 @@
5
5
  "declarationMap": true,
6
6
  "emitDecoratorMetadata": true,
7
7
  "experimentalDecorators": true,
8
- "lib": [
9
- "es2022",
10
- "dom"
11
- ],
12
- "module": "es2022",
13
- "moduleResolution": "bundler",
8
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
9
+ "module": "ES2022",
10
+ "moduleResolution": "Bundler",
14
11
  "skipLibCheck": true,
15
12
  "stripInternal": true,
16
13
  "strict": true,
17
14
  "strictPropertyInitialization": false,
18
- "target": "es2022"
15
+ "target": "ES2022"
19
16
  },
20
17
  "angularCompilerOptions": {
21
18
  "annotateForClosureCompiler": false,
@@ -27,5 +24,5 @@
27
24
  "strictInputAccessModifiers": true,
28
25
  "strictMetadataEmit": true,
29
26
  "strictNullChecks": true
30
- },
27
+ }
31
28
  }
package/tsconfig.lib.json CHANGED
@@ -1,4 +1,3 @@
1
- // Use this tsconfig for source files in a reusable library.
2
1
  {
3
2
  "compilerOptions": {
4
3
  "allowUnreachableCode": false,
@@ -11,7 +10,7 @@
11
10
  "jsx": "preserve",
12
11
  "isolatedDeclarations": true,
13
12
  "isolatedModules": true,
14
- "lib": ["DOM", "DOM.Iterable", "ESNext", "ES2023"],
13
+ "lib": ["DOM", "DOM.Iterable", "ES2023"],
15
14
  "module": "NodeNext",
16
15
  "moduleResolution": "NodeNext",
17
16
  "noImplicitAny": true,
@@ -3,4 +3,4 @@
3
3
  "compilerOptions": {
4
4
  "moduleResolution": "bundler"
5
5
  }
6
- }
6
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowUnreachableCode": false,
4
+ "allowSyntheticDefaultImports": true,
5
+ "declaration": true,
6
+ "declarationMap": true,
7
+ "emitDeclarationOnly": true,
8
+ "experimentalDecorators": true,
9
+ "esModuleInterop": true,
10
+ "jsx": "react-jsx",
11
+ "isolatedDeclarations": false,
12
+ "isolatedModules": true,
13
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
14
+ "module": "ESNext",
15
+ "moduleResolution": "Bundler",
16
+ "noImplicitAny": true,
17
+ "noImplicitReturns": false,
18
+ "noUnusedLocals": false,
19
+ "noUnusedParameters": false,
20
+ "removeComments": false,
21
+ "resolveJsonModule": true,
22
+ "skipDefaultLibCheck": true,
23
+ "skipLibCheck": true,
24
+ "sourceMap": true,
25
+ "strict": true,
26
+ "target": "ES2023",
27
+ "verbatimModuleSyntax": true
28
+ }
29
+ }
@@ -6,11 +6,7 @@
6
6
  "isolatedModules": true,
7
7
  "noEmit": true,
8
8
  "jsx": "react-jsx",
9
- "lib": [
10
- "DOM",
11
- "DOM.Iterable",
12
- "ES2022"
13
- ],
9
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
14
10
  "module": "ESNext",
15
11
  "moduleResolution": "Bundler",
16
12
  "resolveJsonModule": true,
@@ -22,5 +18,5 @@
22
18
  "~components/*": ["./src/components/*"],
23
19
  "~utils/*": ["./src/utils/*"]
24
20
  }
25
- },
21
+ }
26
22
  }
@@ -1,5 +1,3 @@
1
- // A strict tsconfig intended for local modules in a monorepo.
2
- // You should use tsconfig.lib.json for external-facing modules.
3
1
  {
4
2
  "compilerOptions": {
5
3
  "allowUnreachableCode": false,
@@ -11,12 +9,7 @@
11
9
  "esModuleInterop": true,
12
10
  "jsx": "react-jsx",
13
11
  "isolatedModules": true,
14
- "lib": [
15
- "DOM",
16
- "DOM.Iterable",
17
- "ESNext",
18
- "ES2023"
19
- ],
12
+ "lib": ["DOM", "DOM.Iterable", "ESNext", "ES2023"],
20
13
  "module": "esnext",
21
14
  "moduleResolution": "bundler",
22
15
  "noImplicitAny": true,
@@ -1,5 +1,3 @@
1
- // A very strict tsconfig intended for local modules in a monorepo.
2
- // You should use tsconfig.lib.json for external-facing modules.
3
1
  {
4
2
  "compilerOptions": {
5
3
  "allowUnreachableCode": false,
@@ -9,12 +9,7 @@
9
9
  "experimentalDecorators": true,
10
10
  "esModuleInterop": true,
11
11
  "jsx": "react-jsx",
12
- "lib": [
13
- "DOM",
14
- "DOM.Iterable",
15
- "ESNext",
16
- "ES2023"
17
- ],
12
+ "lib": ["DOM", "DOM.Iterable", "ESNext", "ES2023"],
18
13
  "module": "ESNext",
19
14
  "moduleResolution": "bundler",
20
15
  "noEmit": true,
@@ -29,6 +24,6 @@
29
24
  "sourceMap": true,
30
25
  "strictPropertyInitialization": false,
31
26
  "strict": false,
32
- "target": "ESNext",
33
- },
27
+ "target": "ESNext"
28
+ }
34
29
  }
@@ -0,0 +1,28 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowUnreachableCode": false,
4
+ "allowSyntheticDefaultImports": true,
5
+ "declaration": true,
6
+ "declarationMap": true,
7
+ "emitDeclarationOnly": true,
8
+ "experimentalDecorators": true,
9
+ "esModuleInterop": true,
10
+ "jsx": "react-jsx",
11
+ "isolatedModules": true,
12
+ "lib": ["DOM", "DOM.Iterable", "ES2023"],
13
+ "module": "ESNext",
14
+ "moduleResolution": "Bundler",
15
+ "noImplicitAny": true,
16
+ "noImplicitReturns": false,
17
+ "noUnusedLocals": false,
18
+ "noUnusedParameters": false,
19
+ "removeComments": false,
20
+ "resolveJsonModule": true,
21
+ "skipDefaultLibCheck": true,
22
+ "skipLibCheck": true,
23
+ "sourceMap": true,
24
+ "strict": true,
25
+ "target": "ES2023",
26
+ "verbatimModuleSyntax": true
27
+ }
28
+ }