@modern-js/plugin-tailwindcss 2.18.0 → 2.19.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 2.19.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1134fe2]
8
+ - Updated dependencies [579d3d5]
9
+ - Updated dependencies [8a3a2e5]
10
+ - @modern-js/utils@2.19.0
11
+ - @modern-js/runtime@2.19.0
12
+
13
+ ## 2.18.1
14
+
15
+ ### Patch Changes
16
+
17
+ - cdc9db1: fix(module-tools, plugin-tailwindcss): fix `style.tailwindcss` config name and merge logic
18
+ fix(module-tools, plugin-tailwindcss): 修复 `style.tailwindcss` 错误的配置名和合并逻辑
19
+ - Updated dependencies [8fb93d1]
20
+ - @modern-js/runtime@2.18.1
21
+ - @modern-js/utils@2.18.1
22
+
3
23
  ## 2.18.0
4
24
 
5
25
  ### Patch Changes
package/dist/cjs/cli.js CHANGED
@@ -125,7 +125,7 @@ const _default = ({ pluginName } = {
125
125
  beforeBuildTask(config) {
126
126
  const modernConfig = api.useResolvedConfigContext();
127
127
  const { designSystem } = modernConfig;
128
- const tailwindConfig = (0, _tailwind.getTailwindConfig)(tailwindVersion, config.style.tailwindCss, designSystem, {
128
+ const tailwindConfig = (0, _tailwind.getTailwindConfig)(tailwindVersion, config.style.tailwindcss, designSystem, {
129
129
  pureConfig: {
130
130
  content: defaultContent
131
131
  }
package/dist/esm/cli.js CHANGED
@@ -250,7 +250,7 @@ export default function() {
250
250
  beforeBuildTask: function beforeBuildTask(config) {
251
251
  var modernConfig = api.useResolvedConfigContext();
252
252
  var designSystem = modernConfig.designSystem;
253
- var tailwindConfig = getTailwindConfig(tailwindVersion, config.style.tailwindCss, designSystem, {
253
+ var tailwindConfig = getTailwindConfig(tailwindVersion, config.style.tailwindcss, designSystem, {
254
254
  pureConfig: {
255
255
  content: defaultContent
256
256
  }
@@ -105,7 +105,7 @@ export default ({ pluginName } = {
105
105
  beforeBuildTask(config) {
106
106
  const modernConfig = api.useResolvedConfigContext();
107
107
  const { designSystem } = modernConfig;
108
- const tailwindConfig = getTailwindConfig(tailwindVersion, config.style.tailwindCss, designSystem, {
108
+ const tailwindConfig = getTailwindConfig(tailwindVersion, config.style.tailwindcss, designSystem, {
109
109
  pureConfig: {
110
110
  content: defaultContent
111
111
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.18.0",
18
+ "version": "2.19.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -49,7 +49,7 @@
49
49
  "@babel/runtime": "^7.18.0",
50
50
  "babel-plugin-macros": "3.1.0",
51
51
  "hoist-non-react-statics": "^3.3.2",
52
- "@modern-js/utils": "2.18.0"
52
+ "@modern-js/utils": "2.19.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/jest": "^29",
@@ -59,17 +59,17 @@
59
59
  "jest": "^29",
60
60
  "react": "^18",
61
61
  "postcss": "8.4.21",
62
- "@modern-js/core": "2.18.0",
63
- "@modern-js/module-tools": "2.18.0",
64
- "@modern-js/runtime": "2.18.0",
65
- "@modern-js/types": "2.18.0",
66
- "@scripts/build": "2.18.0",
67
- "@modern-js/app-tools": "2.18.0",
68
- "@scripts/jest-config": "2.18.0"
62
+ "@modern-js/core": "2.19.0",
63
+ "@modern-js/module-tools": "2.19.0",
64
+ "@modern-js/runtime": "2.19.0",
65
+ "@modern-js/types": "2.19.0",
66
+ "@scripts/build": "2.19.0",
67
+ "@modern-js/app-tools": "2.19.0",
68
+ "@scripts/jest-config": "2.19.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "tailwindcss": ">= 2.0.0 || >= 3.0.0",
72
- "@modern-js/runtime": "^2.18.0"
72
+ "@modern-js/runtime": "^2.19.0"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@modern-js/runtime": {