create-vuepress-theme-plume 1.0.0-rc.108 → 1.0.0-rc.110
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/lib/index.js +2 -3
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -200,8 +200,7 @@ function createRender(result) {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
// src/generate.ts
|
|
203
|
-
async function generate(mode, data) {
|
|
204
|
-
const cwd = process2.cwd();
|
|
203
|
+
async function generate(mode, data, cwd = process2.cwd()) {
|
|
205
204
|
let userPkg = {};
|
|
206
205
|
if (mode === 0 /* init */) {
|
|
207
206
|
const pkgPath = path3.join(cwd, "package.json");
|
|
@@ -548,5 +547,5 @@ var cli = cac("create-vuepress-theme-plume");
|
|
|
548
547
|
cli.command("[root]", "create a new vuepress-theme-plume project / \u521B\u5EFA\u65B0\u7684 vuepress-theme-plume \u9879\u76EE").action((root) => run(1 /* create */, root));
|
|
549
548
|
cli.command("init [root]", "Initial vuepress-theme-plume in the existing project / \u5728\u73B0\u6709\u9879\u76EE\u4E2D\u521D\u59CB\u5316 vuepress-theme-plume").action((root) => run(0 /* init */, root));
|
|
550
549
|
cli.help();
|
|
551
|
-
cli.version("1.0.0-rc.
|
|
550
|
+
cli.version("1.0.0-rc.109");
|
|
552
551
|
cli.parse();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuepress-theme-plume",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.110",
|
|
5
5
|
"description": "The cli for create vuepress-theme-plume's project",
|
|
6
6
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"picocolors": "^1.1.0"
|
|
36
36
|
},
|
|
37
37
|
"plume-deps": {
|
|
38
|
-
"vuepress": "2.0.0-rc.
|
|
38
|
+
"vuepress": "2.0.0-rc.18",
|
|
39
39
|
"vue": "^3.5.12",
|
|
40
40
|
"sass-embedded": "^1.79.5",
|
|
41
41
|
"sass-loader": "^16.0.2",
|