create-tsdown 0.17.0-beta.3 → 0.17.0-beta.5

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.
Files changed (2) hide show
  1. package/dist/run.mjs +2 -2
  2. package/package.json +3 -2
package/dist/run.mjs CHANGED
@@ -6,12 +6,12 @@ import { cac } from "cac";
6
6
 
7
7
  //#region package.json
8
8
  var name = "create-tsdown";
9
- var version = "0.17.0-beta.3";
9
+ var version = "0.17.0-beta.5";
10
10
 
11
11
  //#endregion
12
12
  //#region src/cli.ts
13
13
  const cli = cac(name).version(version).help();
14
- cli.command("[path]", "Create a tsdown project", { ignoreOptionDefaultValue: true }).option("-t, --template <template>", `Available templates: ${templateOptions.map((option) => option.value).join(", ")}`).action((path, options) => create(path, options));
14
+ 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));
15
15
  async function runCLI() {
16
16
  cli.parse(process.argv, { run: false });
17
17
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tsdown",
3
- "version": "0.17.0-beta.3",
3
+ "version": "0.17.0-beta.5",
4
4
  "description": "Create a new tsdown project",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -50,6 +50,7 @@
50
50
  "node": ">=20.19.0"
51
51
  },
52
52
  "scripts": {
53
- "dev": "node ./src/run.ts"
53
+ "dev": "node ./src/run.ts",
54
+ "build": "unrun ../../src/run.ts -c ../../tsdown.config.ts -F ."
54
55
  }
55
56
  }