weapp-vite 6.1.3 → 6.1.4

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/cli.cjs CHANGED
@@ -1664,15 +1664,6 @@ function isSassEmbeddedChild(handle) {
1664
1664
  );
1665
1665
  }
1666
1666
 
1667
- // src/cli/commands/create.ts
1668
- _chunkPFE2IVZ3cjs.init_cjs_shims.call(void 0, );
1669
- var _init = require('@weapp-core/init');
1670
- function registerCreateCommand(cli2) {
1671
- cli2.command("create [outDir]", "create project").option("-t, --template <type>", "template type").action(async (outDir, options) => {
1672
- await _init.createProject.call(void 0, outDir, options.template);
1673
- });
1674
- }
1675
-
1676
1667
  // src/cli/commands/generate.ts
1677
1668
  _chunkPFE2IVZ3cjs.init_cjs_shims.call(void 0, );
1678
1669
 
@@ -1874,7 +1865,7 @@ function registerGenerateCommand(cli2) {
1874
1865
 
1875
1866
  // src/cli/commands/init.ts
1876
1867
  _chunkPFE2IVZ3cjs.init_cjs_shims.call(void 0, );
1877
-
1868
+ var _init = require('@weapp-core/init');
1878
1869
  function registerInitCommand(cli2) {
1879
1870
  cli2.command("init").action(async () => {
1880
1871
  try {
@@ -1999,7 +1990,6 @@ registerInitCommand(cli);
1999
1990
  registerOpenCommand(cli);
2000
1991
  registerNpmCommand(cli);
2001
1992
  registerGenerateCommand(cli);
2002
- registerCreateCommand(cli);
2003
1993
  cli.help();
2004
1994
  cli.version(_chunkFDYEZH5Icjs.VERSION);
2005
1995
  cli.parse();
package/dist/cli.mjs CHANGED
@@ -1663,15 +1663,6 @@ function isSassEmbeddedChild(handle) {
1663
1663
  );
1664
1664
  }
1665
1665
 
1666
- // src/cli/commands/create.ts
1667
- init_esm_shims();
1668
- import { createProject } from "@weapp-core/init";
1669
- function registerCreateCommand(cli2) {
1670
- cli2.command("create [outDir]", "create project").option("-t, --template <type>", "template type").action(async (outDir, options) => {
1671
- await createProject(outDir, options.template);
1672
- });
1673
- }
1674
-
1675
1666
  // src/cli/commands/generate.ts
1676
1667
  init_esm_shims();
1677
1668
  import path5 from "pathe";
@@ -1998,7 +1989,6 @@ registerInitCommand(cli);
1998
1989
  registerOpenCommand(cli);
1999
1990
  registerNpmCommand(cli);
2000
1991
  registerGenerateCommand(cli);
2001
- registerCreateCommand(cli);
2002
1992
  cli.help();
2003
1993
  cli.version(VERSION);
2004
1994
  cli.parse();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite",
3
3
  "type": "module",
4
- "version": "6.1.3",
4
+ "version": "6.1.4",
5
5
  "description": "weapp-vite 一个现代化的小程序打包工具",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -107,7 +107,7 @@
107
107
  "vite": "^8.0.0-beta.5",
108
108
  "vite-tsconfig-paths": "^6.0.3",
109
109
  "vue": "^3.5.26",
110
- "@weapp-core/init": "4.1.1",
110
+ "@weapp-core/init": "5.0.0",
111
111
  "@weapp-core/logger": "2.0.0",
112
112
  "@weapp-core/schematics": "5.0.0",
113
113
  "@weapp-core/shared": "2.0.1",