@ocavue/tsconfig 0.6.2 → 0.7.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/README.md +5 -5
- package/dom/app.json +2 -0
- package/dom/build-bundler.json +2 -0
- package/dom/build-tsc.json +2 -0
- package/dom/root.json +2 -0
- package/es/app.json +2 -0
- package/es/build-bundler.json +2 -0
- package/es/build-tsc.json +2 -0
- package/es/root.json +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ In `tsconfig.json`, add the following content based on your target environment.
|
|
|
36
36
|
"extends": "@ocavue/tsconfig/dom/app.json",
|
|
37
37
|
|
|
38
38
|
// If you're building for non-browser environment:
|
|
39
|
-
"extends": "@ocavue/tsconfig/es/app.json"
|
|
39
|
+
"extends": "@ocavue/tsconfig/es/app.json",
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -63,7 +63,7 @@ In `tsconfig.json`, add the following content:
|
|
|
63
63
|
// tsconfig.json
|
|
64
64
|
{
|
|
65
65
|
"extends": "@ocavue/tsconfig/es/root.json",
|
|
66
|
-
"references": [{ "path": "./tsconfig.build.json" }]
|
|
66
|
+
"references": [{ "path": "./tsconfig.build.json" }],
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
@@ -82,7 +82,7 @@ In `tsconfig.build.json`, add the following content based on your build tool and
|
|
|
82
82
|
"extends": "@ocavue/tsconfig/es/build-bundler.json",
|
|
83
83
|
|
|
84
84
|
// If you're building for non-browser environment and using tsc:
|
|
85
|
-
"extends": "@ocavue/tsconfig/es/build-tsc.json"
|
|
85
|
+
"extends": "@ocavue/tsconfig/es/build-tsc.json",
|
|
86
86
|
}
|
|
87
87
|
```
|
|
88
88
|
|
|
@@ -121,8 +121,8 @@ In the root `tsconfig.json`, add the following content:
|
|
|
121
121
|
"extends": "@ocavue/tsconfig/es/root.json",
|
|
122
122
|
"references": [
|
|
123
123
|
{ "path": "./apps/my-app/tsconfig.json" },
|
|
124
|
-
{ "path": "./packages/my-lib/tsconfig.json" }
|
|
125
|
-
]
|
|
124
|
+
{ "path": "./packages/my-lib/tsconfig.json" },
|
|
125
|
+
],
|
|
126
126
|
}
|
|
127
127
|
```
|
|
128
128
|
|
package/dom/app.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/dom/build-bundler.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/dom/build-tsc.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/dom/root.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/es/app.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/es/build-bundler.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/es/build-tsc.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/es/root.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"strict": true,
|
|
9
9
|
// Disable unused local variables.
|
|
10
10
|
"noUnusedLocals": true,
|
|
11
|
+
// Whether to treat unknown side effect imports like "import './styles.css'" as errors.
|
|
12
|
+
"noUncheckedSideEffectImports": false,
|
|
11
13
|
// Force you to use "override" keyword when overriding a method.
|
|
12
14
|
"noImplicitOverride": true,
|
|
13
15
|
// Disable fallthrough cases in switch statements.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocavue/tsconfig",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"description": "A collection of reusable TypeScript configurations",
|
|
6
6
|
"author": "ocavue <ocavue@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "bun build.ts"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/bun": "^1.3.
|
|
31
|
-
"prettier": "^3.
|
|
30
|
+
"@types/bun": "^1.3.10",
|
|
31
|
+
"prettier": "^3.8.1"
|
|
32
32
|
}
|
|
33
33
|
}
|