create-uni-app-tailwindcss 0.1.3 → 0.1.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.
package/dist/cli.js CHANGED
@@ -1,150 +1,150 @@
1
1
  #!/usr/bin/env node
2
-
3
- // src/cli.ts
4
- import { cp, mkdir, readFile, readdir, rm, writeFile } from "fs/promises";
5
- import { fileURLToPath } from "url";
6
- import path from "path";
7
- import process from "process";
2
+ import { cp, mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
3
+ import { fileURLToPath } from "node:url";
4
+ import path from "node:path";
5
+ import process from "node:process";
8
6
  import prompts from "prompts";
9
- var templatesRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "templates");
10
- var options = parseArgs(process.argv.slice(2));
11
- var targetArg = options.target;
12
- var targetDir = path.resolve(process.cwd(), targetArg ?? "uni-app-tailwindcss-app");
13
- var projectName = path.basename(targetDir);
7
+ //#region src/cli.ts
8
+ const templatesRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "templates");
9
+ const options = parseArgs(process.argv.slice(2));
10
+ const targetArg = options.target;
11
+ const targetDir = path.resolve(process.cwd(), targetArg ?? "uni-app-tailwindcss-app");
12
+ const projectName = path.basename(targetDir);
14
13
  async function main() {
15
- const registry = await loadTemplateRegistry();
16
- const template = await resolveTemplate(registry, options.template);
17
- const packageManager = await resolvePackageManager(options.packageManager);
18
- if (await exists(targetDir)) {
19
- const result = await prompts({
20
- type: "confirm",
21
- name: "overwrite",
22
- message: `Directory ${projectName} exists. Overwrite it?`,
23
- initial: false
24
- });
25
- if (!result.overwrite) return;
26
- await rm(targetDir, { recursive: true, force: true });
27
- }
28
- await mkdir(targetDir, { recursive: true });
29
- await copyTemplate(path.join(templatesRoot, template.id), targetDir);
30
- await renamePackage(targetDir, projectName);
31
- console.log(`Created ${projectName}`);
32
- console.log(`Template: ${template.id}`);
33
- console.log(`cd ${projectName}`);
34
- console.log(`${packageManager} install`);
35
- console.log(`${packageManager} dev:h5`);
14
+ const template = await resolveTemplate(await loadTemplateRegistry(), options.template);
15
+ const packageManager = await resolvePackageManager(options.packageManager);
16
+ if (await exists(targetDir)) {
17
+ if (!(await prompts({
18
+ type: "confirm",
19
+ name: "overwrite",
20
+ message: `Directory ${projectName} exists. Overwrite it?`,
21
+ initial: false
22
+ })).overwrite) return;
23
+ await rm(targetDir, {
24
+ recursive: true,
25
+ force: true
26
+ });
27
+ }
28
+ await mkdir(targetDir, { recursive: true });
29
+ await copyTemplate(path.join(templatesRoot, template.id), targetDir);
30
+ await renamePackage(targetDir, projectName);
31
+ console.log(`Created ${projectName}`);
32
+ console.log(`Template: ${template.id}`);
33
+ console.log(`cd ${projectName}`);
34
+ console.log(`${packageManager} install`);
35
+ console.log(`${packageManager} dev:h5`);
36
36
  }
37
37
  async function loadTemplateRegistry() {
38
- return JSON.parse(await readFile(path.join(templatesRoot, "registry.json"), "utf8"));
38
+ return JSON.parse(await readFile(path.join(templatesRoot, "registry.json"), "utf8"));
39
39
  }
40
40
  async function copyTemplate(source, target) {
41
- const entries = await readdir(source, { withFileTypes: true });
42
- for (const entry of entries) {
43
- const sourcePath = path.join(source, entry.name);
44
- const targetName = entry.name === "_npmrc" ? ".npmrc" : entry.name;
45
- const targetPath = path.join(target, targetName);
46
- if (entry.isDirectory()) {
47
- await mkdir(targetPath, { recursive: true });
48
- await copyTemplate(sourcePath, targetPath);
49
- continue;
50
- }
51
- await cp(sourcePath, targetPath);
52
- }
41
+ const entries = await readdir(source, { withFileTypes: true });
42
+ for (const entry of entries) {
43
+ const sourcePath = path.join(source, entry.name);
44
+ const targetName = entry.name === "_npmrc" ? ".npmrc" : entry.name;
45
+ const targetPath = path.join(target, targetName);
46
+ if (entry.isDirectory()) {
47
+ await mkdir(targetPath, { recursive: true });
48
+ await copyTemplate(sourcePath, targetPath);
49
+ continue;
50
+ }
51
+ await cp(sourcePath, targetPath);
52
+ }
53
53
  }
54
- async function renamePackage(targetDir2, name) {
55
- const pkgPath = path.join(targetDir2, "package.json");
56
- const pkg = JSON.parse(await readFile(pkgPath, "utf8"));
57
- pkg.name = name;
58
- await writeFile(pkgPath, `${JSON.stringify(pkg, null, 2)}
59
- `);
54
+ async function renamePackage(targetDir, name) {
55
+ const pkgPath = path.join(targetDir, "package.json");
56
+ const pkg = JSON.parse(await readFile(pkgPath, "utf8"));
57
+ pkg.name = name;
58
+ await writeFile(pkgPath, `${JSON.stringify(pkg, null, 2)}\n`);
60
59
  }
61
60
  async function exists(filePath) {
62
- try {
63
- await readdir(filePath);
64
- return true;
65
- } catch {
66
- return false;
67
- }
61
+ try {
62
+ await readdir(filePath);
63
+ return true;
64
+ } catch {
65
+ return false;
66
+ }
68
67
  }
69
68
  function parseArgs(args) {
70
- let packageManager;
71
- let template;
72
- let target;
73
- for (let index = 0; index < args.length; index += 1) {
74
- const arg = args[index];
75
- if (arg === "--") {
76
- continue;
77
- }
78
- if (arg === "--pm" || arg === "--package-manager") {
79
- packageManager = args[index + 1];
80
- index += 1;
81
- continue;
82
- }
83
- if (arg.startsWith("--pm=")) {
84
- packageManager = arg.slice("--pm=".length);
85
- continue;
86
- }
87
- if (arg.startsWith("--package-manager=")) {
88
- packageManager = arg.slice("--package-manager=".length);
89
- continue;
90
- }
91
- if (arg === "--template") {
92
- template = args[index + 1];
93
- index += 1;
94
- continue;
95
- }
96
- if (arg.startsWith("--template=")) {
97
- template = arg.slice("--template=".length);
98
- continue;
99
- }
100
- if (!arg.startsWith("-") && !target) {
101
- target = arg;
102
- }
103
- }
104
- return { packageManager, target, template };
69
+ let packageManager;
70
+ let template;
71
+ let target;
72
+ for (let index = 0; index < args.length; index += 1) {
73
+ const arg = args[index];
74
+ if (arg === "--") continue;
75
+ if (arg === "--pm" || arg === "--package-manager") {
76
+ packageManager = args[index + 1];
77
+ index += 1;
78
+ continue;
79
+ }
80
+ if (arg.startsWith("--pm=")) {
81
+ packageManager = arg.slice(5);
82
+ continue;
83
+ }
84
+ if (arg.startsWith("--package-manager=")) {
85
+ packageManager = arg.slice(18);
86
+ continue;
87
+ }
88
+ if (arg === "--template") {
89
+ template = args[index + 1];
90
+ index += 1;
91
+ continue;
92
+ }
93
+ if (arg.startsWith("--template=")) {
94
+ template = arg.slice(11);
95
+ continue;
96
+ }
97
+ if (!arg.startsWith("-") && !target) target = arg;
98
+ }
99
+ return {
100
+ packageManager,
101
+ target,
102
+ template
103
+ };
105
104
  }
106
105
  async function resolveTemplate(registry, templateId) {
107
- if (templateId) {
108
- const template = registry.templates.find((item) => item.id === templateId);
109
- if (!template) {
110
- throw new Error(`Unknown template "${templateId}". Available templates: ${registry.templates.map((item) => item.id).join(", ")}`);
111
- }
112
- return template;
113
- }
114
- if (!process.stdin.isTTY || registry.templates.length === 1) {
115
- return registry.templates.find((item) => item.id === registry.defaultTemplate) ?? registry.templates[0];
116
- }
117
- const response = await prompts({
118
- type: "select",
119
- name: "template",
120
- message: "Template",
121
- choices: registry.templates.map((template) => ({
122
- description: template.description,
123
- title: template.name,
124
- value: template.id
125
- })),
126
- initial: Math.max(0, registry.templates.findIndex((item) => item.id === registry.defaultTemplate))
127
- });
128
- return registry.templates.find((item) => item.id === response.template) ?? registry.templates.find((item) => item.id === registry.defaultTemplate) ?? registry.templates[0];
106
+ if (templateId) {
107
+ const template = registry.templates.find((item) => item.id === templateId);
108
+ if (!template) throw new Error(`Unknown template "${templateId}". Available templates: ${registry.templates.map((item) => item.id).join(", ")}`);
109
+ return template;
110
+ }
111
+ if (!process.stdin.isTTY || registry.templates.length === 1) return registry.templates.find((item) => item.id === registry.defaultTemplate) ?? registry.templates[0];
112
+ const response = await prompts({
113
+ type: "select",
114
+ name: "template",
115
+ message: "Template",
116
+ choices: registry.templates.map((template) => ({
117
+ description: template.description,
118
+ title: template.name,
119
+ value: template.id
120
+ })),
121
+ initial: Math.max(0, registry.templates.findIndex((item) => item.id === registry.defaultTemplate))
122
+ });
123
+ return registry.templates.find((item) => item.id === response.template) ?? registry.templates.find((item) => item.id === registry.defaultTemplate) ?? registry.templates[0];
129
124
  }
130
125
  async function resolvePackageManager(packageManager) {
131
- const managers = ["pnpm", "npm", "yarn", "bun"];
132
- if (packageManager && managers.includes(packageManager)) {
133
- return packageManager;
134
- }
135
- if (!process.stdin.isTTY) {
136
- return "pnpm";
137
- }
138
- const response = await prompts({
139
- type: "select",
140
- name: "packageManager",
141
- message: "Package manager",
142
- choices: managers.map((manager) => ({ title: manager, value: manager })),
143
- initial: 0
144
- });
145
- return response.packageManager ?? "pnpm";
126
+ const managers = [
127
+ "pnpm",
128
+ "npm",
129
+ "yarn",
130
+ "bun"
131
+ ];
132
+ if (packageManager && managers.includes(packageManager)) return packageManager;
133
+ if (!process.stdin.isTTY) return "pnpm";
134
+ return (await prompts({
135
+ type: "select",
136
+ name: "packageManager",
137
+ message: "Package manager",
138
+ choices: managers.map((manager) => ({
139
+ title: manager,
140
+ value: manager
141
+ })),
142
+ initial: 0
143
+ })).packageManager ?? "pnpm";
146
144
  }
147
145
  main().catch((error) => {
148
- console.error(error instanceof Error ? error.message : String(error));
149
- process.exitCode = 1;
146
+ console.error(error instanceof Error ? error.message : String(error));
147
+ process.exitCode = 1;
150
148
  });
149
+ //#endregion
150
+ export {};
@@ -15,7 +15,7 @@
15
15
  - `Vue 3`
16
16
  - `Tailwind CSS v4`
17
17
  - `weapp-tailwindcss`
18
- - `pnpm`
18
+ - `pnpm 12.14.0`
19
19
 
20
20
  > 当前主分支是 `tailwindcss@4` 版本;如果需要 `tailwindcss@3` 版本,请切换到 `tailwindcss@3` 分支。
21
21
 
@@ -32,8 +32,8 @@
32
32
 
33
33
  ## 使用前提
34
34
 
35
- - Node.js `22+`
36
- - `pnpm`
35
+ - Node.js `^22.18.0 || >=24.11.0`
36
+ - `pnpm 12.14.0`
37
37
  - 微信开发者工具,用于微信小程序
38
38
  - HBuilderX `5.0+`,用于 Android 和 iOS App 调试
39
39
  - Android SDK、模拟器或已开启调试的 Android 设备
@@ -134,7 +134,13 @@ pnpm update:deps
134
134
  pnpm update:uni-app
135
135
  ```
136
136
 
137
- uni-app 的兼容性集合不仅包括 `@dcloudio/*`,还包括 `vue`、`vue-i18n`、`@vue/runtime-core`、`@vue/shared`、`vite` 和 `rollup`。不要用通用更新命令单独升级这些包;`update:uni-app` 会通过 UVM 让编译器相关版本保持一致。
137
+ uni-app 的兼容性集合不仅包括 `@dcloudio/*`,还包括 `vue`、`vue-i18n`、`@vue/runtime-core`、`@vue/shared`、`pinia`、`vite` 和 `rollup`。不要用通用更新命令单独升级这些包;`update:uni-app` 会通过 UVM 更新编译器相关版本;Pinia 需另外核对跨端 Vue 运行时要求。
138
+
139
+ ### 当前依赖兼容边界
140
+
141
+ 当前正式版 uni-app 为 `3.0.0-5020620260917001`。Vue、`@vue/runtime-core` 和 `@vue/shared` 固定为 `3.4.21`,与 DCloud 内置编译器及 `@vue/server-renderer` 保持一致;Vite `5.2.8`、Rollup `4.14.3` 沿用官方 UVM 配置。Pinia 保留 `2.2.4`,因为 Pinia 4 要求 Vue `^3.5.11`,高于当前跨端运行时版本。
142
+
143
+ TypeScript 保留 `6.0.3`,仓库发布工具 repoctl 当前声明支持 TypeScript 5/6。Node.js 要求 `^22.18.0 || >=24.11.0`,与 weapp-tailwindcss 5.5.11 的运行要求一致。升级时先通过 `pnpm dlx @dcloudio/uvm@latest latest --manager manual` 查看正式版组合,再执行 `pnpm update:uni-app` 并核对这些兼容约束。
138
144
 
139
145
  ## 项目级技能
140
146
 
@@ -1,8 +1,6 @@
1
1
  # 设置国内镜像地址
2
2
  # registry=http://registry.npmmirror.com/
3
- registry=http://registry.npmjs.com/
3
+ registry=https://registry.npmjs.org/
4
4
  # 这个是给 pnpm 用的
5
5
  shamefully-hoist=true
6
6
  minimum-release-age=0
7
-
8
- ignore-engines=true
@@ -6,7 +6,8 @@ export default icebreaker(
6
6
  betterTailwindcss: {
7
7
  entryPoint: './src/tailwind.css',
8
8
  },
9
- weapp: true,
9
+ // This template uses uni-app, not the Wevu runtime targeted by miniProgram.
10
+ miniProgram: false,
10
11
  },
11
12
  {
12
13
  ignores: [
@@ -25,9 +26,16 @@ export default icebreaker(
25
26
  },
26
27
  },
27
28
  {
28
- files: ['src/main.ts'],
29
- rules: {
30
- 'wevu/no-unsupported-api': 'off',
29
+ files: ['src/**/*.{js,ts,vue}'],
30
+ languageOptions: {
31
+ globals: {
32
+ uni: 'readonly',
33
+ wx: 'readonly',
34
+ my: 'readonly',
35
+ tt: 'readonly',
36
+ getApp: 'readonly',
37
+ getCurrentPages: 'readonly',
38
+ },
31
39
  },
32
40
  },
33
41
  )
@@ -2,10 +2,13 @@
2
2
  "name": "uni-app-tailwindcss-template-default",
3
3
  "version": "0.0.0",
4
4
  "private": true,
5
- "packageManager": "pnpm@12.4.1",
5
+ "packageManager": "pnpm@12.14.0",
6
6
  "imports": {
7
7
  "#tailwind.css": "./src/tailwind.css"
8
8
  },
9
+ "engines": {
10
+ "node": "^22.18.0 || >=24.11.0"
11
+ },
9
12
  "scripts": {
10
13
  "dev": "uni -p mp-weixin",
11
14
  "build": "pnpm build:mp-weixin",
@@ -46,56 +49,56 @@
46
49
  "upload:build": "weapp upload -p dist/build/mp-weixin -v 1.0.0 -d \"release version\"",
47
50
  "lint": "eslint .",
48
51
  "lint:fix": "eslint ./src --fix",
49
- "update:deps": "pnpm up --latest --interactive \"!@dcloudio/*\" \"!@vue/runtime-core\" \"!@vue/shared\" \"!rollup\" \"!vite\" \"!vue\" \"!vue-i18n\"",
52
+ "update:deps": "pnpm up --latest --interactive \"!@dcloudio/*\" \"!@vue/runtime-core\" \"!@vue/shared\" \"!pinia\" \"!rollup\" \"!vite\" \"!vue\" \"!vue-i18n\"",
50
53
  "update:uni-app": "pnpm dlx @dcloudio/uvm@latest --manager pnpm"
51
54
  },
52
55
  "dependencies": {
53
- "@dcloudio/uni-app": "3.0.0-5020420260813003",
54
- "@dcloudio/uni-app-harmony": "3.0.0-5020420260813003",
55
- "@dcloudio/uni-app-plus": "3.0.0-5020420260813003",
56
- "@dcloudio/uni-components": "3.0.0-5020420260813003",
57
- "@dcloudio/uni-h5": "3.0.0-5020420260813003",
58
- "@dcloudio/uni-mp-alipay": "3.0.0-5020420260813003",
59
- "@dcloudio/uni-mp-baidu": "3.0.0-5020420260813003",
60
- "@dcloudio/uni-mp-harmony": "3.0.0-5020420260813003",
61
- "@dcloudio/uni-mp-jd": "3.0.0-5020420260813003",
62
- "@dcloudio/uni-mp-kuaishou": "3.0.0-5020420260813003",
63
- "@dcloudio/uni-mp-lark": "3.0.0-5020420260813003",
64
- "@dcloudio/uni-mp-qq": "3.0.0-5020420260813003",
65
- "@dcloudio/uni-mp-toutiao": "3.0.0-5020420260813003",
66
- "@dcloudio/uni-mp-weixin": "3.0.0-5020420260813003",
67
- "@dcloudio/uni-mp-xhs": "3.0.0-5020420260813003",
68
- "@dcloudio/uni-quickapp-webview": "3.0.0-5020420260813003",
56
+ "@dcloudio/uni-app": "3.0.0-5020620260917001",
57
+ "@dcloudio/uni-app-harmony": "3.0.0-5020620260917001",
58
+ "@dcloudio/uni-app-plus": "3.0.0-5020620260917001",
59
+ "@dcloudio/uni-components": "3.0.0-5020620260917001",
60
+ "@dcloudio/uni-h5": "3.0.0-5020620260917001",
61
+ "@dcloudio/uni-mp-alipay": "3.0.0-5020620260917001",
62
+ "@dcloudio/uni-mp-baidu": "3.0.0-5020620260917001",
63
+ "@dcloudio/uni-mp-harmony": "3.0.0-5020620260917001",
64
+ "@dcloudio/uni-mp-jd": "3.0.0-5020620260917001",
65
+ "@dcloudio/uni-mp-kuaishou": "3.0.0-5020620260917001",
66
+ "@dcloudio/uni-mp-lark": "3.0.0-5020620260917001",
67
+ "@dcloudio/uni-mp-qq": "3.0.0-5020620260917001",
68
+ "@dcloudio/uni-mp-toutiao": "3.0.0-5020620260917001",
69
+ "@dcloudio/uni-mp-weixin": "3.0.0-5020620260917001",
70
+ "@dcloudio/uni-mp-xhs": "3.0.0-5020620260917001",
71
+ "@dcloudio/uni-quickapp-webview": "3.0.0-5020620260917001",
69
72
  "@vue/shared": "3.4.21",
70
- "@weapp-tailwindcss/merge": "^2.2.3",
73
+ "@weapp-tailwindcss/merge": "^2.2.6",
71
74
  "pinia": "2.2.4",
72
75
  "vue": "^3.4.21",
73
- "vue-i18n": "^9.1.9"
76
+ "vue-i18n": "^9.14.5"
74
77
  },
75
78
  "devDependencies": {
76
79
  "@dcloudio/hbuilderx-cli": "^1.2.0",
77
- "@dcloudio/types": "^3.4.8",
78
- "@dcloudio/uni-cli-shared": "3.0.0-5020420260813003",
79
- "@dcloudio/uni-stacktracey": "3.0.0-5020420260813003",
80
- "@dcloudio/vite-plugin-uni": "3.0.0-5020420260813003",
81
- "@icebreakers/eslint-config": "^8.0.0",
82
- "@icebreakers/stylelint-config": "^5.1.0",
80
+ "@dcloudio/types": "^3.4.31",
81
+ "@dcloudio/uni-cli-shared": "3.0.0-5020620260917001",
82
+ "@dcloudio/uni-stacktracey": "3.0.0-5020620260917001",
83
+ "@dcloudio/vite-plugin-uni": "3.0.0-5020620260917001",
84
+ "@icebreakers/eslint-config": "^8.0.6",
85
+ "@icebreakers/stylelint-config": "^5.1.3",
83
86
  "@iconify-json/mdi": "^1.2.3",
84
87
  "@iconify-json/svg-spinners": "^1.2.4",
85
88
  "@iconify/tailwind4": "^1.2.3",
86
- "@types/node": "^26.5.1",
89
+ "@types/node": "^26.6.5",
87
90
  "@vue/runtime-core": "^3.4.21",
88
- "autoprefixer": "^10.5.6",
89
- "eslint": "^10.10.0",
90
- "postcss": "^8.5.28",
91
+ "autoprefixer": "^10.6.1",
92
+ "eslint": "^10.13.0",
93
+ "postcss": "^8.5.30",
91
94
  "rollup": "4.14.3",
92
- "sass": "^1.104.0",
93
- "stylelint": "^17.15.0",
95
+ "sass": "^1.105.2",
96
+ "stylelint": "^17.16.0",
94
97
  "tailwindcss": "^4.3.3",
95
98
  "typescript": "^6.0.3",
96
99
  "unplugin-auto-import": "^21.1.0",
97
100
  "vite": "5.2.8",
98
- "weapp-ide-cli": "^6.1.3",
99
- "weapp-tailwindcss": "^5.5.3"
101
+ "weapp-ide-cli": "^6.2.0",
102
+ "weapp-tailwindcss": "^5.6.3"
100
103
  }
101
104
  }
@@ -1,11 +1,3 @@
1
- <script setup lang="ts">
2
- onLaunch(() => {
3
- console.log('App Launch')
4
- })
5
- onShow(() => {
6
- console.log('App Show')
7
- })
8
- onHide(() => {
9
- console.log('App Hide')
10
- })
1
+ <script lang="ts">
2
+ export default {}
11
3
  </script>
@@ -32,7 +32,7 @@
32
32
  "quickapp": {},
33
33
  /* 小程序特有相关 */
34
34
  "mp-weixin": {
35
- "appid": "wxb3d842a4a7e3440d",
35
+ "appid": "wx6ffee4673b257014",
36
36
  "setting": {
37
37
  "urlCheck": false
38
38
  },
@@ -5,10 +5,6 @@ import GradientFeature from '@/components/sections/GradientFeature.vue'
5
5
  import HeroShowcase from '@/components/sections/HeroShowcase.vue'
6
6
  import IconGallery from '@/components/sections/IconGallery.vue'
7
7
  import MacroShowcase from '@/components/sections/MacroShowcase.vue'
8
-
9
- onLoad(() => {
10
- console.log('欢迎使用 wx / not-wx 变量示例模板')
11
- })
12
8
  </script>
13
9
 
14
10
  <template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-uni-app-tailwindcss",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Create a uni-app project with Vite, Vue 3, Tailwind CSS, and weapp-tailwindcss.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "create-app"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=22"
27
+ "node": "^22.18.0 || >=24.11.0"
28
28
  },
29
29
  "bin": {
30
30
  "create-uni-app-tailwindcss": "./dist/cli.js"
@@ -41,10 +41,10 @@
41
41
  "prompts": "^2.4.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@playwright/test": "^1.63.0",
45
- "@types/node": "^26.5.1",
44
+ "@playwright/test": "^1.64.1",
45
+ "@types/node": "^26.6.5",
46
46
  "@types/prompts": "^2.4.9",
47
- "tsup": "^8.5.1",
47
+ "tsdown": "^0.23.1",
48
48
  "typescript": "^6.0.3"
49
49
  },
50
50
  "scripts": {