create-vuepress-theme-plume 1.0.0-rc.103 → 1.0.0-rc.104

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 CHANGED
@@ -134,7 +134,7 @@ async function createPackageJson(mode, pkg, {
134
134
  "docs:preview": `http-server ${docsDir}/.vuepress/dist`
135
135
  };
136
136
  if (mode === 1 /* create */) {
137
- pkg.scripts["vp-update"] = "vp-update";
137
+ pkg.scripts["vp-update"] = `${packageManager === "npm" ? "npx" : `${packageManager} dlx`} vp-update`;
138
138
  }
139
139
  }
140
140
  pkg.devDependencies ??= {};
@@ -531,5 +531,5 @@ var cli = cac("create-vuepress-theme-plume");
531
531
  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));
532
532
  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));
533
533
  cli.help();
534
- cli.version("1.0.0-rc.102");
534
+ cli.version("1.0.0-rc.103");
535
535
  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.103",
4
+ "version": "1.0.0-rc.104",
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",
@@ -1,12 +1,12 @@
1
1
  import { defineClientConfig } from 'vuepress/client'
2
- import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
3
- import CustomComponent from './theme/components/Custom.vue'
2
+ // import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
3
+ // import CustomComponent from './theme/components/Custom.vue'
4
4
 
5
- import './theme/styles/custom.css'
5
+ // import './theme/styles/custom.css'
6
6
 
7
7
  export default defineClientConfig({
8
8
  enhance({ app }) {
9
- app.component('RepoCard', RepoCard)
10
- app.component('CustomComponent', CustomComponent)
9
+ // app.component('RepoCard', RepoCard)
10
+ // app.component('CustomComponent', CustomComponent)
11
11
  },
12
12
  })