Skip to content

Commit f92ac85

Browse files
version bump to 1.3.0
1 parent c3e18d8 commit f92ac85

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/apps-cli",
3-
"version": "1.2.2",
3+
"version": "1.3.0",
44
"description": "App ClI",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/contentstack-apps-cli",

src/commands/app/create.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ export default class Create extends BaseCommand<typeof Create> {
132132
await this.unZipBoilerplate(await this.cloneBoilerplate());
133133
tmp.setGracefulCleanup(); // NOTE If graceful cleanup is set, tmp will remove all controlled temporary objects on process exit
134134

135-
// To remove the default app name from flag and replace it with the actual folder name
136-
this.sharedConfig.appName =
137-
this.sharedConfig.folderPath.split("/").pop() ||
138-
this.sharedConfig.appName;
139-
this.tempAppData.name = this.sharedConfig.appName;
140-
141135
this.manageManifestToggeling();
142136

143137
// NOTE Step 2: Registering the app
@@ -322,7 +316,7 @@ export default class Create extends BaseCommand<typeof Create> {
322316
writeFileSync(
323317
resolve(
324318
this.sharedConfig.folderPath,
325-
`${this.sharedConfig.folderPath}/manifest.json`
319+
"manifest.json"
326320
),
327321
JSON.stringify(this.appData),
328322
{

0 commit comments

Comments
 (0)