create-tsdown 0.21.6 → 0.21.8
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/dist/index.d.mts +3 -0
- package/dist/index.mjs +4 -0
- package/dist/run.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -20,6 +20,9 @@ declare const templateOptions: readonly [{
|
|
|
20
20
|
}, {
|
|
21
21
|
readonly value: "svelte";
|
|
22
22
|
readonly label: "Svelte";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "vite-plus";
|
|
25
|
+
readonly label: "Vite Plus";
|
|
23
26
|
}];
|
|
24
27
|
type TemplateOption = (typeof templateOptions)[number]["value"];
|
|
25
28
|
interface Options {
|
package/dist/index.mjs
CHANGED
package/dist/run.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { log } from "@clack/prompts";
|
|
|
5
5
|
import { cac } from "cac";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/cli.ts
|
|
8
|
-
const cli = cac("create-tsdown").version("0.21.
|
|
8
|
+
const cli = cac("create-tsdown").version("0.21.8").help();
|
|
9
9
|
cli.command("[path]", "Create a tsdown project").option("-t, --template <template>", `Available templates: ${templateOptions.map((option) => option.value).join(", ")}`).action((path, options) => create(path, options));
|
|
10
10
|
async function runCLI() {
|
|
11
11
|
cli.parse(process.argv, { run: false });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-tsdown",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.21.
|
|
4
|
+
"version": "0.21.8",
|
|
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.
|
|
45
|
+
"@clack/prompts": "^1.2.0",
|
|
46
46
|
"cac": "^7.0.0",
|
|
47
47
|
"giget": "^3.2.0",
|
|
48
48
|
"package-manager-detector": "^1.6.0"
|