create-vuepress-theme-plume 1.0.0-rc.176 → 1.0.0-rc.177
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 +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import handlebars from "handlebars";
|
|
|
14
14
|
import { osLocale } from "os-locale";
|
|
15
15
|
|
|
16
16
|
//#region package.json
|
|
17
|
-
var version = "1.0.0-rc.
|
|
17
|
+
var version = "1.0.0-rc.176";
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/constants.ts
|
|
@@ -124,7 +124,7 @@ function sortPackageJson(json) {
|
|
|
124
124
|
"pnpm"
|
|
125
125
|
] });
|
|
126
126
|
}
|
|
127
|
-
async function createPackageJson(mode, pkg, { packageManager, docsDir, siteName, siteDescription, bundler, injectNpmScripts
|
|
127
|
+
async function createPackageJson(mode, pkg, { packageManager, docsDir, siteName, siteDescription, bundler, injectNpmScripts }) {
|
|
128
128
|
if (mode === Mode.create) {
|
|
129
129
|
pkg.name = kebabCase(siteName);
|
|
130
130
|
pkg.type = "module";
|
|
@@ -163,7 +163,7 @@ async function createPackageJson(mode, pkg, { packageManager, docsDir, siteName,
|
|
|
163
163
|
pkg.devDependencies["vuepress-theme-plume"] = `${context.version}`;
|
|
164
164
|
const deps = ["http-server"];
|
|
165
165
|
if (!hasDep("vue")) deps.push("vue");
|
|
166
|
-
|
|
166
|
+
deps.push("typescript");
|
|
167
167
|
for (const dep of deps) pkg.devDependencies[dep] = meta[dep];
|
|
168
168
|
return {
|
|
169
169
|
filepath: "package.json",
|
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.177",
|
|
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",
|