From ac43afcd370627c9f3f8ffde6d0eb3bfb9bb14f8 Mon Sep 17 00:00:00 2001 From: Zelal Hossain Date: Tue, 10 Dec 2024 14:08:13 +0600 Subject: [PATCH 1/2] backend location chnage for cli --- packages/backend/src/plugins/padma-backend/package.json | 2 +- packages/padma/package.json | 2 +- packages/padma/src/commands/backend.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/backend/src/plugins/padma-backend/package.json b/packages/backend/src/plugins/padma-backend/package.json index eb579074..e98bee87 100644 --- a/packages/backend/src/plugins/padma-backend/package.json +++ b/packages/backend/src/plugins/padma-backend/package.json @@ -2,7 +2,7 @@ "name": "@padmadev/padma-backend", "description": "Padma Backend", "license": "MIT", - "version": "0.0.5", + "version": "0.0.6", "keywords": [ "strapi", "strapi-plugin", diff --git a/packages/padma/package.json b/packages/padma/package.json index da4d3c8b..557e444c 100644 --- a/packages/padma/package.json +++ b/packages/padma/package.json @@ -1,7 +1,7 @@ { "name": "@padmadev/padma", "description": "Padma- Nextjs Framework for Strapi", - "version": "0.0.3-alpha.8", + "version": "0.0.4", "author": "Zelal Hossain", "bin": "./bin/run.js", "bugs": "https://github.com/js-template/padma", diff --git a/packages/padma/src/commands/backend.ts b/packages/padma/src/commands/backend.ts index a58a4dca..ac4b50ca 100644 --- a/packages/padma/src/commands/backend.ts +++ b/packages/padma/src/commands/backend.ts @@ -21,11 +21,11 @@ export default class Backend extends Command { }), branch: Flags.string({ description: 'Template branch', - default: 'components-create-strapi5', + default: 'main', }), templatePath: Flags.string({ description: 'Template path', - default: 'apps/backend-v5', + default: 'packages/backend', }), noInteractive: Flags.boolean({ char: 'i', @@ -55,7 +55,7 @@ export default class Backend extends Command { const output = execSync(fullCommand, {stdio: 'inherit'}) this.log(output.toString()) } catch (error) { - this.error(`Failed to execute command: ${error instanceof Error ? error.message : error}`) + //this.error(`Failed to execute command: ${error instanceof Error ? error.message : error}`) } } } From cedf0d49b87f2f4d3d6ae2af73c00924fad5eb2b Mon Sep 17 00:00:00 2001 From: Zelal Hossain Date: Tue, 10 Dec 2024 14:09:52 +0600 Subject: [PATCH 2/2] version updated --- package.json | 2 +- packages/core/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 48639437..d7d1282f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "padma-monorepo", "description": "Padma - The Next.js Framework for Strapi", - "version": "1.0.0-alpha.0", + "version": "0.0.4", "private": true, "workspaces": [ "packages/*", diff --git a/packages/core/package.json b/packages/core/package.json index edfed0c3..448c6bd3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@padmadev/core", - "version": "1.0.0-alpha.0", + "version": "0.0.4", "description": "Padma- Nextjs frontend", "license": "MIT", "author": {