@embeddable.com/init 0.1.7 → 0.1.15
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 +6 -6
- 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,19 @@ 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 creates a ", void 0, TYPEWRITER_SPEED);
|
|
82
|
-
await typewriter("
|
|
81
|
+
await typewriter("This tool creates a new ", void 0, TYPEWRITER_SPEED);
|
|
82
|
+
await typewriter("project folder", chalk.bold, TYPEWRITER_SPEED);
|
|
83
83
|
await typewriter(", containing ", void 0, TYPEWRITER_SPEED);
|
|
84
84
|
await typewriter("sample data models", chalk.bold, TYPEWRITER_SPEED);
|
|
85
85
|
await typewriter(" and ", void 0, TYPEWRITER_SPEED);
|
|
86
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);
|
|
87
|
+
await typewriter(" (in your current directory) to help you create your first Embeddable dashboard.\n\n", void 0, TYPEWRITER_SPEED);
|
|
88
88
|
const cwd = process.cwd();
|
|
89
89
|
const { confirmDir } = await prompts(
|
|
90
90
|
{
|
|
91
91
|
type: "confirm",
|
|
92
92
|
name: "confirmDir",
|
|
93
|
-
message: `Ok to create a new
|
|
93
|
+
message: `Ok to create a new Project subfolder in your current directory ${chalk.cyan(cwd)}?`,
|
|
94
94
|
initial: true
|
|
95
95
|
},
|
|
96
96
|
{ onCancel }
|
|
@@ -149,7 +149,7 @@ Failed to download boilerplate: ${message}
|
|
|
149
149
|
type: "password",
|
|
150
150
|
name: "apiKey",
|
|
151
151
|
message: `You'll need an API Key to push this code bundle to your account's workspace
|
|
152
|
-
(
|
|
152
|
+
(to create an account, head to ${chalk.cyan("https://embeddable.com/start")}).
|
|
153
153
|
|
|
154
154
|
Paste your API Key here:`,
|
|
155
155
|
validate: (value) => {
|