@teardown/tsconfig 0.1.35

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 ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@teardown/tsconfig",
3
+ "version": "0.1.35",
4
+ "description": "Shared TypeScript configurations for Teardown projects",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "files": [
9
+ "tsconfig.base.json",
10
+ "tsconfig.lib.json",
11
+ "tsconfig.bun.json",
12
+ "tsconfig.react.json"
13
+ ]
14
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strictNullChecks": true,
4
+ "composite": true,
5
+ "isolatedModules": true,
6
+ "lib": ["es2022"],
7
+ "module": "esnext",
8
+ "moduleResolution": "bundler",
9
+ "noEmitOnError": true,
10
+ "noFallthroughCasesInSwitch": true,
11
+ "noImplicitOverride": true,
12
+ "noImplicitReturns": true,
13
+ "noUnusedLocals": true,
14
+ "skipLibCheck": true,
15
+ "strict": true,
16
+ "target": "es2022",
17
+ "customConditions": ["@teardown/source"]
18
+ }
19
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "extends": "@teardown/tsconfig/tsconfig.base.json",
3
+ "compilerOptions": {
4
+ // Environment setup & latest features
5
+ "lib": ["ESNext", "DOM"],
6
+ "target": "ESNext",
7
+ "module": "esnext",
8
+ "moduleResolution": "bundler",
9
+ "moduleDetection": "force",
10
+ "jsx": "react-jsx",
11
+ "allowJs": true,
12
+ // Bundler mode
13
+ "allowImportingTsExtensions": true,
14
+ "verbatimModuleSyntax": true,
15
+ // Best practices
16
+ "strict": true,
17
+ "skipLibCheck": true,
18
+ "noFallthroughCasesInSwitch": true,
19
+ "noUncheckedIndexedAccess": true,
20
+ "noImplicitOverride": true,
21
+ // Some stricter flags (disabled by default)
22
+ "noUnusedLocals": false,
23
+ "noUnusedParameters": false,
24
+ "noPropertyAccessFromIndexSignature": false,
25
+ // Custom options
26
+ "outDir": "dist",
27
+ "tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo",
28
+ "emitDeclarationOnly": true,
29
+ "forceConsistentCasingInFileNames": true
30
+ }
31
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "@teardown/tsconfig/tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "lib": ["ES2022", "DOM"],
5
+ "baseUrl": ".",
6
+ "rootDir": "src",
7
+ "outDir": "dist",
8
+ "tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo",
9
+ "module": "esnext",
10
+ "moduleResolution": "bundler"
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "@teardown/tsconfig/tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "rootDir": "src",
5
+ "jsx": "react-jsx",
6
+ "tsBuildInfoFile": "dist/tsconfig.lib.tsbuildinfo",
7
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
8
+ "outDir": "dist"
9
+ },
10
+ "include": ["src/**/*.ts", "src/**/*.tsx"]
11
+ }