@modern-js/plugin-tailwindcss 1.5.1 → 1.15.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,19 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 1.15.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8658a78]
8
+ - Updated dependencies [335c97c]
9
+ - Updated dependencies [05d4a4f]
10
+ - Updated dependencies [ad05af9]
11
+ - Updated dependencies [5d53d1c]
12
+ - Updated dependencies [37cd159]
13
+ - Updated dependencies [a04a11b]
14
+ - @modern-js/utils@1.15.0
15
+ - @modern-js/runtime@1.15.0
16
+
3
17
  ## 1.5.1
4
18
 
5
19
  ### Patch Changes
@@ -7,6 +7,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
7
7
  import { lazyImport, PLUGIN_SCHEMAS, createRuntimeExportsUtils } from '@modern-js/utils';
8
8
  export default (({
9
9
  pluginName
10
+ } = {
11
+ pluginName: '@modern-js/plugin-tailwindcss'
10
12
  }) => ({
11
13
  name: '@modern-js/plugin-design-token',
12
14
 
@@ -15,6 +15,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
15
15
 
16
16
  var _default = ({
17
17
  pluginName
18
+ } = {
19
+ pluginName: '@modern-js/plugin-tailwindcss'
18
20
  }) => ({
19
21
  name: '@modern-js/plugin-design-token',
20
22
 
@@ -1,8 +1,12 @@
1
1
  import _typeof from "@babel/runtime/helpers/esm/typeof";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import { lazyImport, PLUGIN_SCHEMAS, createRuntimeExportsUtils } from '@modern-js/utils';
4
- export default (function (_ref) {
5
- var pluginName = _ref.pluginName;
4
+ export default (function () {
5
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
6
+ pluginName: '@modern-js/plugin-tailwindcss'
7
+ },
8
+ pluginName = _ref.pluginName;
9
+
6
10
  return {
7
11
  name: '@modern-js/plugin-design-token',
8
12
  setup: function setup(api) {
@@ -2,7 +2,7 @@ import type { CliPlugin } from '@modern-js/core';
2
2
 
3
3
  declare const _default: ({
4
4
  pluginName
5
- }: {
5
+ }?: {
6
6
  pluginName: string;
7
7
  }) => CliPlugin;
8
8
 
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.5.1",
14
+ "version": "1.15.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -44,13 +44,13 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@babel/runtime": "^7.18.0",
47
- "@modern-js/utils": "^1.9.0",
47
+ "@modern-js/utils": "1.15.0",
48
48
  "hoist-non-react-statics": "^3.3.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@modern-js/core": "1.14.0",
52
- "@modern-js/runtime": "1.5.0",
53
- "@scripts/build": "0.0.0",
51
+ "@modern-js/core": "1.15.0",
52
+ "@modern-js/runtime": "1.15.0",
53
+ "@scripts/build": "1.15.0",
54
54
  "@types/jest": "^27",
55
55
  "@types/node": "^14",
56
56
  "@types/tailwindcss": "^2.2.1",
@@ -59,13 +59,13 @@
59
59
  "jest": "^27",
60
60
  "react": "^17.0.2",
61
61
  "postcss": "^8.4.14",
62
- "@scripts/jest-config": "0.0.0",
62
+ "@scripts/jest-config": "1.15.0",
63
63
  "@types/hoist-non-react-statics": "^3.3.1",
64
64
  "@types/react": "^17"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "tailwindcss": "^2.0.4",
68
- "@modern-js/runtime": "^1.5.0"
68
+ "@modern-js/runtime": "^1.15.0"
69
69
  },
70
70
  "peerDependenciesMeta": {
71
71
  "@modern-js/runtime": {