@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 +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/templates/default/package.json +1 -1
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