-
Notifications
You must be signed in to change notification settings - Fork 28
/
messages.mjs
52 lines (37 loc) · 1.81 KB
/
messages.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const chalk = await import("chalk");
const { b, g, gr, r, y, m } = await import("./theme.mjs");
// Shown if everything is successful
export const finished = `
${chalk.default.underline("NEXT STEPS")}
Congrats! You are ready to start. Please push everything up to GitHub
when you are ready.
Please review the files that were just added to this directory.
If you are new to spec writing or the WICG, we strongly encourage you to read:
⭐ Contributing New Proposals:
${b("https://github.com/WICG/admin#contributing-new-proposals")}
⭐️ API Design Principles:
${b("https://w3ctag.github.io/design-principles/")}
⭐️ Writing Promise-Using Specs:
${b("http://www.w3.org/2001/tag/doc/promises-guide")}
Good luck! 🐼
`;
const wicgURL = chalk.default.blue.underline.bold("https//wicg.io");
const wicgTitle = chalk.default.yellow("Web Incubator Community Group");
const W3C = `${gr(">--=")} ${b("W")} * ${gr("3")} * ${b("C")} ${gr("=--<")}`;
export const logo = `
${y(" __ __")}${r(".___")}${m("_________")}${g(" ________")} ${W3C}
${y("/ \\ / \\")}${r(" \\")}${m("_ ___ \\")}${g(" / _____/")}
${y("\\ \\/\\/ /")}${r(" /")}${m(" \\ \\/")}${g("/ \\ ___")} ${wicgTitle}
${y(" \\ /")}${r("| \\")}${m(" \\___")}${g("\\ \\_\\ \\")}
${y(" \\__/\\ /")}${r(" |___|")}${m("\\______ /")}${g("\\______ /")} ${wicgURL}
${y(" \\/")} ${m("\\/")} ${g("\\/")}
This utility creates the basic files you need to get started.
It guesses sensible defaults based on your git setup.
Press ^C at any time to quit.
`;
export const example = `
ℹ️ A utility to get you started writing WICG specs.
Example:
wicg init "My Awesome API"
More info at: ${b("https://wicg.io")} | bugs: ${b("https://github.com/WICG/starter-kit")}
`;