@dcloudio/vite-plugin-uni 3.0.0-alpha-3030720220111002 → 3.0.0-alpha-3030820220114002

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.
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.createSSRServer = exports.createServer = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const path_1 = __importDefault(require("path"));
9
- const chalk_1 = __importDefault(require("chalk"));
9
+ const picocolors_1 = __importDefault(require("picocolors"));
10
10
  const vite_1 = require("vite");
11
11
  const express_1 = __importDefault(require("express"));
12
12
  const uni_cli_shared_1 = require("@dcloudio/uni-cli-shared");
@@ -21,8 +21,8 @@ async function createServer(options) {
21
21
  }));
22
22
  await server.listen();
23
23
  const logger = server.config.logger;
24
- logger.info(chalk_1.default.cyan(`\n vite v${require('vite/package.json').version}`) +
25
- chalk_1.default.green(` dev server running at:\n`), {
24
+ logger.info(picocolors_1.default.cyan(`\n vite v${require('vite/package.json').version}`) +
25
+ picocolors_1.default.green(` dev server running at:\n`), {
26
26
  clear: !server.config.logger.hasWarned,
27
27
  });
28
28
  server.printUrls();
package/dist/cli/utils.js CHANGED
@@ -7,7 +7,7 @@ exports.printStartupDuration = exports.cleanOptions = exports.initEnv = exports.
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const os_1 = __importDefault(require("os"));
9
9
  const path_1 = __importDefault(require("path"));
10
- const chalk_1 = __importDefault(require("chalk"));
10
+ const picocolors_1 = __importDefault(require("picocolors"));
11
11
  const perf_hooks_1 = require("perf_hooks");
12
12
  const uni_cli_shared_1 = require("@dcloudio/uni-cli-shared");
13
13
  const nvue_1 = require("./nvue");
@@ -172,7 +172,7 @@ function printStartupDuration(logger, whitespace = true) {
172
172
  if (global.__vite_start_time) {
173
173
  // @ts-ignore
174
174
  const startupDuration = perf_hooks_1.performance.now() - global.__vite_start_time;
175
- logger.info(`${whitespace ? `\n ` : ''}${chalk_1.default.cyan(`ready in ${Math.ceil(startupDuration)}ms.`)}\n`);
175
+ logger.info(`${whitespace ? `\n ` : ''}${picocolors_1.default.cyan(`ready in ${Math.ceil(startupDuration)}ms.`)}\n`);
176
176
  }
177
177
  }
178
178
  exports.printStartupDuration = printStartupDuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vite-plugin-uni",
3
- "version": "3.0.0-alpha-3030720220111002",
3
+ "version": "3.0.0-alpha-3030820220114002",
4
4
  "description": "uni-app vite plugin",
5
5
  "bin": {
6
6
  "uni": "bin/uni.js"
@@ -25,24 +25,24 @@
25
25
  "@babel/core": "^7.16.5",
26
26
  "@babel/plugin-syntax-import-meta": "^7.10.4",
27
27
  "@babel/plugin-transform-typescript": "^7.16.1",
28
- "@dcloudio/uni-cli-shared": "3.0.0-alpha-3030720220111002",
29
- "@dcloudio/uni-shared": "3.0.0-alpha-3030720220111002",
28
+ "@dcloudio/uni-cli-shared": "3.0.0-alpha-3030820220114002",
29
+ "@dcloudio/uni-shared": "3.0.0-alpha-3030820220114002",
30
30
  "@rollup/pluginutils": "^4.1.2",
31
31
  "@vitejs/plugin-legacy": "^1.6.4",
32
32
  "@vitejs/plugin-vue": "^2.0.1",
33
33
  "@vitejs/plugin-vue-jsx": "^1.3.3",
34
- "@vue/compiler-core": "3.2.26",
35
- "@vue/compiler-dom": "3.2.26",
36
- "@vue/compiler-sfc": "3.2.26",
37
- "@vue/shared": "3.2.26",
34
+ "@vue/compiler-core": "3.2.27",
35
+ "@vue/compiler-dom": "3.2.27",
36
+ "@vue/compiler-sfc": "3.2.27",
37
+ "@vue/shared": "3.2.27",
38
38
  "cac": "^6.7.3",
39
- "chalk": "^4.1.1",
40
39
  "debug": "^4.3.2",
41
40
  "estree-walker": "^2.0.2",
42
41
  "express": "^4.17.1",
43
42
  "fs-extra": "^10.0.0",
44
43
  "hash-sum": "^2.0.0",
45
- "jsonc-parser": "^3.0.0"
44
+ "jsonc-parser": "^3.0.0",
45
+ "picocolors": "^1.0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/debug": "^4.1.7",
@@ -56,7 +56,7 @@
56
56
  "vite": "^2.7.0"
57
57
  },
58
58
  "uni-app": {
59
- "compilerVersion": "3.3.7"
59
+ "compilerVersion": "3.3.8"
60
60
  },
61
61
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da"
62
62
  }