@modern-js/plugin-tailwindcss 2.0.2 → 2.2.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,34 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - cb12ee7: chore: remove some unused deps, bump postcss version
8
+
9
+ chore: 移除未使用的依赖, 升级 postcss 版本
10
+
11
+ - Updated dependencies [49eff0c]
12
+ - Updated dependencies [f7a1c1f]
13
+ - @modern-js/utils@2.2.0
14
+ - @modern-js/runtime@2.2.0
15
+
16
+ ## 2.1.0
17
+
18
+ ### Patch Changes
19
+
20
+ - 6562578: chore: optimize the capitalization of plugin names
21
+
22
+ chore: 规范引用插件时的命名格式,统一使用 camelCase 代替 PascalCase
23
+
24
+ - Updated dependencies [f3237db]
25
+ - Updated dependencies [837620c]
26
+ - Updated dependencies [776cc27]
27
+ - Updated dependencies [35d3e84]
28
+ - Updated dependencies [8a9482c]
29
+ - @modern-js/runtime@2.1.0
30
+ - @modern-js/utils@2.1.0
31
+
3
32
  ## 2.0.2
4
33
 
5
34
  ### Patch Changes
@@ -27,7 +27,7 @@ import {
27
27
  nanoid,
28
28
  slash
29
29
  } from "@modern-js/utils";
30
- import DesignTokenPlugin from "./design-token/cli";
30
+ import designTokenPlugin from "./design-token/cli";
31
31
  import { getTailwindConfig } from "./tailwind";
32
32
  import {
33
33
  template,
@@ -49,7 +49,7 @@ var cli_default = ({ pluginName } = {
49
49
  }) => ({
50
50
  name: "@modern-js/plugin-tailwindcss",
51
51
  usePlugins: [
52
- DesignTokenPlugin({
52
+ designTokenPlugin({
53
53
  pluginName
54
54
  })
55
55
  ],
@@ -124,7 +124,7 @@ var __generator = this && this.__generator || function(thisArg, body) {
124
124
  };
125
125
  import path from "path";
126
126
  import { PLUGIN_SCHEMAS, fs, CONFIG_CACHE_DIR, globby, nanoid, slash } from "@modern-js/utils";
127
- import DesignTokenPlugin from "./design-token/cli";
127
+ import designTokenPlugin from "./design-token/cli";
128
128
  import { getTailwindConfig } from "./tailwind";
129
129
  import { template, checkTwinMacroExist, getTailwindPath, getTailwindVersion } from "./utils";
130
130
  var supportCssInJsLibrary = "styled-components";
@@ -138,7 +138,7 @@ var cli_default = function() {
138
138
  return {
139
139
  name: "@modern-js/plugin-tailwindcss",
140
140
  usePlugins: [
141
- DesignTokenPlugin({
141
+ designTokenPlugin({
142
142
  pluginName: pluginName
143
143
  })
144
144
  ],
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.0.2",
14
+ "version": "2.2.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -46,7 +46,7 @@
46
46
  "@babel/runtime": "^7.18.0",
47
47
  "babel-plugin-macros": "3.1.0",
48
48
  "hoist-non-react-statics": "^3.3.2",
49
- "@modern-js/utils": "2.0.2"
49
+ "@modern-js/utils": "2.2.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/jest": "^27",
@@ -55,18 +55,18 @@
55
55
  "tailwindcss": "^3.2.4",
56
56
  "jest": "^27",
57
57
  "react": "^18",
58
- "postcss": "^8.4.14",
59
- "@modern-js/core": "2.0.2",
60
- "@modern-js/module-tools": "2.0.2",
61
- "@modern-js/runtime": "2.0.2",
62
- "@modern-js/types": "2.0.2",
63
- "@scripts/build": "2.0.2",
64
- "@modern-js/app-tools": "2.0.2",
65
- "@scripts/jest-config": "2.0.2"
58
+ "postcss": "8.4.21",
59
+ "@modern-js/core": "2.2.0",
60
+ "@modern-js/module-tools": "2.2.0",
61
+ "@modern-js/runtime": "2.2.0",
62
+ "@modern-js/types": "2.2.0",
63
+ "@scripts/build": "2.2.0",
64
+ "@modern-js/app-tools": "2.2.0",
65
+ "@scripts/jest-config": "2.2.0"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "tailwindcss": ">= 2.0.0 || >= 3.0.0",
69
- "@modern-js/runtime": "^2.0.2"
69
+ "@modern-js/runtime": "^2.2.0"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "@modern-js/runtime": {