@weapp-core/init 1.1.2 → 1.1.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/dist/index.cjs CHANGED
@@ -641,6 +641,7 @@ async function createProject(targetDir = "", templateDirName = "default") {
641
641
  const pkgJson = await import_fs_extra.default.readJson(pkgJsonPath);
642
642
  if (pkgJson.devDependencies) {
643
643
  pkgJson.devDependencies["weapp-vite"] = "latest";
644
+ pkgJson.devDependencies["weapp-tailwindcss"] = "latest";
644
645
  }
645
646
  await import_fs_extra.default.writeJson(path.resolve(targetDir, "package.json"), pkgJson, { spaces: 2 });
646
647
  import_logger.default.log(`\u2728 \u521B\u5EFA\u6A21\u677F\u6210\u529F!`);
package/dist/index.js CHANGED
@@ -595,6 +595,7 @@ async function createProject(targetDir = "", templateDirName = "default") {
595
595
  const pkgJson = await fs.readJson(pkgJsonPath);
596
596
  if (pkgJson.devDependencies) {
597
597
  pkgJson.devDependencies["weapp-vite"] = "latest";
598
+ pkgJson.devDependencies["weapp-tailwindcss"] = "latest";
598
599
  }
599
600
  await fs.writeJson(path.resolve(targetDir, "package.json"), pkgJson, { spaces: 2 });
600
601
  logger.log(`\u2728 \u521B\u5EFA\u6A21\u677F\u6210\u529F!`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-core/init",
3
3
  "type": "module",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "description": "@weapp-core/init",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "sass": "^1.79.5",
32
32
  "tailwindcss": "^3.4.13",
33
33
  "typescript": "latest",
34
- "weapp-tailwindcss": "^3.5.3",
34
+ "weapp-tailwindcss": "^3.6.0",
35
35
  "weapp-vite": "workspace:*"
36
36
  }
37
37
  }