create-pubinfo 2.0.0-beta.20 → 2.0.0-beta.21
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.21",
|
|
34
34
|
description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
|
|
35
35
|
author: "Werheng <werheng.zhang@gmail.com>",
|
|
36
36
|
license: "MIT",
|
|
@@ -140,7 +140,7 @@ function generate(options, version) {
|
|
|
140
140
|
const targetPath = (0, import_node_path2.resolve)(root, options.dir);
|
|
141
141
|
const templateDir = (0, import_node_path2.resolve)(
|
|
142
142
|
(0, import_node_url.fileURLToPath)(import_meta.url),
|
|
143
|
-
"
|
|
143
|
+
"../../templates",
|
|
144
144
|
`pubinfo-template`
|
|
145
145
|
);
|
|
146
146
|
copy(templateDir, targetPath);
|
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.21",
|
|
12
12
|
description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
|
|
13
13
|
author: "Werheng <werheng.zhang@gmail.com>",
|
|
14
14
|
license: "MIT",
|
|
@@ -117,7 +117,7 @@ function generate(options, version) {
|
|
|
117
117
|
const targetPath = resolve2(root, options.dir);
|
|
118
118
|
const templateDir = resolve2(
|
|
119
119
|
fileURLToPath(import.meta.url),
|
|
120
|
-
"
|
|
120
|
+
"../../templates",
|
|
121
121
|
`pubinfo-template`
|
|
122
122
|
);
|
|
123
123
|
copy(templateDir, targetPath);
|