@bagisto-headless/create 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/index.js +6 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  import figlet from "figlet";
3
2
  import gradient from "gradient-string";
4
3
  import chalk from "chalk";
@@ -105,11 +104,11 @@ async function promptEnvVariables(projectName) {
105
104
  output: process.stdout,
106
105
  });
107
106
 
108
- const questions = [
109
- { key: "NEXT_PUBLIC_BAGISTO_ENDPOINT", message: "Enter Your graphQL API URL:" },
110
- { key: "NEXT_PUBLIC_APP_URL", message: "Enter Your app URL:" },
111
- { key: "NEXT_PUBLIC_NEXT_AUTH_URL", message: "Enter Your auth URL:" },
112
- { key: "NEXT_PUBLIC_NEXT_AUTH_SECRET", message: "Enter Your auth secret:" },
107
+ constquestions = [
108
+ { key: "NEXT_PUBLIC_BAGISTO_ENDPOINT", message: "Enter Your Bagisto Shop URL:" },
109
+ { key: "NEXT_PUBLIC_BAGISTO_STOREFRONT_KEY", message: "Enter Your Bagisto Storefront Key:" },
110
+ { key: "NEXT_PUBLIC_NEXT_AUTH_URL", message: "Enter Your Headless Shop URL:" },
111
+ { key: "NEXT_PUBLIC_NEXT_AUTH_SECRET", message: "Enter Your Headless Shop Secret:" },
113
112
  { key: "COMPANY_NAME", message: "Enter Your company name:", default: "Webkul Software (Registered in India)" },
114
113
  ];
115
114
 
@@ -185,4 +184,4 @@ async function main() {
185
184
  main().catch((err) => {
186
185
  spinner.fail(chalk.red(`Error: ${err.message}`));
187
186
  process.exit(1);
188
- });
187
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bagisto-headless/create",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Create a new Bagisto Headless Commerce project from the official Next.js template.",
5
5
  "keywords": [
6
6
  "bagisto",