create-tsdown 0.21.7 → 0.21.9

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 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
@@ -32,6 +32,10 @@ const templateOptions = [
32
32
  {
33
33
  value: "svelte",
34
34
  label: "Svelte"
35
+ },
36
+ {
37
+ value: "vite-plus",
38
+ label: "Vite Plus"
35
39
  }
36
40
  ];
37
41
  /**
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.7").help();
8
+ const cli = cac("create-tsdown").version("0.21.9").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.7",
4
+ "version": "0.21.9",
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.1.0",
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"