@modern-js/plugin-tailwindcss 0.0.0-bundle-deps-202110124831 → 0.0.0-runtime-2021112193858
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 +31 -5
- package/dist/js/node/tailwind.js +2 -2
- package/package.json +7 -7
- package/src/tailwind.ts +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,13 +1,39 @@
|
|
1
1
|
# @modern-js/plugin-tailwindcss
|
2
2
|
|
3
|
-
## 0.0.0-
|
3
|
+
## 0.0.0-runtime-2021112193858
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
7
|
-
-
|
8
|
-
- Updated dependencies [
|
9
|
-
|
10
|
-
|
7
|
+
- 8698465e: fix: dependence version
|
8
|
+
- Updated dependencies [8698465e]
|
9
|
+
- Updated dependencies [e04914ce]
|
10
|
+
- Updated dependencies [e04914ce]
|
11
|
+
- @modern-js/core@0.0.0-runtime-2021112193858
|
12
|
+
- @modern-js/utils@0.0.0-runtime-2021112193858
|
13
|
+
|
14
|
+
## 1.1.2
|
15
|
+
|
16
|
+
### Patch Changes
|
17
|
+
|
18
|
+
- 0fa83663: support more .env files
|
19
|
+
- Updated dependencies [6f7fe574]
|
20
|
+
- Updated dependencies [0fa83663]
|
21
|
+
- Updated dependencies [f594fbc8]
|
22
|
+
- @modern-js/core@1.1.2
|
23
|
+
- @modern-js/utils@1.1.2
|
24
|
+
|
25
|
+
## 1.1.1
|
26
|
+
|
27
|
+
### Patch Changes
|
28
|
+
|
29
|
+
- cca52250: fix error config
|
30
|
+
|
31
|
+
change `tools.tailwind` to `tools.tailwindcss`
|
32
|
+
|
33
|
+
- Updated dependencies [687c92c7]
|
34
|
+
- Updated dependencies [c0fc0700]
|
35
|
+
- @modern-js/core@1.1.1
|
36
|
+
- @modern-js/utils@1.1.1
|
11
37
|
|
12
38
|
## 1.1.0
|
13
39
|
|
package/dist/js/node/tailwind.js
CHANGED
@@ -35,12 +35,12 @@ const getTailwindConfig = (config, option = {}) => {
|
|
35
35
|
const defaultTailwindConfig = {
|
36
36
|
purge: purgeConfig
|
37
37
|
};
|
38
|
-
const tailwindConfig = (0, _utils.applyOptionsChain)(defaultTailwindConfig, config.tools.
|
38
|
+
const tailwindConfig = (0, _utils.applyOptionsChain)(defaultTailwindConfig, config.tools.tailwindcss || {});
|
39
39
|
const designSystem = getPureDesignSystemConfig(config.source.designSystem || {});
|
40
40
|
const [exist, key] = checkIfExistNotAllowKeys(tailwindConfig);
|
41
41
|
|
42
42
|
if (exist) {
|
43
|
-
_utils.logger.error(`should not exist '${key}' on tools.
|
43
|
+
_utils.logger.error(`should not exist '${key}' on tools.tailwindcss, please remove it`); // eslint-disable-next-line no-process-exit
|
44
44
|
|
45
45
|
|
46
46
|
process.exit(0);
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "0.0.0-
|
14
|
+
"version": "0.0.0-runtime-2021112193858",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/types/index.d.ts",
|
17
17
|
"main": "./dist/js/node/index.js",
|
@@ -29,24 +29,24 @@
|
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
31
|
"@babel/runtime": "^7",
|
32
|
-
"@modern-js/utils": "^0.0.0-
|
32
|
+
"@modern-js/utils": "^0.0.0-runtime-2021112193858",
|
33
33
|
"lodash.clonedeep": "^4.5.0",
|
34
34
|
"lodash.merge": "^4.6.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@modern-js/core": "^0.0.0-
|
38
|
-
"@modern-js/module-tools": "^0.0.0-
|
39
|
-
"@modern-js/plugin-testing": "^0.0.0-
|
37
|
+
"@modern-js/core": "^0.0.0-runtime-2021112193858",
|
38
|
+
"@modern-js/module-tools": "^0.0.0-runtime-2021112193858",
|
39
|
+
"@modern-js/plugin-testing": "^0.0.0-runtime-2021112193858",
|
40
40
|
"@types/jest": "^26",
|
41
41
|
"@types/lodash.clonedeep": "^4.5.6",
|
42
42
|
"@types/lodash.merge": "^4.6.6",
|
43
43
|
"@types/node": "^14",
|
44
44
|
"@types/tailwindcss": "^2.2.1",
|
45
|
-
"typescript": "^4",
|
45
|
+
"typescript": "^4.4.4",
|
46
46
|
"tailwindcss": "^2.0.4"
|
47
47
|
},
|
48
48
|
"peerDependencies": {
|
49
|
-
"@modern-js/core": "^0.0.0-
|
49
|
+
"@modern-js/core": "^0.0.0-runtime-2021112193858",
|
50
50
|
"tailwindcss": "^2.0.4"
|
51
51
|
},
|
52
52
|
"sideEffects": false,
|
package/src/tailwind.ts
CHANGED
@@ -52,7 +52,7 @@ const getTailwindConfig = (
|
|
52
52
|
};
|
53
53
|
const tailwindConfig = applyOptionsChain(
|
54
54
|
defaultTailwindConfig,
|
55
|
-
(config.tools as any).
|
55
|
+
(config.tools as any).tailwindcss || {},
|
56
56
|
);
|
57
57
|
|
58
58
|
const designSystem = getPureDesignSystemConfig(
|
@@ -63,7 +63,7 @@ const getTailwindConfig = (
|
|
63
63
|
|
64
64
|
if (exist) {
|
65
65
|
logger.error(
|
66
|
-
`should not exist '${key}' on tools.
|
66
|
+
`should not exist '${key}' on tools.tailwindcss, please remove it`,
|
67
67
|
);
|
68
68
|
// eslint-disable-next-line no-process-exit
|
69
69
|
process.exit(0);
|