@bjmhe/viteplus-preset-pack 2.0.2 → 2.0.4
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 -15
- package/package.json +12 -15
- package/tsconfig.json +0 -20
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> inspired by `tsdown-preset-sxzz`
|
|
10
10
|
|
|
11
|
-
A
|
|
11
|
+
A Tsdown preset for creating a TypeScript package.
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
@@ -17,20 +17,6 @@ A Vite Plus preset for creating a TypeScript package.
|
|
|
17
17
|
vp add @bjmhe/viteplus-preset-pack
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
<!-- automd:file src="./examples/vite.config.lib.ts" code lang="ts" -->
|
|
23
|
-
|
|
24
|
-
<!-- ⚠️ (file) ENOENT: no such file or directory, open '/home/runner/work/viteplus-preset-pack/viteplus-preset-pack/examples/vite.config.lib.ts' -->
|
|
25
|
-
|
|
26
|
-
<!-- /automd -->
|
|
27
|
-
|
|
28
|
-
<!-- automd:file src="./examples/vite.config.nodelib.ts" code lang="ts" -->
|
|
29
|
-
|
|
30
|
-
<!-- ⚠️ (file) ENOENT: no such file or directory, open '/home/runner/work/viteplus-preset-pack/viteplus-preset-pack/examples/vite.config.nodelib.ts' -->
|
|
31
|
-
|
|
32
|
-
<!-- /automd -->
|
|
33
|
-
|
|
34
20
|
## Licenses
|
|
35
21
|
|
|
36
22
|
<!-- automd:contributors markupGoLogo anon author="bjmhe" license="MIT" -->
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bjmhe/viteplus-preset-pack",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "2.0.4",
|
|
4
|
+
"description": "A Tsdown preset for creating a TypeScript package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"package",
|
|
7
7
|
"preset",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"tsdown",
|
|
9
|
+
"tsdown-preset",
|
|
10
|
+
"typescript"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://github.com/bjmhe/viteplus-preset-pack#readme",
|
|
13
13
|
"bugs": {
|
|
@@ -20,9 +20,7 @@
|
|
|
20
20
|
"url": "git+https://github.com/bjmhe/viteplus-preset-pack.git"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
|
-
"dist"
|
|
24
|
-
"README.md",
|
|
25
|
-
"tsconfig.json"
|
|
23
|
+
"dist"
|
|
26
24
|
],
|
|
27
25
|
"type": "module",
|
|
28
26
|
"sideEffects": false,
|
|
@@ -37,22 +35,21 @@
|
|
|
37
35
|
"access": "public"
|
|
38
36
|
},
|
|
39
37
|
"dependencies": {
|
|
40
|
-
"@bjmhe/viteplus-preset": "^1.0.7"
|
|
38
|
+
"@bjmhe/viteplus-preset": "^1.0.7",
|
|
39
|
+
"tsnapi": "^0.3.3"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
42
|
+
"@arethetypeswrong/core": "^0.18.2",
|
|
43
43
|
"@types/node": "^25.6.2",
|
|
44
44
|
"@typescript/native-preview": "7.0.0-dev.20260527.2",
|
|
45
45
|
"@vitest/coverage-v8": "^4.1.7",
|
|
46
46
|
"automd": "^0.4.3",
|
|
47
47
|
"bumpp": "^11.1.0",
|
|
48
|
-
"
|
|
48
|
+
"publint": "^0.3.21",
|
|
49
|
+
"typescript": "^6.0.3",
|
|
50
|
+
"unplugin-unused": "^0.5.7"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
|
-
"@arethetypeswrong/core": "^0.18.2",
|
|
52
|
-
"publint": "^0.3.21",
|
|
53
|
-
"tsdown": "^0.22.0",
|
|
54
|
-
"tsnapi": "^0.3.3",
|
|
55
|
-
"unplugin-unused": "^0.5.7",
|
|
56
53
|
"vite-plus": "^0.1.20"
|
|
57
54
|
},
|
|
58
55
|
"engines": {
|
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"lib": ["es2023"],
|
|
5
|
-
"moduleDetection": "force",
|
|
6
|
-
"module": "preserve",
|
|
7
|
-
"moduleResolution": "bundler",
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"types": ["node"],
|
|
10
|
-
"strict": true,
|
|
11
|
-
"noUnusedLocals": true,
|
|
12
|
-
"declaration": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"allowImportingTsExtensions": true,
|
|
15
|
-
"esModuleInterop": true,
|
|
16
|
-
"isolatedModules": true,
|
|
17
|
-
"verbatimModuleSyntax": true,
|
|
18
|
-
"skipLibCheck": true
|
|
19
|
-
}
|
|
20
|
-
}
|