@vitavision/config-ts 0.1.1 → 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 +5 -1
- package/package.json +28 -7
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Shared TypeScript compiler options and a tsdown library preset for the `@vitavis
|
|
|
4
4
|
frontends.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
bun add -d @vitavision/config-ts typescript@^
|
|
7
|
+
bun add -d @vitavision/config-ts typescript@^7.0.2
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## App
|
|
@@ -39,6 +39,10 @@ import { library } from "@vitavision/config-ts/tsdown";
|
|
|
39
39
|
export default library(); // ESM + declarations from src/index.ts; pass overrides to change it
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
With TypeScript 7, tsdown emits the declarations with the native compiler (its `tsgo`
|
|
43
|
+
generator) and logs that this path is experimental. It reads the options from
|
|
44
|
+
`tsconfig.json`, so put declaration options there rather than in `dts` overrides.
|
|
45
|
+
|
|
42
46
|
## License
|
|
43
47
|
|
|
44
48
|
MIT OR Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,19 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitavision/config-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared TypeScript compiler options and tsdown library preset for vitavision frontends.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
|
-
"repository": {
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/VitalyVorobyev/lab-ui.git",
|
|
9
|
+
"directory": "packages/config/ts"
|
|
10
|
+
},
|
|
7
11
|
"type": "module",
|
|
8
12
|
"sideEffects": false,
|
|
9
|
-
"files": [
|
|
13
|
+
"files": [
|
|
14
|
+
"tsconfig.json",
|
|
15
|
+
"tsconfig.lib.json",
|
|
16
|
+
"tsdown.js",
|
|
17
|
+
"tsdown.d.ts"
|
|
18
|
+
],
|
|
10
19
|
"exports": {
|
|
11
20
|
"./tsconfig.json": "./tsconfig.json",
|
|
12
21
|
"./tsconfig.lib.json": "./tsconfig.lib.json",
|
|
13
|
-
"./tsdown": {
|
|
22
|
+
"./tsdown": {
|
|
23
|
+
"types": "./tsdown.d.ts",
|
|
24
|
+
"default": "./tsdown.js"
|
|
25
|
+
},
|
|
14
26
|
"./package.json": "./package.json"
|
|
15
27
|
},
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"typescript": "^7.0.2",
|
|
33
|
+
"tsdown": "0.23.0"
|
|
34
|
+
},
|
|
35
|
+
"peerDependenciesMeta": {
|
|
36
|
+
"tsdown": {
|
|
37
|
+
"optional": true
|
|
38
|
+
}
|
|
39
|
+
}
|
|
19
40
|
}
|