@bearei/tsconfig 2.0.0 → 2.1.0-dev.2
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 +33 -3
- package/README.md +5 -5
- package/README.zh-CN.md +4 -4
- package/package.json +8 -3
- package/react-native.json +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,40 @@ All notable changes to this project are documented in this file. The format is b
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 2.1.0-dev.2 — 2026-10-27
|
|
8
|
+
|
|
9
|
+
Development snapshot published under the `next` dist-tag so all three config packages stay on one
|
|
10
|
+
version line. It carries no functional changes.
|
|
11
|
+
|
|
12
|
+
Install it with `yarn add @bearei/tsconfig@next` or pin `@bearei/tsconfig@2.1.0-dev.2`.
|
|
13
|
+
|
|
14
|
+
## 2.1.0-dev.1 — 2026-10-27
|
|
15
|
+
|
|
16
|
+
Development snapshot published under the `next` dist-tag so all three config packages stay on one
|
|
17
|
+
version line. It carries no functional changes.
|
|
18
|
+
|
|
19
|
+
Install it with `yarn add @bearei/tsconfig@next` or pin `@bearei/tsconfig@2.1.0-dev.1`.
|
|
20
|
+
|
|
21
|
+
## 2.0.0-dev.3 — 2026-10-27
|
|
22
|
+
|
|
23
|
+
Development snapshot published under the `next` dist-tag to verify the unified release pipeline
|
|
24
|
+
across all Bearei repositories: the artifact is pulled back from the registry, re-verified and
|
|
25
|
+
attached to the GitHub release. It matches the 2.0.0 scope documented below and leaves the
|
|
26
|
+
`latest` dist-tag unchanged.
|
|
27
|
+
|
|
28
|
+
Install it with `yarn add @bearei/tsconfig@next` or pin `@bearei/tsconfig@2.0.0-dev.3`.
|
|
29
|
+
|
|
30
|
+
## 2.0.0-dev.2 — 2026-10-27
|
|
31
|
+
|
|
32
|
+
Development snapshot published under the `next` dist-tag to verify the npm trusted publishing
|
|
33
|
+
pipeline. It matches the 2.0.0 scope documented below and leaves the `latest` dist-tag unchanged.
|
|
34
|
+
|
|
35
|
+
Install it with `yarn add @bearei/tsconfig@next` or pin `@bearei/tsconfig@2.0.0-dev.2`.
|
|
36
|
+
|
|
7
37
|
## 2.0.0 — 2026-10-26
|
|
8
38
|
|
|
9
39
|
### Added
|
|
10
40
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
41
|
+
- `base.json` with the interop and library-check options shared by every Bearei project.
|
|
42
|
+
- `node.json` for NestJS and Node libraries, moving the previous `@bearei/nest` compiler options into a reusable preset.
|
|
43
|
+
- `react-native.json` for React Native projects, extending `@react-native/typescript-config` with the Bearei decorator, library and `verbatimModuleSyntax` settings.
|
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Shared TypeScript presets for Bearei projects. Extend a preset by path; no build step is involved.
|
|
4
4
|
|
|
5
|
-
| Preset | Use for
|
|
6
|
-
| ------------------- |
|
|
7
|
-
| `base.json` | Interop and library-check defaults
|
|
8
|
-
| `node.json` | NestJS / Node libraries and services
|
|
9
|
-
| `react-native.json` | React Native and React Native Web apps
|
|
5
|
+
| Preset | Use for |
|
|
6
|
+
| ------------------- | -------------------------------------- |
|
|
7
|
+
| `base.json` | Interop and library-check defaults |
|
|
8
|
+
| `node.json` | NestJS / Node libraries and services |
|
|
9
|
+
| `react-native.json` | React Native and React Native Web apps |
|
|
10
10
|
|
|
11
11
|
English | [中文](./README.zh-CN.md)
|
|
12
12
|
|
package/README.zh-CN.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Bearei 项目的共享 TypeScript 预设。按路径 `extends` 即可,不需要构建。
|
|
4
4
|
|
|
5
|
-
| 预设 | 适用场景
|
|
6
|
-
| ------------------- |
|
|
7
|
-
| `base.json` | 互操作与库检查的公共默认值
|
|
8
|
-
| `node.json` | NestJS / Node 库与服务
|
|
5
|
+
| 预设 | 适用场景 |
|
|
6
|
+
| ------------------- | ------------------------------------- |
|
|
7
|
+
| `base.json` | 互操作与库检查的公共默认值 |
|
|
8
|
+
| `node.json` | NestJS / Node 库与服务 |
|
|
9
9
|
| `react-native.json` | React Native 与 React Native Web 应用 |
|
|
10
10
|
|
|
11
11
|
[English](./README.md) | 中文
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bearei/tsconfig",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-dev.2",
|
|
4
4
|
"description": "Shared TypeScript configurations for Bearei projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bearei",
|
|
@@ -21,9 +21,14 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"base.json",
|
|
23
23
|
"node.json",
|
|
24
|
-
"react-native.json"
|
|
25
|
-
"CHANGELOG.md"
|
|
24
|
+
"react-native.json"
|
|
26
25
|
],
|
|
26
|
+
"exports": {
|
|
27
|
+
"./base.json": "./base.json",
|
|
28
|
+
"./node.json": "./node.json",
|
|
29
|
+
"./package.json": "./package.json",
|
|
30
|
+
"./react-native.json": "./react-native.json"
|
|
31
|
+
},
|
|
27
32
|
"engines": {
|
|
28
33
|
"node": ">=20"
|
|
29
34
|
},
|
package/react-native.json
CHANGED
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
"compilerOptions": {
|
|
6
6
|
"emitDecoratorMetadata": true,
|
|
7
7
|
"experimentalDecorators": true,
|
|
8
|
-
"lib": [
|
|
9
|
-
"ES2020",
|
|
10
|
-
"DOM",
|
|
11
|
-
"DOM.Iterable"
|
|
12
|
-
],
|
|
8
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
13
9
|
"strictNullChecks": true,
|
|
14
10
|
"strictPropertyInitialization": false,
|
|
15
11
|
"verbatimModuleSyntax": true
|