@modern-js/plugin-tailwindcss 1.2.2 → 1.2.3

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,15 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 8f24a514: fix: UserConfig is missing tools.tailwindcss type
8
+ - Updated dependencies [deeaa602]
9
+ - Updated dependencies [54786e58]
10
+ - @modern-js/utils@1.3.2
11
+ - @modern-js/core@1.4.3
12
+
3
13
  ## 1.2.2
4
14
 
5
15
  ### Patch Changes
@@ -10,6 +10,8 @@ Object.defineProperty(exports, "default", {
10
10
  }
11
11
  });
12
12
 
13
+ require("./types");
14
+
13
15
  var _cli = _interopRequireDefault(require("./cli"));
14
16
 
15
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("@modern-js/core");
@@ -1 +1,2 @@
1
+ import './types';
1
2
  export { default } from './cli';
@@ -0,0 +1,6 @@
1
+ import '@modern-js/core';
2
+ declare module '@modern-js/core' {
3
+ interface ToolsConfig {
4
+ tailwindcss?: Record<string, any> | ((options: Record<string, any>) => Record<string, any> | void);
5
+ }
6
+ }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.2",
14
+ "version": "1.2.3",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7",
36
- "@modern-js/utils": "^1.2.2",
36
+ "@modern-js/utils": "^1.3.2",
37
37
  "@modern-js/plugin-design-token": "^1.0.1",
38
38
  "lodash.clonedeep": "^4.5.0",
39
39
  "lodash.merge": "^4.6.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@modern-js/core": "^1.4.2",
42
+ "@modern-js/core": "^1.4.3",
43
43
  "@scripts/build": "0.0.0",
44
44
  "@types/jest": "^26",
45
45
  "@types/lodash.clonedeep": "^4.5.6",
@@ -52,7 +52,7 @@
52
52
  "@scripts/jest-config": "0.0.0"
53
53
  },
54
54
  "peerDependencies": {
55
- "@modern-js/core": "^1.4.2",
55
+ "@modern-js/core": "^1.4.3",
56
56
  "tailwindcss": "^2.0.4"
57
57
  },
58
58
  "sideEffects": false,