create-pubinfo 2.1.7 → 2.1.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/cli.d.mts ADDED
@@ -0,0 +1 @@
1
+ export { };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as validateInput, n as readPackageJSON, r as run, t as bootstrop } from "./helper.js";
2
+ import { a as validateInput, n as readPackageJSON, r as run, t as bootstrop } from "./helper.mjs";
3
3
  import { checkbox, confirm, input, select } from "@inquirer/prompts";
4
4
  import { logger } from "@pubinfo/shared";
5
5
  import { Command } from "commander";
@@ -196,21 +196,21 @@ async function run(version$1) {
196
196
  var package_default = {
197
197
  name: "create-pubinfo",
198
198
  type: "module",
199
- version: "2.1.7",
199
+ version: "2.1.8",
200
200
  description: "初始化项目框架",
201
201
  author: "Werheng <werheng.zhang@gmail.com>",
202
202
  license: "MIT",
203
203
  exports: {
204
204
  ".": {
205
- "types": "./dist/index.d.ts",
206
- "default": "./dist/index.js"
205
+ "types": "./dist/index.d.mts",
206
+ "default": "./dist/index.mjs"
207
207
  },
208
208
  "./package.json": "./package.json"
209
209
  },
210
- main: "./dist/index.js",
211
- module: "./dist/index.js",
212
- types: "./dist/index.d.ts",
213
- bin: { "pubinfo": "./dist/cli.js" },
210
+ main: "./dist/index.mjs",
211
+ module: "./dist/index.mjs",
212
+ types: "./dist/index.d.mts",
213
+ bin: { "pubinfo": "./dist/cli.mjs" },
214
214
  files: ["dist", "templates"],
215
215
  engines: { "node": "^20.19.0 || >=22.12.0" },
216
216
  scripts: {
@@ -1,3 +1,3 @@
1
- import { i as interaction, n as readPackageJSON, o as generate, r as run, s as copyTemplate } from "./helper.js";
1
+ import { i as interaction, n as readPackageJSON, o as generate, r as run, s as copyTemplate } from "./helper.mjs";
2
2
 
3
3
  export { copyTemplate, generate, interaction, readPackageJSON, run };
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "create-pubinfo",
3
3
  "type": "module",
4
- "version": "2.1.7",
4
+ "version": "2.1.8",
5
5
  "description": "初始化项目框架",
6
6
  "author": "Werheng <werheng.zhang@gmail.com>",
7
7
  "license": "MIT",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "default": "./dist/index.js"
10
+ "types": "./dist/index.d.mts",
11
+ "default": "./dist/index.mjs"
12
12
  },
13
13
  "./package.json": "./package.json"
14
14
  },
15
- "main": "./dist/index.js",
16
- "module": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
15
+ "main": "./dist/index.mjs",
16
+ "module": "./dist/index.mjs",
17
+ "types": "./dist/index.d.mts",
18
18
  "bin": {
19
- "pubinfo": "./dist/cli.js"
19
+ "pubinfo": "./dist/cli.mjs"
20
20
  },
21
21
  "files": [
22
22
  "dist",
@@ -38,7 +38,7 @@
38
38
  "ora": "^8.2.0",
39
39
  "rimraf": "^6.0.1",
40
40
  "semver": "^7.7.2",
41
- "@pubinfo/shared": "2.1.7"
41
+ "@pubinfo/shared": "2.1.8"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^24.0.10"
package/dist/cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
File without changes