create-pubinfo 2.0.0-beta.22 → 2.0.0-beta.23
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.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,7 +30,7 @@ var import_consola6 = __toESM(require("consola"), 1);
|
|
|
30
30
|
var package_default = {
|
|
31
31
|
name: "create-pubinfo",
|
|
32
32
|
type: "module",
|
|
33
|
-
version: "2.0.0-beta.
|
|
33
|
+
version: "2.0.0-beta.23",
|
|
34
34
|
description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
|
|
35
35
|
author: "Werheng <werheng.zhang@gmail.com>",
|
|
36
36
|
license: "MIT",
|
|
@@ -135,9 +135,9 @@ function validateInput(input2) {
|
|
|
135
135
|
|
|
136
136
|
// src/core/generate.ts
|
|
137
137
|
var import_meta = {};
|
|
138
|
+
var __dirname = (0, import_node_path2.dirname)((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
138
139
|
function generate(options, version) {
|
|
139
140
|
const root = (0, import_node_process.cwd)();
|
|
140
|
-
const __dirname = (0, import_node_path2.dirname)((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
141
141
|
const templateDir = (0, import_node_path2.resolve)(
|
|
142
142
|
__dirname,
|
|
143
143
|
"../../templates",
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import consola6 from "consola";
|
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "create-pubinfo",
|
|
10
10
|
type: "module",
|
|
11
|
-
version: "2.0.0-beta.
|
|
11
|
+
version: "2.0.0-beta.23",
|
|
12
12
|
description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
|
|
13
13
|
author: "Werheng <werheng.zhang@gmail.com>",
|
|
14
14
|
license: "MIT",
|
|
@@ -112,9 +112,9 @@ function validateInput(input2) {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
// src/core/generate.ts
|
|
115
|
+
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
115
116
|
function generate(options, version) {
|
|
116
117
|
const root = cwd();
|
|
117
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
118
118
|
const templateDir = resolve2(
|
|
119
119
|
__dirname,
|
|
120
120
|
"../../templates",
|