@modern-js/plugin-tailwindcss 0.0.0-next-1687763825625 → 0.0.0-next-1687764171352
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 +4 -8
- package/dist/cjs/cli.js +1 -5
- package/dist/cjs/index.js +6 -15
- package/dist/esm/cli.js +3 -3
- package/dist/esm/index.js +1 -3
- package/dist/esm-node/cli.js +1 -2
- package/dist/esm-node/index.js +1 -3
- package/dist/types/cli.d.ts +2 -2
- package/dist/types/index.d.ts +1 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
# @modern-js/plugin-tailwindcss
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-1687764171352
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- Updated dependencies [5732c6a08]
|
|
12
|
-
- @modern-js/utils@0.0.0-next-1687763825625
|
|
13
|
-
- @modern-js/runtime@0.0.0-next-1687763825625
|
|
7
|
+
- Updated dependencies [13354d335]
|
|
8
|
+
- @modern-js/runtime@0.0.0-next-1687764171352
|
|
9
|
+
- @modern-js/utils@0.0.0-next-1687764171352
|
|
14
10
|
|
|
15
11
|
## 2.24.0
|
|
16
12
|
|
package/dist/cjs/cli.js
CHANGED
|
@@ -13,9 +13,6 @@ _export(exports, {
|
|
|
13
13
|
getRandomTwConfigFileName: function() {
|
|
14
14
|
return getRandomTwConfigFileName;
|
|
15
15
|
},
|
|
16
|
-
tailwindcssPlugin: function() {
|
|
17
|
-
return tailwindcssPlugin;
|
|
18
|
-
},
|
|
19
16
|
default: function() {
|
|
20
17
|
return _default;
|
|
21
18
|
}
|
|
@@ -45,7 +42,7 @@ function getDefaultContent(appDirectory) {
|
|
|
45
42
|
}
|
|
46
43
|
return defaultContent;
|
|
47
44
|
}
|
|
48
|
-
const
|
|
45
|
+
const _default = ({ pluginName } = {
|
|
49
46
|
pluginName: "@modern-js/plugin-tailwindcss"
|
|
50
47
|
}) => {
|
|
51
48
|
return {
|
|
@@ -164,4 +161,3 @@ const tailwindcssPlugin = ({ pluginName } = {
|
|
|
164
161
|
}
|
|
165
162
|
};
|
|
166
163
|
};
|
|
167
|
-
const _default = tailwindcssPlugin;
|
package/dist/cjs/index.js
CHANGED
|
@@ -2,20 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
get: all[name]
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
tailwindcssPlugin: function() {
|
|
14
|
-
return _cli.tailwindcssPlugin;
|
|
15
|
-
},
|
|
16
|
-
default: function() {
|
|
17
|
-
return _default;
|
|
5
|
+
Object.defineProperty(exports, "default", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _cli.default;
|
|
18
9
|
}
|
|
19
10
|
});
|
|
20
|
-
const
|
|
21
|
-
const
|
|
11
|
+
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
12
|
+
const _cli = /* @__PURE__ */ _interop_require_default._(require("./cli"));
|
package/dist/esm/cli.js
CHANGED
|
@@ -24,7 +24,7 @@ function getDefaultContent(appDirectory) {
|
|
|
24
24
|
}
|
|
25
25
|
return defaultContent;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export default function() {
|
|
28
28
|
var pluginName = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
29
29
|
pluginName: "@modern-js/plugin-tailwindcss"
|
|
30
30
|
}).pluginName;
|
|
@@ -163,5 +163,5 @@ export var tailwindcssPlugin = function() {
|
|
|
163
163
|
};
|
|
164
164
|
}()
|
|
165
165
|
};
|
|
166
|
-
}
|
|
167
|
-
|
|
166
|
+
}
|
|
167
|
+
;
|
package/dist/esm/index.js
CHANGED
package/dist/esm-node/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ function getDefaultContent(appDirectory) {
|
|
|
22
22
|
}
|
|
23
23
|
return defaultContent;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export default ({ pluginName } = {
|
|
26
26
|
pluginName: "@modern-js/plugin-tailwindcss"
|
|
27
27
|
}) => {
|
|
28
28
|
return {
|
|
@@ -141,4 +141,3 @@ export const tailwindcssPlugin = ({ pluginName } = {
|
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
export default tailwindcssPlugin;
|
package/dist/esm-node/index.js
CHANGED
package/dist/types/cli.d.ts
CHANGED
|
@@ -1,9 +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
|
-
|
|
4
|
+
declare const _default: ({
|
|
5
5
|
pluginName
|
|
6
6
|
}?: {
|
|
7
7
|
pluginName: string;
|
|
8
8
|
}) => CliPlugin<LegacyAppTools & ModuleTools>;
|
|
9
|
-
export default
|
|
9
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1687764171352",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
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": "0.0.0-next-
|
|
52
|
+
"@modern-js/utils": "0.0.0-next-1687764171352"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/jest": "^29",
|
|
@@ -59,17 +59,17 @@
|
|
|
59
59
|
"jest": "^29",
|
|
60
60
|
"react": "^18",
|
|
61
61
|
"postcss": "8.4.21",
|
|
62
|
-
"@modern-js/core": "0.0.0-next-
|
|
63
|
-
"@modern-js/module-tools": "0.0.0-next-
|
|
64
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
65
|
-
"@modern-js/types": "0.0.0-next-
|
|
66
|
-
"@scripts/build": "0.0.0-next-
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
62
|
+
"@modern-js/core": "0.0.0-next-1687764171352",
|
|
63
|
+
"@modern-js/module-tools": "0.0.0-next-1687764171352",
|
|
64
|
+
"@modern-js/runtime": "0.0.0-next-1687764171352",
|
|
65
|
+
"@modern-js/types": "0.0.0-next-1687764171352",
|
|
66
|
+
"@scripts/build": "0.0.0-next-1687764171352",
|
|
67
|
+
"@modern-js/app-tools": "0.0.0-next-1687764171352",
|
|
68
|
+
"@scripts/jest-config": "0.0.0-next-1687764171352"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"tailwindcss": ">= 2.0.0 || >= 3.0.0",
|
|
72
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
72
|
+
"@modern-js/runtime": "0.0.0-next-1687764171352"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"@modern-js/runtime": {
|