@modern-js/tailwindcss-generator 3.0.0-beta.5 → 3.0.0-beta.6
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/dist/index.js +4 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -104909,15 +104909,15 @@ var getGeneratorPath = (generator, distTag) => {
|
|
|
104909
104909
|
};
|
|
104910
104910
|
var handleTemplateFile = async (context, generator, appApi) => {
|
|
104911
104911
|
const { dependencies, peerDependencies, devDependencies } = context.config;
|
|
104912
|
-
const
|
|
104912
|
+
const tailwindVersion = "~3.2.4";
|
|
104913
104913
|
if (dependencies?.tailwindcss) {
|
|
104914
|
-
dependencies.tailwindcss =
|
|
104914
|
+
dependencies.tailwindcss = tailwindVersion;
|
|
104915
104915
|
}
|
|
104916
104916
|
if (peerDependencies?.tailwindcss) {
|
|
104917
|
-
peerDependencies.tailwindcss =
|
|
104917
|
+
peerDependencies.tailwindcss = tailwindVersion;
|
|
104918
104918
|
}
|
|
104919
104919
|
if (devDependencies?.tailwindcss) {
|
|
104920
|
-
devDependencies.tailwindcss =
|
|
104920
|
+
devDependencies.tailwindcss = tailwindVersion;
|
|
104921
104921
|
}
|
|
104922
104922
|
await appApi.runSubGenerator(
|
|
104923
104923
|
getGeneratorPath(DependenceGenerator, context.config.distTag),
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "3.0.0-beta.
|
|
14
|
+
"version": "3.0.0-beta.6",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@types/node": "^14",
|
|
27
27
|
"jest": "^27",
|
|
28
28
|
"typescript": "^4",
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@modern-js/generator-
|
|
29
|
+
"@scripts/build": "2.0.0-beta.7",
|
|
30
|
+
"@scripts/jest-config": "2.0.0-beta.7",
|
|
31
|
+
"@modern-js/generator-common": "3.0.0-beta.6",
|
|
32
|
+
"@modern-js/dependence-generator": "3.0.0-beta.6",
|
|
33
|
+
"@modern-js/generator-utils": "3.0.0-beta.6"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"publishConfig": {
|