create-tsdown 0.21.0-beta.3 → 0.21.0-beta.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 +47 -0
- package/dist/run.mjs +1 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# create-tsdown
|
|
2
|
+
|
|
3
|
+
[![npm version][npmx-version-src]][npmx-href]
|
|
4
|
+
[![npm downloads][npmx-downloads-src]][npmx-href]
|
|
5
|
+
|
|
6
|
+
Scaffolding tool to create a new [tsdown](https://tsdown.dev) project.
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
# npm
|
|
12
|
+
npm create tsdown@latest
|
|
13
|
+
|
|
14
|
+
# pnpm
|
|
15
|
+
pnpm create tsdown@latest
|
|
16
|
+
|
|
17
|
+
# yarn
|
|
18
|
+
yarn create tsdown
|
|
19
|
+
|
|
20
|
+
# bun
|
|
21
|
+
bun create tsdown
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Options
|
|
25
|
+
|
|
26
|
+
- `[path]` - Project directory (prompted interactively if omitted)
|
|
27
|
+
- `-t, --template <template>` - Template to use
|
|
28
|
+
|
|
29
|
+
### Templates
|
|
30
|
+
|
|
31
|
+
- `default` - Default template
|
|
32
|
+
- `minimal` - Minimal setup
|
|
33
|
+
- `vue` - Vue library
|
|
34
|
+
- `react` - React library
|
|
35
|
+
- `react-compiler` - React with React Compiler
|
|
36
|
+
- `solid` - Solid.js library
|
|
37
|
+
- `svelte` - Svelte library
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
[MIT](../../LICENSE)
|
|
42
|
+
|
|
43
|
+
<!-- Badges -->
|
|
44
|
+
|
|
45
|
+
[npmx-version-src]: https://npmx.dev/api/registry/badge/version/create-tsdown
|
|
46
|
+
[npmx-downloads-src]: https://npmx.dev/api/registry/badge/downloads-month/create-tsdown
|
|
47
|
+
[npmx-href]: https://npmx.dev/create-tsdown
|
package/dist/run.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-tsdown",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.21.0-beta.
|
|
4
|
+
"version": "0.21.0-beta.4",
|
|
5
5
|
"description": "Create a new tsdown project",
|
|
6
6
|
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=20.19.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@clack/prompts": "^1.0
|
|
45
|
+
"@clack/prompts": "^1.1.0",
|
|
46
46
|
"cac": "^7.0.0",
|
|
47
47
|
"giget": "^3.1.2",
|
|
48
48
|
"package-manager-detector": "^1.6.0"
|