@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.js
CHANGED
|
@@ -3057,6 +3057,9 @@ async function renameTheme(themeDir, oldName, newName) {
|
|
|
3057
3057
|
);
|
|
3058
3058
|
}
|
|
3059
3059
|
pkg.version = "1.0.0";
|
|
3060
|
+
if (pkg.devDependencies?.["@onexapis/cli"]) {
|
|
3061
|
+
delete pkg.devDependencies["@onexapis/cli"];
|
|
3062
|
+
}
|
|
3060
3063
|
await fs__default.default.writeJson(pkgPath, pkg, { spaces: 2 });
|
|
3061
3064
|
}
|
|
3062
3065
|
const configPath = path7__default.default.join(themeDir, "theme.config.ts");
|