@embeddable.com/init 0.1.7 → 0.1.14
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/dist/index.js +4 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -65,7 +65,7 @@ async function main() {
|
|
|
65
65
|
const onCancel = () => exit("\nSetup cancelled.\n");
|
|
66
66
|
console.log(chalk.white(LOGO));
|
|
67
67
|
await typewriter("Welcome to Embeddable!\n\n", chalk.bold, TYPEWRITER_SPEED);
|
|
68
|
-
await typewriter("Embeddable
|
|
68
|
+
await typewriter("Embeddable stores your ", void 0, TYPEWRITER_SPEED);
|
|
69
69
|
await typewriter("charting components", chalk.bold, TYPEWRITER_SPEED);
|
|
70
70
|
await typewriter(", ", void 0, TYPEWRITER_SPEED);
|
|
71
71
|
await typewriter("data models", chalk.bold, TYPEWRITER_SPEED);
|
|
@@ -78,19 +78,13 @@ async function main() {
|
|
|
78
78
|
await typewriter(" and the ", void 0, TYPEWRITER_SPEED);
|
|
79
79
|
await typewriter("data", chalk.bold, TYPEWRITER_SPEED);
|
|
80
80
|
await typewriter(" powering your dashboards.\n\n", void 0, TYPEWRITER_SPEED);
|
|
81
|
-
await typewriter("This tool
|
|
82
|
-
await typewriter("new folder", chalk.bold, TYPEWRITER_SPEED);
|
|
83
|
-
await typewriter(", containing ", void 0, TYPEWRITER_SPEED);
|
|
84
|
-
await typewriter("sample data models", chalk.bold, TYPEWRITER_SPEED);
|
|
85
|
-
await typewriter(" and ", void 0, TYPEWRITER_SPEED);
|
|
86
|
-
await typewriter("themes", chalk.bold, TYPEWRITER_SPEED);
|
|
87
|
-
await typewriter(" to help you create your first Embeddable dashboard.\n\n", void 0, TYPEWRITER_SPEED);
|
|
81
|
+
await typewriter("This tool helps you get set up to create your first Embeddable dashboard.\n\n", void 0, TYPEWRITER_SPEED);
|
|
88
82
|
const cwd = process.cwd();
|
|
89
83
|
const { confirmDir } = await prompts(
|
|
90
84
|
{
|
|
91
85
|
type: "confirm",
|
|
92
86
|
name: "confirmDir",
|
|
93
|
-
message: `Ok to create a new
|
|
87
|
+
message: `Ok to create a new Project subfolder in your current directory ${chalk.cyan(cwd)}?`,
|
|
94
88
|
initial: true
|
|
95
89
|
},
|
|
96
90
|
{ onCancel }
|
|
@@ -149,7 +143,7 @@ Failed to download boilerplate: ${message}
|
|
|
149
143
|
type: "password",
|
|
150
144
|
name: "apiKey",
|
|
151
145
|
message: `You'll need an API Key to push this code bundle to your account's workspace
|
|
152
|
-
(
|
|
146
|
+
(to create an account, head to ${chalk.cyan("https://embeddable.com/start")}).
|
|
153
147
|
|
|
154
148
|
Paste your API Key here:`,
|
|
155
149
|
validate: (value) => {
|