@weapp-core/init 6.0.6 → 6.0.7
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -662,7 +662,7 @@ async function initTsJsonFiles(options) {
|
|
|
662
662
|
}
|
|
663
663
|
//#endregion
|
|
664
664
|
//#region ../../packages/weapp-vite/package.json
|
|
665
|
-
var version = "6.
|
|
665
|
+
var version = "6.15.5";
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region src/npm.ts
|
|
668
668
|
/**
|
|
@@ -855,7 +855,7 @@ async function createOrUpdateProjectConfig(options) {
|
|
|
855
855
|
ensurePackNpmRelationList(projectConfig);
|
|
856
856
|
ctx.projectConfig.value = projectConfig;
|
|
857
857
|
if (write) {
|
|
858
|
-
await
|
|
858
|
+
await writeFile(outputPath, JSON.stringify(projectConfig, null, 2));
|
|
859
859
|
logger.log(`✨ 写入 ${posix.relative(root, outputPath)} 成功!`);
|
|
860
860
|
}
|
|
861
861
|
return projectConfig;
|