@gct-paas/build 0.1.16 → 0.1.17

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.17] - 2026-06-02
11
+
12
+ ### Changed
13
+
14
+ - unocss 配置调整 处理@gct-paas包中unocss不生效问题
15
+
10
16
  ## [0.1.16] - 2026-05-28
11
17
 
12
18
  ### Changed
@@ -27,6 +27,11 @@ function defineUnoConfig(config) {
27
27
  "gct-color-text-4": "text-[#5A5F6B]",
28
28
  "gct-color-text-5": "text-[#8B8B8B]"
29
29
  },
30
- presets: [(0, _unocss.presetUno)(), (0, _unocss.presetTypography)(), (0, _unocss.presetWebFonts)({})]
30
+ presets: [(0, _unocss.presetWind3)(), (0, _unocss.presetTypography)(), (0, _unocss.presetWebFonts)({})],
31
+ content: {
32
+ pipeline: {
33
+ include: [/\.(vue|[jt]sx?|mjs)($|\?)/, "node_modules/@gct-paas/**/es/**/*.{mjs,js,ts,tsx,vue}"]
34
+ }
35
+ }
31
36
  }, config));
32
37
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  defineConfig,
3
3
  presetTypography,
4
- presetUno,
5
- presetWebFonts
4
+ presetWebFonts,
5
+ presetWind3
6
6
  } from "unocss";
7
7
  import { mergeConfig } from "../util/index.mjs";
8
8
  export function defineUnoConfig(config) {
@@ -28,7 +28,15 @@ export function defineUnoConfig(config) {
28
28
  "gct-color-text-4": "text-[#5A5F6B]",
29
29
  "gct-color-text-5": "text-[#8B8B8B]"
30
30
  },
31
- presets: [presetUno(), presetTypography(), presetWebFonts({})]
31
+ presets: [presetWind3(), presetTypography(), presetWebFonts({})],
32
+ content: {
33
+ pipeline: {
34
+ include: [
35
+ /\.(vue|[jt]sx?|mjs)($|\?)/,
36
+ "node_modules/@gct-paas/**/es/**/*.{mjs,js,ts,tsx,vue}"
37
+ ]
38
+ }
39
+ }
32
40
  },
33
41
  config
34
42
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/build",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "description": "paas 平台核心包",
6
6
  "main": "dist/index.cjs",