weapp-ide-cli 2.0.12 → 3.0.0

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.
@@ -1,5 +1,5 @@
1
1
  // src/defaults.ts
2
- import os from "node:os";
2
+ import os from "os";
3
3
  import path from "pathe";
4
4
  var homedir = os.homedir();
5
5
  var SupportedPlatformsMap = {
@@ -23,7 +23,7 @@ import logger from "@weapp-core/logger";
23
23
  var logger_default = logger;
24
24
 
25
25
  // src/utils.ts
26
- import process from "node:process";
26
+ import process from "process";
27
27
  import path2 from "pathe";
28
28
  async function execute(cliPath, argv) {
29
29
  const { execa } = await import("execa");
@@ -81,8 +81,8 @@ function createPathCompat(option) {
81
81
  }
82
82
 
83
83
  // src/parse.ts
84
- import process2 from "node:process";
85
- import readline from "node:readline";
84
+ import process2 from "process";
85
+ import readline from "readline";
86
86
  import fs2 from "fs-extra";
87
87
 
88
88
  // src/compose.ts
package/dist/cli.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  logger_default,
3
3
  parse
4
- } from "./chunk-FQW4GQRU.js";
4
+ } from "./chunk-R555UIVO.js";
5
5
 
6
6
  // src/cli.ts
7
- import process from "node:process";
7
+ import process from "process";
8
8
  var argv = process.argv.slice(2);
9
9
  parse(argv).catch((err) => {
10
10
  logger_default.error(err);
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  operatingSystemName,
9
9
  parse,
10
10
  resolvePath
11
- } from "./chunk-FQW4GQRU.js";
11
+ } from "./chunk-R555UIVO.js";
12
12
  export {
13
13
  createAlias,
14
14
  createPathCompat,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-ide-cli",
3
3
  "type": "module",
4
- "version": "2.0.12",
4
+ "version": "3.0.0",
5
5
  "description": "让微信开发者工具,用起来更加方便!",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -60,10 +60,10 @@
60
60
  "registry": "https://registry.npmjs.org/"
61
61
  },
62
62
  "dependencies": {
63
- "execa": "9.5.3",
63
+ "execa": "9.6.0",
64
64
  "fs-extra": "^11.3.0",
65
65
  "pathe": "^2.0.3",
66
- "@weapp-core/logger": "^1.0.4"
66
+ "@weapp-core/logger": "^2.0.0"
67
67
  },
68
68
  "scripts": {
69
69
  "dev": "tsup --watch --sourcemap",