create-pubinfo 2.0.12 → 2.0.13

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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { bootstrop, readPackageJSON, run, validateInput } from "./helper-DjEvgs6p.js";
2
+ import { a as validateInput, n as readPackageJSON, r as run, t as bootstrop } from "./helper-BAgtniMW.js";
3
3
  import { checkbox, confirm, input, select } from "@inquirer/prompts";
4
4
  import { Command } from "commander";
5
5
  import consola from "consola";
@@ -144,62 +144,46 @@ async function run(version$1) {
144
144
 
145
145
  //#endregion
146
146
  //#region package.json
147
- var name = "create-pubinfo";
148
- var type = "module";
149
- var version = "2.0.12";
150
- var description = "初始化项目框架";
151
- var author = "Werheng <werheng.zhang@gmail.com>";
152
- var license = "MIT";
153
- var exports = { ".": {
154
- "types": "./dist/index.d.ts",
155
- "default": "./dist/index.js"
156
- } };
157
- var main = "./dist/index.js";
158
- var module = "./dist/index.js";
159
- var types = "./dist/index.d.ts";
160
- var bin = { "pubinfo": "./dist/cli.js" };
161
- var files = ["dist", "templates"];
162
- var engines = { "node": "^20.19.0 || >=22.12.0" };
163
- var scripts = {
164
- "dev": "tsdown --watch src",
165
- "build": "tsdown",
166
- "cli": "node dist/cli.js",
167
- "cli:clean": "rimraf ./my-app",
168
- "lint": "eslint . --cache --fix"
169
- };
170
- var dependencies = {
171
- "@inquirer/prompts": "catalog:node",
172
- "ansi-colors": "catalog:node",
173
- "cfonts": "catalog:node",
174
- "commander": "catalog:node",
175
- "confbox": "catalog:node",
176
- "consola": "catalog:browser",
177
- "fs-extra": "catalog:node",
178
- "giget": "catalog:node",
179
- "node-plop": "catalog:node",
180
- "ofetch": "catalog:http",
181
- "ora": "catalog:node",
182
- "rimraf": "catalog:node",
183
- "semver": "catalog:node"
184
- };
185
- var devDependencies = { "@types/node": "catalog:ts" };
186
147
  var package_default = {
187
- name,
188
- type,
189
- version,
190
- description,
191
- author,
192
- license,
193
- exports,
194
- main,
195
- module,
196
- types,
197
- bin,
198
- files,
199
- engines,
200
- scripts,
201
- dependencies,
202
- devDependencies
148
+ name: "create-pubinfo",
149
+ type: "module",
150
+ version: "2.0.13",
151
+ description: "初始化项目框架",
152
+ author: "Werheng <werheng.zhang@gmail.com>",
153
+ license: "MIT",
154
+ exports: { ".": {
155
+ "types": "./dist/index.d.ts",
156
+ "default": "./dist/index.js"
157
+ } },
158
+ main: "./dist/index.js",
159
+ module: "./dist/index.js",
160
+ types: "./dist/index.d.ts",
161
+ bin: { "pubinfo": "./dist/cli.js" },
162
+ files: ["dist", "templates"],
163
+ engines: { "node": "^20.19.0 || >=22.12.0" },
164
+ scripts: {
165
+ "dev": "tsdown --watch src",
166
+ "build": "tsdown",
167
+ "cli": "node dist/cli.js",
168
+ "cli:clean": "rimraf ./my-app",
169
+ "lint": "eslint . --cache --fix"
170
+ },
171
+ dependencies: {
172
+ "@inquirer/prompts": "catalog:node",
173
+ "ansi-colors": "catalog:node",
174
+ "cfonts": "catalog:node",
175
+ "commander": "catalog:node",
176
+ "confbox": "catalog:node",
177
+ "consola": "catalog:browser",
178
+ "fs-extra": "catalog:node",
179
+ "giget": "catalog:node",
180
+ "node-plop": "catalog:node",
181
+ "ofetch": "catalog:http",
182
+ "ora": "catalog:node",
183
+ "rimraf": "catalog:node",
184
+ "semver": "catalog:node"
185
+ },
186
+ devDependencies: { "@types/node": "catalog:ts" }
203
187
  };
204
188
 
205
189
  //#endregion
@@ -228,4 +212,4 @@ function readPackageJSON() {
228
212
  }
229
213
 
230
214
  //#endregion
231
- export { bootstrop, copyTemplate, generate, interaction, readPackageJSON, run, validateInput };
215
+ export { validateInput as a, interaction as i, readPackageJSON as n, generate as o, run as r, copyTemplate as s, bootstrop as t };
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { copyTemplate, generate, interaction, readPackageJSON, run } from "./helper-DjEvgs6p.js";
1
+ import { i as interaction, n as readPackageJSON, o as generate, r as run, s as copyTemplate } from "./helper-BAgtniMW.js";
2
2
 
3
3
  export { copyTemplate, generate, interaction, readPackageJSON, run };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-pubinfo",
3
3
  "type": "module",
4
- "version": "2.0.12",
4
+ "version": "2.0.13",
5
5
  "description": "初始化项目框架",
6
6
  "author": "Werheng <werheng.zhang@gmail.com>",
7
7
  "license": "MIT",
@@ -2,5 +2,3 @@
2
2
  VITE_APP_API_BASEURL = http://localhost:9099/pubinfo-sys
3
3
  # 是否开启代理
4
4
  VITE_OPEN_PROXY = false
5
- # 是否启动 vite app inspector
6
- VITE_APP_INSPECTOR = false
@@ -2,5 +2,3 @@
2
2
  VITE_APP_API_BASEURL = http://localhost:9099/pubinfo-sys
3
3
  # 是否开启代理
4
4
  VITE_OPEN_PROXY = false
5
- # 是否启动 vite app inspector
6
- VITE_APP_INSPECTOR = false