@bagisto-headless/create 1.0.2 → 1.0.3
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/index.js +11 -12
- package/package.json +2 -2
- package/.vscode/settings.json +0 -3
package/index.js
CHANGED
|
@@ -108,18 +108,11 @@ async function promptEnvVariables(projectName) {
|
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
const questions = [
|
|
111
|
-
{ key: "
|
|
112
|
-
{ key: "
|
|
113
|
-
{ key: "
|
|
114
|
-
{ key: "
|
|
115
|
-
{ key: "
|
|
116
|
-
{ key: "BAGISTO_SESSION", message: "Enter BAGISTO_SESSION:" },
|
|
117
|
-
{ key: "COMPANY_NAME", message: "Enter COMPANY_NAME:" },
|
|
118
|
-
{ key: "SITE_NAME", message: "Enter SITE_NAME:" },
|
|
119
|
-
{ key: "TWITTER_CREATOR", message: "Enter TWITTER_CREATOR:" },
|
|
120
|
-
{ key: "TWITTER_SITE", message: "Enter TWITTER_SITE:" },
|
|
121
|
-
{ key: "REVALIDATION_DURATION", message: "Enter REVALIDATION_DURATION (seconds):" },
|
|
122
|
-
{ key: "NEXTAUTH_SECRET", message: "Enter NEXTAUTH_SECRET:" },
|
|
111
|
+
{ key: "NEXT_PUBLIC_BAGISTO_ENDPOINT", message: "Enter Your graphQL API URL:" },
|
|
112
|
+
{ key: "NEXT_PUBLIC_APP_URL", message: "Enter Your app URL:" },
|
|
113
|
+
{ key: "NEXT_PUBLIC_NEXT_AUTH_URL", message: "Enter Your auth URL:" },
|
|
114
|
+
{ key: "NEXT_PUBLIC_NEXT_AUTH_SECRET", message: "Enter Your auth secret:" },
|
|
115
|
+
{ key: "COMPANY_NAME", message: "Enter Your company name:", default: "Webkul Software (Registered in India)" },
|
|
123
116
|
];
|
|
124
117
|
|
|
125
118
|
const answers = {};
|
|
@@ -180,6 +173,12 @@ async function main() {
|
|
|
180
173
|
console.log(bagistoBlue.bold("📘 Explore more:"));
|
|
181
174
|
console.log(chalk.white("👉 https://bagisto.com/en/headless-ecommerce/\n"));
|
|
182
175
|
|
|
176
|
+
console.log(bagistoBlue.bold("📘 Check Bagisto Headless Documentation:"));
|
|
177
|
+
console.log(chalk.white("👉 https://headless-doc.bagisto.com/\n"));
|
|
178
|
+
|
|
179
|
+
console.log(bagistoBlue.bold("📘 Check Bagisto API Documentation:"));
|
|
180
|
+
console.log(chalk.white("👉 https://api-docs.bagisto.com/\n"));
|
|
181
|
+
|
|
183
182
|
console.log(bagistoBlue.bold("💻 GitHub:"));
|
|
184
183
|
console.log(chalk.white("👉 https://github.com/bagisto/nextjs-commerce\n"));
|
|
185
184
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagisto-headless/create",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Create a new Bagisto Headless Commerce project from the official Next.js template.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bagisto",
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
"readline": "^1.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {}
|
|
31
|
-
}
|
|
31
|
+
}
|
package/.vscode/settings.json
DELETED