@ocavue/tsconfig 0.1.2 → 0.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/CHANGELOG.md +14 -0
- package/README.md +8 -8
- package/{src/include → include}/src.json +3 -0
- package/package.json +1 -11
- /package/{src/dom → dom}/app.json +0 -0
- /package/{src/dom → dom}/build-bundler.json +0 -0
- /package/{src/dom → dom}/build-tsc.json +0 -0
- /package/{src/dom → dom}/root.json +0 -0
- /package/{src/es → es}/app.json +0 -0
- /package/{src/es → es}/build-bundler.json +0 -0
- /package/{src/es → es}/build-tsc.json +0 -0
- /package/{src/es → es}/root.json +0 -0
- /package/{src/include → include}/all.json +0 -0
- /package/{src/include → include}/root.json +0 -0
- /package/{src/module → module}/bundler.json +0 -0
- /package/{src/module → module}/node.json +0 -0
- /package/{src/shared → shared}/base.json +0 -0
- /package/{src/shared → shared}/dom.json +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.0](https://github.com/ocavue/tsconfig/compare/v0.1.3...v0.2.0) (2025-01-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* remove `exports` in package.json for better editor support ([#5](https://github.com/ocavue/tsconfig/issues/5)) ([ff2a020](https://github.com/ocavue/tsconfig/commit/ff2a02032935b3ac5cd0f9be9658cfba050727e6))
|
|
9
|
+
|
|
10
|
+
## [0.1.3](https://github.com/ocavue/tsconfig/compare/v0.1.2...v0.1.3) (2024-12-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* set rootDir for build-tsc ([1f6a14c](https://github.com/ocavue/tsconfig/commit/1f6a14c4eb7f9f7c0e64dfec2c0cc88d76c86090))
|
|
16
|
+
|
|
3
17
|
## [0.1.2](https://github.com/ocavue/tsconfig/compare/v0.1.1...v0.1.2) (2024-12-28)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -33,10 +33,10 @@ In `tsconfig.json`, add the following content based on your target environment.
|
|
|
33
33
|
// tsconfig.json
|
|
34
34
|
{
|
|
35
35
|
// If you're building for the browser:
|
|
36
|
-
"extends": "@ocavue/tsconfig/dom/app",
|
|
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"
|
|
39
|
+
"extends": "@ocavue/tsconfig/es/app.json"
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ In `tsconfig.json`, add the following content:
|
|
|
62
62
|
```jsonc
|
|
63
63
|
// tsconfig.json
|
|
64
64
|
{
|
|
65
|
-
"extends": "@ocavue/tsconfig/es/root",
|
|
65
|
+
"extends": "@ocavue/tsconfig/es/root.json",
|
|
66
66
|
"references": [{ "path": "./tsconfig.build.json" }]
|
|
67
67
|
}
|
|
68
68
|
```
|
|
@@ -73,16 +73,16 @@ In `tsconfig.build.json`, add the following content based on your build tool and
|
|
|
73
73
|
// tsconfig.build.json
|
|
74
74
|
{
|
|
75
75
|
// If you're building for the browser and using a bundler like esbuild, vite, tsup etc:
|
|
76
|
-
"extends": "@ocavue/tsconfig/dom/build-bundler",
|
|
76
|
+
"extends": "@ocavue/tsconfig/dom/build-bundler.json",
|
|
77
77
|
|
|
78
78
|
// If you're building for the browser and using tsc:
|
|
79
|
-
"extends": "@ocavue/tsconfig/dom/build-tsc",
|
|
79
|
+
"extends": "@ocavue/tsconfig/dom/build-tsc.json",
|
|
80
80
|
|
|
81
81
|
// If you're building for non-browser environment and using a bundler like esbuild, vite, tsup etc:
|
|
82
|
-
"extends": "@ocavue/tsconfig/es/build-bundler",
|
|
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"
|
|
85
|
+
"extends": "@ocavue/tsconfig/es/build-tsc.json"
|
|
86
86
|
}
|
|
87
87
|
```
|
|
88
88
|
|
|
@@ -118,7 +118,7 @@ In the root `tsconfig.json`, add the following content:
|
|
|
118
118
|
```jsonc
|
|
119
119
|
// tsconfig.json
|
|
120
120
|
{
|
|
121
|
-
"extends": "@ocavue/tsconfig/es/root",
|
|
121
|
+
"extends": "@ocavue/tsconfig/es/root.json",
|
|
122
122
|
"references": [
|
|
123
123
|
{ "path": "./apps/my-app/tsconfig.json" },
|
|
124
124
|
{ "path": "./packages/my-lib/tsconfig.json" }
|
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.2.0",
|
|
5
5
|
"description": "A collection of reusable TypeScript configurations",
|
|
6
6
|
"author": "ocavue <ocavue@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -17,16 +17,6 @@
|
|
|
17
17
|
"typescript",
|
|
18
18
|
"config"
|
|
19
19
|
],
|
|
20
|
-
"exports": {
|
|
21
|
-
"./es/app": "./src/es/app.json",
|
|
22
|
-
"./es/build-bundler": "./src/es/build-bundler.json",
|
|
23
|
-
"./es/build-tsc": "./src/es/build-tsc.json",
|
|
24
|
-
"./es/root": "./src/es/root.json",
|
|
25
|
-
"./dom/app": "./src/dom/app.json",
|
|
26
|
-
"./dom/build-bundler": "./src/dom/build-bundler.json",
|
|
27
|
-
"./dom/build-tsc": "./src/dom/build-tsc.json",
|
|
28
|
-
"./dom/root": "./src/dom/root.json"
|
|
29
|
-
},
|
|
30
20
|
"publishConfig": {
|
|
31
21
|
"access": "public"
|
|
32
22
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src/es → es}/app.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src/es → es}/root.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|