@modern-js/plugin-tailwindcss 2.20.0 → 2.21.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.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 26dcf3a: chore: bump typescript to v5 in devDependencies
8
+
9
+ chore: 升级 devDependencies 中的 typescript 版本到 v5
10
+
11
+ - Updated dependencies [e81eeaf]
12
+ - Updated dependencies [26dcf3a]
13
+ - Updated dependencies [0a1aa3b]
14
+ - Updated dependencies [056627f]
15
+ - Updated dependencies [8b7c6d4]
16
+ - Updated dependencies [807f04a]
17
+ - Updated dependencies [0fc15ca]
18
+ - Updated dependencies [43b4e83]
19
+ - Updated dependencies [ad78387]
20
+ - @modern-js/runtime@2.21.0
21
+ - @modern-js/utils@2.21.0
22
+
3
23
  ## 2.20.0
4
24
 
5
25
  ### Patch Changes
@@ -1,11 +1,9 @@
1
1
  import type { LegacyAppTools } from '@modern-js/app-tools';
2
2
  import type { CliPlugin, ModuleTools } from '@modern-js/module-tools';
3
3
  export declare const getRandomTwConfigFileName: (internalDirectory: string) => string;
4
-
5
4
  declare const _default: ({
6
5
  pluginName
7
6
  }?: {
8
7
  pluginName: string;
9
8
  }) => CliPlugin<LegacyAppTools & ModuleTools>;
10
-
11
9
  export default _default;
@@ -1,9 +1,7 @@
1
1
  import type { CliPlugin, LegacyAppTools } from '@modern-js/app-tools';
2
-
3
2
  declare const _default: ({
4
3
  pluginName
5
4
  }?: {
6
5
  pluginName: string;
7
6
  }) => CliPlugin<LegacyAppTools>;
8
-
9
7
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import type { Declaration } from 'postcss';
2
-
3
2
  declare const _default: ({
4
3
  cssVarsHash
5
4
  }?: {
@@ -8,5 +7,4 @@ declare const _default: ({
8
7
  postcssPlugin: string;
9
8
  Declaration(decl: Declaration): void;
10
9
  };
11
-
12
10
  export default _default;
@@ -2,11 +2,9 @@ import type { Plugin } from '@modern-js/runtime';
2
2
  import React from 'react';
3
3
  export declare const DesignTokenContext: React.Context<any>;
4
4
  export declare const useDesignTokens: () => IDesignTokens;
5
-
6
5
  declare const _default: (options?: {
7
6
  token?: Record<string, any>;
8
7
  useStyledComponentsThemeProvider?: boolean;
9
8
  useDesignTokenContext?: boolean;
10
9
  }) => Plugin;
11
-
12
10
  export default _default;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.20.0",
18
+ "version": "2.21.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -49,27 +49,27 @@
49
49
  "babel-plugin-macros": "3.1.0",
50
50
  "hoist-non-react-statics": "^3.3.2",
51
51
  "@swc/helpers": "0.5.1",
52
- "@modern-js/utils": "2.20.0"
52
+ "@modern-js/utils": "2.21.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/jest": "^29",
56
56
  "@types/node": "^14",
57
- "typescript": "^4",
57
+ "typescript": "^5",
58
58
  "tailwindcss": "^3.2.4",
59
59
  "jest": "^29",
60
60
  "react": "^18",
61
61
  "postcss": "8.4.21",
62
- "@modern-js/core": "2.20.0",
63
- "@modern-js/module-tools": "2.20.0",
64
- "@modern-js/runtime": "2.20.0",
65
- "@modern-js/types": "2.20.0",
66
- "@scripts/build": "2.20.0",
67
- "@modern-js/app-tools": "2.20.0",
68
- "@scripts/jest-config": "2.20.0"
62
+ "@modern-js/core": "2.21.0",
63
+ "@modern-js/module-tools": "2.21.0",
64
+ "@modern-js/runtime": "2.21.0",
65
+ "@modern-js/types": "2.21.0",
66
+ "@scripts/build": "2.21.0",
67
+ "@modern-js/app-tools": "2.21.0",
68
+ "@scripts/jest-config": "2.21.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "tailwindcss": ">= 2.0.0 || >= 3.0.0",
72
- "@modern-js/runtime": "^2.20.0"
72
+ "@modern-js/runtime": "^2.21.0"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@modern-js/runtime": {