@f2e-spec-next/tsconfig 0.1.0 → 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/README.md +1 -0
- package/package.json +4 -2
- package/vue.json +10 -0
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
- `@f2e-spec-next/tsconfig/node.json`:Node.js 纯 ESM 库/服务配置(`NodeNext` + `.d.ts`)
|
|
7
7
|
- `@f2e-spec-next/tsconfig/web.json`:现代前端打包器项目配置(`Bundler` + `DOM` + `noEmit`)
|
|
8
8
|
- `@f2e-spec-next/tsconfig/react.json`:React 项目配置(继承 `web.json` + `react-jsx`)
|
|
9
|
+
- `@f2e-spec-next/tsconfig/vue.json`:Vue 3 项目配置(继承 `web.json` + `preserve` JSX + `verbatimModuleSyntax`,配合 `vue-tsc --noEmit`)
|
|
9
10
|
|
|
10
11
|
## 安装
|
|
11
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@f2e-spec-next/tsconfig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "面向现代前端与 Node.js 工程的 TypeScript 共享配置预设",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tsconfig",
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
"./base.json": "./base.json",
|
|
24
24
|
"./node.json": "./node.json",
|
|
25
25
|
"./web.json": "./web.json",
|
|
26
|
-
"./react.json": "./react.json"
|
|
26
|
+
"./react.json": "./react.json",
|
|
27
|
+
"./vue.json": "./vue.json"
|
|
27
28
|
},
|
|
28
29
|
"files": [
|
|
29
30
|
"base.json",
|
|
30
31
|
"node.json",
|
|
31
32
|
"web.json",
|
|
32
33
|
"react.json",
|
|
34
|
+
"vue.json",
|
|
33
35
|
"README.md"
|
|
34
36
|
],
|
|
35
37
|
"peerDependencies": {
|