@gct-paas/build 0.1.5-dev.8 → 0.1.5-dev.9

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.
@@ -7,7 +7,6 @@ exports.defineViteBaseConfig = defineViteBaseConfig;
7
7
  var _vite = require("vite");
8
8
  var _pluginVue = _interopRequireDefault(require("@vitejs/plugin-vue"));
9
9
  var _pluginVueJsx = _interopRequireDefault(require("@vitejs/plugin-vue-jsx"));
10
- var _pluginJson = _interopRequireDefault(require("@rollup/plugin-json"));
11
10
  var _vite2 = _interopRequireDefault(require("unocss/vite"));
12
11
  var _viteTsconfigPaths = _interopRequireDefault(require("vite-tsconfig-paths"));
13
12
  var _path = _interopRequireDefault(require("path"));
@@ -31,7 +30,7 @@ function defineViteBaseConfig(opts = {}) {
31
30
  external: _constants.DEFAULT_EXTERNAL
32
31
  }
33
32
  },
34
- plugins: [(0, _viteTsconfigPaths.default)(), (0, _pluginJson.default)(), (0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
33
+ plugins: [(0, _viteTsconfigPaths.default)(), (0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
35
34
  hmrTopLevelAwait: false
36
35
  })
37
36
  // 关系 babel 配置,这个配置要放在具体的 project vite 编译配置中,底包应该是干净的
@@ -9,7 +9,6 @@ var _path = _interopRequireDefault(require("path"));
9
9
  var rf = _interopRequireWildcard(require("rimraf"));
10
10
  var _pluginVue = _interopRequireDefault(require("@vitejs/plugin-vue"));
11
11
  var _pluginVueJsx = _interopRequireDefault(require("@vitejs/plugin-vue-jsx"));
12
- var _pluginJson = _interopRequireDefault(require("@rollup/plugin-json"));
13
12
  var _vitePluginLibInjectCss = require("vite-plugin-lib-inject-css");
14
13
  var _viteTsconfigPaths = _interopRequireDefault(require("vite-tsconfig-paths"));
15
14
  var _vitePluginStaticCopy = require("vite-plugin-static-copy");
@@ -74,7 +73,7 @@ function definePkgDevViteConfig(opts = {}) {
74
73
  formats: ["es"]
75
74
  }
76
75
  },
77
- plugins: [(0, _viteTsconfigPaths.default)(), (0, _pluginJson.default)(), (0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
76
+ plugins: [(0, _viteTsconfigPaths.default)(), (0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
78
77
  hmrTopLevelAwait: false
79
78
  }), (0, _vitePluginLibInjectCss.libInjectCss)(), (0, _vitePluginDts.default)({
80
79
  outDir: [outDir],
@@ -8,7 +8,6 @@ var _vite = require("vite");
8
8
  var _pluginVue = _interopRequireDefault(require("@vitejs/plugin-vue"));
9
9
  var _pluginVueJsx = _interopRequireDefault(require("@vitejs/plugin-vue-jsx"));
10
10
  var _pluginLegacy = _interopRequireDefault(require("@vitejs/plugin-legacy"));
11
- var _pluginJson = _interopRequireDefault(require("@rollup/plugin-json"));
12
11
  var _vite2 = _interopRequireDefault(require("unocss/vite"));
13
12
  var _path = _interopRequireDefault(require("path"));
14
13
  var _fsExtra = _interopRequireDefault(require("fs-extra"));
@@ -86,7 +85,7 @@ function defineProjectViteConfig(gctOpts = {}, opts = {}) {
86
85
  version: pkg.version
87
86
  }
88
87
  },
89
- plugins: [(0, _pluginJson.default)(), (0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
88
+ plugins: [(0, _pluginVue.default)(), (0, _pluginVueJsx.default)(), (0, _vite2.default)({
90
89
  hmrTopLevelAwait: false
91
90
  }), (0, _pluginLegacy.default)({
92
91
  targets: ["chrome>=85", "edge>=85", "firefox>=79", "safari>=14.1"],
@@ -1,7 +1,6 @@
1
1
  import { defineConfig } from "vite";
2
2
  import vue from "@vitejs/plugin-vue";
3
3
  import vueJsx from "@vitejs/plugin-vue-jsx";
4
- import json from "@rollup/plugin-json";
5
4
  import UnoCSS from "unocss/vite";
6
5
  import tsconfigPaths from "vite-tsconfig-paths";
7
6
  import path from "path";
@@ -27,7 +26,6 @@ export function defineViteBaseConfig(opts = {}) {
27
26
  },
28
27
  plugins: [
29
28
  tsconfigPaths(),
30
- json(),
31
29
  vue(),
32
30
  vueJsx(),
33
31
  UnoCSS({ hmrTopLevelAwait: false })
@@ -3,7 +3,6 @@ import path from "path";
3
3
  import * as rf from "rimraf";
4
4
  import vue from "@vitejs/plugin-vue";
5
5
  import vueJsx from "@vitejs/plugin-vue-jsx";
6
- import json from "@rollup/plugin-json";
7
6
  import { libInjectCss } from "vite-plugin-lib-inject-css";
8
7
  import tsconfigPaths from "vite-tsconfig-paths";
9
8
  import { viteStaticCopy } from "vite-plugin-static-copy";
@@ -68,7 +67,6 @@ export function definePkgDevViteConfig(opts = {}) {
68
67
  },
69
68
  plugins: [
70
69
  tsconfigPaths(),
71
- json(),
72
70
  vue(),
73
71
  vueJsx(),
74
72
  UnoCSS({ hmrTopLevelAwait: false }),
@@ -4,7 +4,6 @@ import {
4
4
  import vue from "@vitejs/plugin-vue";
5
5
  import vueJsx from "@vitejs/plugin-vue-jsx";
6
6
  import legacy from "@vitejs/plugin-legacy";
7
- import json from "@rollup/plugin-json";
8
7
  import UnoCSS from "unocss/vite";
9
8
  import path from "path";
10
9
  import fse from "fs-extra";
@@ -100,7 +99,6 @@ export function defineProjectViteConfig(gctOpts = {}, opts = {}) {
100
99
  }
101
100
  },
102
101
  plugins: [
103
- json(),
104
102
  vue(),
105
103
  vueJsx(),
106
104
  UnoCSS({ hmrTopLevelAwait: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/build",
3
- "version": "0.1.5-dev.8",
3
+ "version": "0.1.5-dev.9",
4
4
  "type": "module",
5
5
  "description": "paas 平台核心包",
6
6
  "main": "dist/index.cjs",
@@ -39,75 +39,74 @@
39
39
  "publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
40
40
  },
41
41
  "dependencies": {
42
- "@babel/core": "^7.28.6",
43
- "@babel/preset-env": "^7.28.6",
44
- "@commitlint/cli": "^20.3.1",
45
- "@commitlint/config-conventional": "^20.3.1",
46
- "@eslint/config-helpers": "^0.5.1",
47
- "@eslint/js": "^9.39.2",
48
- "@gct-paas/scss": "^0.1.4-dev.7",
49
- "@inquirer/prompts": "^8.2.0",
42
+ "@babel/core": "^7.29.0",
43
+ "@babel/preset-env": "^7.29.0",
44
+ "@commitlint/cli": "^20.4.3",
45
+ "@commitlint/config-conventional": "^20.4.3",
46
+ "@eslint/config-helpers": "^0.5.2",
47
+ "@eslint/js": "^9.39.3",
48
+ "@gct-paas/scss": "^0.1.5",
49
+ "@inquirer/prompts": "^8.3.0",
50
50
  "@rollup/plugin-babel": "^6.1.0",
51
- "@rollup/plugin-commonjs": "^29.0.0",
51
+ "@rollup/plugin-commonjs": "^29.0.1",
52
52
  "@rollup/plugin-eslint": "^9.2.0",
53
53
  "@rollup/plugin-json": "^6.1.0",
54
54
  "@rollup/plugin-node-resolve": "^16.0.3",
55
55
  "@rollup/plugin-typescript": "^12.3.0",
56
56
  "@vitejs/plugin-legacy": "^7.2.1",
57
- "@vitejs/plugin-vue": "^6.0.3",
58
- "@vitejs/plugin-vue-jsx": "^5.1.3",
59
- "@vue/compiler-sfc": "^3.5.27",
57
+ "@vitejs/plugin-vue": "^6.0.4",
58
+ "@vitejs/plugin-vue-jsx": "^5.1.4",
59
+ "@vue/compiler-sfc": "^3.5.29",
60
60
  "chokidar": "^5.0.0",
61
- "commander": "^14.0.2",
61
+ "commander": "^14.0.3",
62
62
  "consola": "^3.4.2",
63
63
  "copy-file": "^11.1.0",
64
64
  "core-js": "^3.48.0",
65
65
  "cpy": "^12.1.0",
66
66
  "crypto": "^1.0.1",
67
67
  "cssnano": "^7.1.2",
68
- "esbuild": "^0.27.2",
69
- "eslint": "^9.39.2",
68
+ "esbuild": "^0.27.3",
69
+ "eslint": "^9.39.3",
70
70
  "eslint-config-prettier": "^10.1.8",
71
71
  "eslint-plugin-import": "^2.32.0",
72
72
  "eslint-plugin-prettier": "^5.5.5",
73
- "eslint-plugin-unused-imports": "^4.3.0",
74
- "eslint-plugin-vue": "^10.7.0",
73
+ "eslint-plugin-unused-imports": "^4.4.1",
74
+ "eslint-plugin-vue": "^10.8.0",
75
75
  "fast-glob": "^3.3.3",
76
- "fs-extra": "^11.3.3",
77
- "globals": "^17.1.0",
76
+ "fs-extra": "^11.3.4",
77
+ "globals": "^17.4.0",
78
78
  "lodash-es": "^4.17.23",
79
- "ora": "^9.1.0",
79
+ "ora": "^9.3.0",
80
80
  "picocolors": "^1.1.1",
81
81
  "prettier": "^3.8.1",
82
- "rimraf": "^6.1.2",
83
- "rollup": "^4.56.0",
82
+ "rimraf": "^6.1.3",
83
+ "rollup": "^4.59.0",
84
84
  "rollup-plugin-esbuild": "^6.2.1",
85
85
  "rollup-plugin-postcss": "^4.0.2",
86
86
  "sass": "^1.97.3",
87
- "simple-git": "^3.30.0",
88
- "stylelint": "^17.0.0",
87
+ "simple-git": "^3.32.3",
88
+ "stylelint": "^17.4.0",
89
89
  "stylelint-config-standard-scss": "^17.0.0",
90
- "typescript-eslint": "^8.53.1",
91
- "unocss": "66.6.2",
90
+ "typescript-eslint": "^8.56.1",
91
+ "unocss": "66.6.5",
92
92
  "vite": "^7.3.1",
93
93
  "vite-plugin-dts": "^4.5.4",
94
94
  "vite-plugin-lib-inject-css": "^2.2.2",
95
95
  "vite-plugin-static-copy": "^3.2.0",
96
- "vite-tsconfig-paths": "^6.0.5",
97
- "vue-eslint-parser": "^10.2.0",
98
- "vue-tsc": "^3.2.4"
96
+ "vite-tsconfig-paths": "^6.1.1",
97
+ "vue-eslint-parser": "^10.4.0",
98
+ "vue-tsc": "^3.2.5"
99
99
  },
100
100
  "devDependencies": {
101
- "@commitlint/types": "^20.3.1",
101
+ "@commitlint/types": "^20.4.3",
102
102
  "@types/babel__core": "^7.20.5",
103
103
  "@types/babel__preset-env": "^7.10.0",
104
104
  "@types/fs-extra": "^11.0.4",
105
105
  "@types/lodash-es": "^4.17.12",
106
- "@types/node": "^25.0.10",
107
- "postcss": "^8.5.6",
106
+ "@types/node": "^25.3.5",
107
+ "postcss": "^8.5.8",
108
108
  "tsx": "^4.21.0",
109
109
  "typescript": "^5.9.3",
110
110
  "unbuild": "^3.6.1"
111
- },
112
- "gitHead": "72538ef9e35d776e677136b0253a0e132758eaf8"
111
+ }
113
112
  }