@onexapis/cli 1.1.4 → 1.1.5
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/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +3 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3020,6 +3020,9 @@ async function renameTheme(themeDir, oldName, newName) {
|
|
|
3020
3020
|
);
|
|
3021
3021
|
}
|
|
3022
3022
|
pkg.version = "1.0.0";
|
|
3023
|
+
if (pkg.devDependencies?.["@onexapis/cli"]) {
|
|
3024
|
+
delete pkg.devDependencies["@onexapis/cli"];
|
|
3025
|
+
}
|
|
3023
3026
|
await fs.writeJson(pkgPath, pkg, { spaces: 2 });
|
|
3024
3027
|
}
|
|
3025
3028
|
const configPath = path7.join(themeDir, "theme.config.ts");
|