Skip to content

Commit

Permalink
version bump to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithad0703 committed Jul 22, 2024
1 parent 0e7b449 commit 96b38b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/apps-cli",
"version": "1.2.2",
"version": "1.3.0",
"description": "App ClI",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/contentstack-apps-cli",
Expand Down
8 changes: 1 addition & 7 deletions src/commands/app/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ export default class Create extends BaseCommand<typeof Create> {
await this.unZipBoilerplate(await this.cloneBoilerplate());
tmp.setGracefulCleanup(); // NOTE If graceful cleanup is set, tmp will remove all controlled temporary objects on process exit

// To remove the default app name from flag and replace it with the actual folder name
this.sharedConfig.appName =
this.sharedConfig.folderPath.split("/").pop() ||
this.sharedConfig.appName;
this.tempAppData.name = this.sharedConfig.appName;

this.manageManifestToggeling();

// NOTE Step 2: Registering the app
Expand Down Expand Up @@ -322,7 +316,7 @@ export default class Create extends BaseCommand<typeof Create> {
writeFileSync(
resolve(
this.sharedConfig.folderPath,
`${this.sharedConfig.folderPath}/manifest.json`
"manifest.json"
),
JSON.stringify(this.appData),
{
Expand Down

0 comments on commit 96b38b2

Please sign in to comment.