@vinicius1313/tsconfig 1.0.0 → 3.0.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.
Files changed (3) hide show
  1. package/README.md +18 -1
  2. package/package.json +23 -1
  3. package/tsconfig.json +147 -22
package/README.md CHANGED
@@ -8,10 +8,27 @@ Install this library with:
8
8
 
9
9
  ```sh
10
10
  npm install -D @vinicius1313/tsconfig
11
- # or
11
+ ```
12
+
13
+ or
14
+
15
+ ```sh
16
+ pnpm add -D @vinicius1313/tsconfig
17
+ ```
18
+
19
+ or
20
+
21
+ ```sh
12
22
  yarn add -D @vinicius1313/tsconfig
13
23
  ```
14
24
 
25
+ ## Version compatibility
26
+
27
+ | Library version | TypeScript version |
28
+ |-----------------|--------------------|
29
+ | `>=3.0.0` | `>=6.0` |
30
+ | `<=2.0.0` | `<6.0` |
31
+
15
32
  ## Usage
16
33
 
17
34
  Edit your `tsconfig.json` file to extend this library:
package/package.json CHANGED
@@ -1,11 +1,33 @@
1
1
  {
2
2
  "name": "@vinicius1313/tsconfig",
3
3
  "description": "TypeScript configuration",
4
- "version": "1.0.0",
4
+ "version": "3.0.0",
5
5
  "license": "MIT",
6
6
  "main": "tsconfig.json",
7
7
  "files": [
8
+ "README.md",
8
9
  "tsconfig.json"
9
10
  ],
11
+ "author": "Vinicius Yoshioka <71671043+viniciusyoshioka@users.noreply.github.com> (https://github.com/viniciusyoshioka)",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/viniciusyoshioka/tsconfig.git"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/viniciusyoshioka/tsconfig/issues"
18
+ },
19
+ "homepage": "https://github.com/viniciusyoshioka/tsconfig",
20
+ "publishConfig": {
21
+ "registry": "https://registry.npmjs.org/"
22
+ },
23
+ "keywords": [
24
+ "TypeScript",
25
+ "TS",
26
+ "configuration",
27
+ "config",
28
+ "tsconfig",
29
+ "react",
30
+ "react-native"
31
+ ],
10
32
  "scripts": {}
11
33
  }
package/tsconfig.json CHANGED
@@ -1,29 +1,154 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "allowSyntheticDefaultImports": true,
4
- "allowUnreachableCode": true,
5
- "allowUnusedLabels": true,
6
- "esModuleInterop": true,
7
- "forceConsistentCasingInFileNames": true,
8
- "isolatedModules": true,
9
- "jsx": "react-jsx",
3
+ /* Visit https://aka.ms/tsconfig to read more about this file */
4
+
5
+ /* Projects */
6
+ "incremental": false,
7
+ // "composite": true,
8
+ // "tsBuildInfoFile": "./.tsbuildinfo",
9
+ // "disableSourceOfProjectReferenceRedirect": true,
10
+ // "disableSolutionSearching": true,
11
+ // "disableReferencedProjectLoad": true,
12
+
13
+ /* Language and Environment */
14
+ "target": "es2024",
10
15
  "lib": [
11
- "esnext",
16
+ "ES2024"
12
17
  ],
13
- "module": "esnext",
14
- "moduleResolution": "node",
15
- "noFallthroughCasesInSwitch": true,
16
- "noImplicitReturns": true,
17
- "noImplicitUseStrict": false,
18
- "noStrictGenericChecks": false,
19
- "noUnusedLocals": false,
20
- "noUnusedParameters": false,
21
- "preserveValueImports": false,
22
- "removeComments": true,
18
+ "jsx": "react-jsx",
19
+ "libReplacement": false,
20
+ "experimentalDecorators": true,
21
+ "emitDecoratorMetadata": true,
22
+ // "jsxFactory": "",
23
+ // "jsxFragmentFactory": "",
24
+ // "jsxImportSource": "",
25
+ // "reactNamespace": "",
26
+ // "noLib": true,
27
+ // "useDefineForClassFields": true,
28
+ // "moduleDetection": "auto",
29
+
30
+ /* Modules */
31
+ "module": "node18",
32
+ // "rootDir": ".",
33
+ "moduleResolution": "node16",
34
+ // "baseUrl": ".",
35
+ // "paths": {},
36
+ // "rootDirs": [],
37
+ // "typeRoots": [],
38
+ // "types": [],
39
+ // "allowUmdGlobalAccess": true,
40
+ // "moduleSuffixes": [],
41
+ // "allowImportingTsExtensions": true,
42
+ "rewriteRelativeImportExtensions": true,
43
+ // "resolvePackageJsonExports": true,
44
+ // "resolvePackageJsonImports": true,
45
+ // "customConditions": [],
46
+ "noUncheckedSideEffectImports": true,
23
47
  "resolveJsonModule": true,
24
- "skipLibCheck": true,
48
+ // "allowArbitraryExtensions": true,
49
+ // "noResolve": true,
50
+
51
+ /* JavaScript Support */
52
+ "allowJs": true,
53
+ // "checkJs": true,
54
+ // "maxNodeModuleJsDepth": 1,
55
+
56
+ /* Editor Support */
57
+ // "disableSizeLimit": true,
58
+ // "plugins": [],
59
+
60
+ /* Emit */
61
+ // "declaration": true,
62
+ // "declarationMap": true,
63
+ // "emitDeclarationOnly": true,
64
+ // "sourceMap": true,
65
+ // "inlineSourceMap": true,
66
+ // "noEmit": true,
67
+ // "outFile": ".",
68
+ "outDir": "./dist/module",
69
+ "removeComments": true,
70
+ "importHelpers": true,
71
+ "downlevelIteration": true,
72
+ // "sourceRoot": "",
73
+ // "mapRoot": "",
74
+ // "inlineSources": true,
75
+ // "emitBOM": true,
76
+ // "newLine": "crlf",
77
+ // "stripInternal": true,
78
+ // "noEmitHelpers": true,
79
+ // "noEmitOnError": true,
80
+ // "preserveConstEnums": true,
81
+ // "declarationDir": "./dist/types",
82
+
83
+ /* Interop Constraints */
84
+ "isolatedModules": true,
85
+ // "verbatimModuleSyntax": true,
86
+ // "isolatedDeclarations": true,
87
+ // "erasableSyntaxOnly": true,
88
+ "allowSyntheticDefaultImports": true,
89
+ "esModuleInterop": true,
90
+ "preserveSymlinks": true,
91
+ // "forceConsistentCasingInFileNames": true,
92
+
93
+ /* Type Checking */
25
94
  "strict": true,
26
- "target": "esnext",
27
- "useUnknownInCatchVariables": true,
28
- },
95
+ "noImplicitAny": true,
96
+ // "strictNullChecks": true,
97
+ // "strictFunctionTypes": true,
98
+ // "strictBindCallApply": true,
99
+ // "strictPropertyInitialization": true,
100
+ // "strictBuiltinIteratorReturn": true,
101
+ // "noImplicitThis": true,
102
+ // "useUnknownInCatchVariables": true,
103
+ // "alwaysStrict": true,
104
+ "noUnusedLocals": true,
105
+ "noUnusedParameters": true,
106
+ // "exactOptionalPropertyTypes": true,
107
+ "noImplicitReturns": true,
108
+ "noFallthroughCasesInSwitch": true,
109
+ // "noUncheckedIndexedAccess": true,
110
+ "noImplicitOverride": true,
111
+ "noPropertyAccessFromIndexSignature": true,
112
+ "allowUnusedLabels": false,
113
+ "allowUnreachableCode": false,
114
+
115
+ /* Backwards Compatibility */
116
+ // "charset": "utf8",
117
+ // "noImplicitUseStrict": true,
118
+ // "noStrictGenericChecks": true,
119
+ // "suppressExcessPropertyErrors": true,
120
+ // "suppressImplicitAnyIndexErrors": true,
121
+ // "importsNotUsedAsValues": "remove",
122
+ // "keyofStringsOnly": false,
123
+ // "out": "dist",
124
+ // "preserveValueImports": false,
125
+
126
+ /* Compiler Diagnostics */
127
+ // "diagnostics": true,
128
+ // "extendedDiagnostics": true,
129
+ // "generateCpuProfile": "profile.cpuprofile",
130
+ // "listEmittedFiles": true,
131
+ // "listFiles": true,
132
+ // "listFilesOnly": true,
133
+ // "noCheck": true,
134
+ // "traceResolution": true,
135
+
136
+ /* Output Formatting */
137
+ // "noErrorTruncation": true,
138
+ // "preserveWatchOutput": true,
139
+ // "pretty": false,
140
+
141
+ /* Watch Options */
142
+ // "assumeChangesOnlyAffectDirectDependencies": true,
143
+
144
+ /* Completeness */
145
+ // "skipDefaultLibCheck": true,
146
+ "skipLibCheck": true
147
+
148
+ /* Watch mode */
149
+ // "watch": null,
150
+ // "watchFile": "useFsEvents",
151
+ // "watchDirectory": "useFsEvents",
152
+ // "fallbackPolling": "dynamicPriorityPolling"
153
+ }
29
154
  }