@4mbl/tsconfig 0.0.0-beta.a033250 → 0.0.0-beta.a562e8f
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 +59 -41
- package/README.md +9 -4
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,41 +1,59 @@
|
|
|
1
|
-
# @4mbl/tsconfig Changelog
|
|
2
|
-
|
|
3
|
-
## 4.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## 4.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
# @4mbl/tsconfig Changelog
|
|
2
|
+
|
|
3
|
+
## 4.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ce274df: node-ts: add rewriteRelativeImportExtensions
|
|
8
|
+
|
|
9
|
+
## 4.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 090f642: Add node-ts template.
|
|
14
|
+
|
|
15
|
+
## 4.1.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 0957212: Migrate to monorepo setup internally. No changes to the package itself.
|
|
20
|
+
|
|
21
|
+
## 4.1.2
|
|
22
|
+
|
|
23
|
+
- Setup npm trusted publishing. No changes to the package itself.
|
|
24
|
+
|
|
25
|
+
## 4.1.1
|
|
26
|
+
|
|
27
|
+
- Fixed missing artifacts in the previous release.
|
|
28
|
+
|
|
29
|
+
## 4.1.0
|
|
30
|
+
|
|
31
|
+
- Add vite-react template.
|
|
32
|
+
|
|
33
|
+
## 4.0.1
|
|
34
|
+
|
|
35
|
+
- Move `baseUrl` definition from the base template to child templates to improve Next.js support.
|
|
36
|
+
|
|
37
|
+
## 4.0.0
|
|
38
|
+
|
|
39
|
+
- Migrated from versioned templates to a single template per type. The package version is now used to determine the template version. This simplifies both the maintenance and usage of the package.
|
|
40
|
+
- Enabled the following options in the base template:
|
|
41
|
+
- `declarationMap`
|
|
42
|
+
- `tsBuildInfoFile` set to `node_modules/.tmp/tsbuildinfo`
|
|
43
|
+
- `verbatimModuleSyntax`
|
|
44
|
+
- `allowSyntheticDefaultImports`
|
|
45
|
+
- `noImplicitOverride`
|
|
46
|
+
- In the Next.js all paths now use paths relative to the project.
|
|
47
|
+
- Removed `tsBuildInfoFile` from browser template in favor of the base template value.
|
|
48
|
+
|
|
49
|
+
## 3.0.0
|
|
50
|
+
|
|
51
|
+
- Enabled `erasableSyntaxOnly` option in the base template. Requires TypeScript 5.8.0+.
|
|
52
|
+
|
|
53
|
+
## 2.0.0
|
|
54
|
+
|
|
55
|
+
- Changed path options to use `${configDir}` instead of relative paths in base template. Requires TypeScript 5.5.0+.
|
|
56
|
+
|
|
57
|
+
## 1.0.0
|
|
58
|
+
|
|
59
|
+
- Initial release
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* [Available templates](#available-templates)
|
|
7
7
|
* [Base (tsconfig)](#base-tsconfig)
|
|
8
8
|
* [Node (tsconfig)](#node-tsconfig)
|
|
9
|
+
* [Node-TS (tsconfig)](#node-ts-tsconfig)
|
|
9
10
|
* [Browser (tsconfig)](#browser-tsconfig)
|
|
10
11
|
* [Next (tsconfig)](#next-tsconfig)
|
|
11
12
|
* [Vite React (app | node)](#vite-react-app--node)
|
|
@@ -32,7 +33,7 @@ Create a `tsconfig.json` file in the root of your project and extend the desired
|
|
|
32
33
|
|
|
33
34
|
## Available templates
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
These are the currently available `tsconfig` templates.
|
|
36
37
|
|
|
37
38
|
### Base (<kbd>[tsconfig](https://unpkg.com/@4mbl/tsconfig@latest/base.json)</kbd>)
|
|
38
39
|
|
|
@@ -42,6 +43,10 @@ This is the base `tsconfig` file that is used by the other templates. It contain
|
|
|
42
43
|
|
|
43
44
|
Extends the base template with configuration specific to Node.js.
|
|
44
45
|
|
|
46
|
+
### Node-TS (<kbd>[tsconfig](https://unpkg.com/@4mbl/tsconfig@latest/node-ts.json)</kbd>)
|
|
47
|
+
|
|
48
|
+
Extends the node template with configuration for TypeScript-only projects.
|
|
49
|
+
|
|
45
50
|
### Browser (<kbd>[tsconfig](https://unpkg.com/@4mbl/tsconfig@latest/browser.json)</kbd>)
|
|
46
51
|
|
|
47
52
|
Extends the base template with configuration specific to browser and React applications.
|
|
@@ -105,6 +110,6 @@ As of version 4.0.0, the package migrated to a single template per type. The pac
|
|
|
105
110
|
|
|
106
111
|
The package follows the following versioning scheme: `X.Y.Z`
|
|
107
112
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
113
|
+
- `X` - Breaking changes to the base template.
|
|
114
|
+
- `Y` - Breaking changes to individual, non-base templates. New templates may be introduced.
|
|
115
|
+
- `Z` - Minor fixes to any template.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4mbl/tsconfig",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.a562e8f",
|
|
4
4
|
"description": "Strict TypeScript configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
"./browser": "./dist/browser.json",
|
|
11
11
|
"./next": "./dist/next.json",
|
|
12
|
+
"./node-ts": "./dist/node-ts.json",
|
|
12
13
|
"./node": "./dist/node.json",
|
|
13
14
|
"./vite-react/app": "./dist/vite-react/app.json",
|
|
14
15
|
"./vite-react/node": "./dist/vite-react/node.json"
|