@ocavue/tsconfig 0.1.3 → 0.3.3
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/.github/actions/setup/action.yml +2 -4
- package/CHANGELOG.md +35 -0
- package/README.md +8 -8
- package/{src/es → es}/app.json +1 -2
- package/{src/es → es}/build-bundler.json +1 -2
- package/{src/es → es}/build-tsc.json +2 -1
- package/{src/es → es}/root.json +1 -2
- 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/include → include}/all.json +0 -0
- /package/{src/include → include}/root.json +0 -0
- /package/{src/include → include}/src.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
|
@@ -5,14 +5,12 @@ inputs:
|
|
|
5
5
|
node-version:
|
|
6
6
|
description: The version of node.js
|
|
7
7
|
required: false
|
|
8
|
-
default: '
|
|
8
|
+
default: '20'
|
|
9
9
|
|
|
10
10
|
runs:
|
|
11
11
|
using: composite
|
|
12
12
|
steps:
|
|
13
|
-
-
|
|
14
|
-
run: corepack enable
|
|
15
|
-
shell: bash
|
|
13
|
+
- uses: pnpm/action-setup@v4
|
|
16
14
|
|
|
17
15
|
- name: Setup node
|
|
18
16
|
uses: actions/setup-node@v4
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.3](https://github.com/ocavue/tsconfig/compare/v0.3.2...v0.3.3) (2025-04-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* put `tsBuildInfoFile` under `dist/` ([#13](https://github.com/ocavue/tsconfig/issues/13)) ([8d1f1d4](https://github.com/ocavue/tsconfig/commit/8d1f1d410c804a66a3b31dce92dd12d17e8faa55))
|
|
9
|
+
|
|
10
|
+
## [0.3.2](https://github.com/ocavue/tsconfig/compare/v0.3.1...v0.3.2) (2025-04-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* trigger a release ([#11](https://github.com/ocavue/tsconfig/issues/11)) ([d908ad4](https://github.com/ocavue/tsconfig/commit/d908ad4f56b97b2a3ad3b8447153f2728bd94cac))
|
|
16
|
+
|
|
17
|
+
## [0.3.1](https://github.com/ocavue/tsconfig/compare/v0.3.0...v0.3.1) (2025-04-11)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* tweak `outDir` paths ([#9](https://github.com/ocavue/tsconfig/issues/9)) ([2613270](https://github.com/ocavue/tsconfig/commit/2613270b453f9e1775990b391ca8295587716d41))
|
|
23
|
+
|
|
24
|
+
## [0.3.0](https://github.com/ocavue/tsconfig/compare/v0.2.0...v0.3.0) (2025-04-11)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* remove explicit `tsBuildInfoFile` ([#7](https://github.com/ocavue/tsconfig/issues/7)) ([8f87eb1](https://github.com/ocavue/tsconfig/commit/8f87eb194ebb354be8f07844575d43d23b3b1c86))
|
|
30
|
+
|
|
31
|
+
## [0.2.0](https://github.com/ocavue/tsconfig/compare/v0.1.3...v0.2.0) (2025-01-10)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* 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))
|
|
37
|
+
|
|
3
38
|
## [0.1.3](https://github.com/ocavue/tsconfig/compare/v0.1.2...v0.1.3) (2024-12-28)
|
|
4
39
|
|
|
5
40
|
|
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/{src/es → es}/app.json
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/app"
|
|
5
|
-
"tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/app/tsconfig.tsbuildinfo"
|
|
4
|
+
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/app/out"
|
|
6
5
|
},
|
|
7
6
|
"extends": [
|
|
8
7
|
"../shared/base.json",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/build-bundler"
|
|
5
|
-
"tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/build-bundler/tsconfig.tsbuildinfo"
|
|
4
|
+
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/build-bundler/out"
|
|
6
5
|
},
|
|
7
6
|
"extends": [
|
|
8
7
|
"../shared/base.json",
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "${configDir}/dist",
|
|
5
|
-
|
|
5
|
+
// By default, ._* paths are ignored by npm publish.
|
|
6
|
+
"tsBuildInfoFile": "${configDir}/dist/._cache/tsconfig/tsconfig.tsbuildinfo"
|
|
6
7
|
},
|
|
7
8
|
"extends": [
|
|
8
9
|
"../shared/base.json",
|
package/{src/es → es}/root.json
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/root"
|
|
5
|
-
"tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/root/tsconfig.tsbuildinfo"
|
|
4
|
+
"outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/root/out"
|
|
6
5
|
},
|
|
7
6
|
"extends": [
|
|
8
7
|
"../shared/base.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.3.3",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|