create-astro 4.5.2-beta.0 โ 4.6.0
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/LICENSE +0 -2
- package/dist/index.js +27 -20
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -20,7 +20,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
"""
|
|
25
24
|
This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/sveltejs/kit repository:
|
|
26
25
|
|
|
@@ -33,7 +32,6 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
33
32
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
34
33
|
"""
|
|
35
34
|
|
|
36
|
-
|
|
37
35
|
"""
|
|
38
36
|
This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/vitejs/vite repository:
|
|
39
37
|
|
package/dist/index.js
CHANGED
|
@@ -249,24 +249,30 @@ async function spinner(args) {
|
|
|
249
249
|
}
|
|
250
250
|
var title = (text2) => align(label(text2), "end", 7) + " ";
|
|
251
251
|
var welcome = [
|
|
252
|
-
`Let's claim your corner of the internet.`,
|
|
253
|
-
`I'll be your assistant today.`,
|
|
254
|
-
`Let's build something awesome!`,
|
|
255
|
-
`Let's build something great!`,
|
|
256
|
-
`Let's build something fast!`,
|
|
257
|
-
`Let's build the web we want.`,
|
|
258
|
-
`Let's make the web weird!`,
|
|
259
|
-
`Let's make the web a better place!`,
|
|
260
|
-
`Let's create a new project!`,
|
|
261
|
-
`Let's create something unique!`,
|
|
262
|
-
`Time to build a new website.`,
|
|
263
|
-
`Time to build a faster website.`,
|
|
264
|
-
`Time to build a sweet new website.`,
|
|
265
|
-
`We're glad to have you on board.`,
|
|
266
|
-
`Keeping the internet weird since 2021.`,
|
|
267
|
-
`Initiating launch sequence...`,
|
|
268
|
-
`Initiating launch sequence... right... now!`,
|
|
269
|
-
`Awaiting further instructions
|
|
252
|
+
// `Let's claim your corner of the internet.`,
|
|
253
|
+
// `I'll be your assistant today.`,
|
|
254
|
+
// `Let's build something awesome!`,
|
|
255
|
+
// `Let's build something great!`,
|
|
256
|
+
// `Let's build something fast!`,
|
|
257
|
+
// `Let's build the web we want.`,
|
|
258
|
+
// `Let's make the web weird!`,
|
|
259
|
+
// `Let's make the web a better place!`,
|
|
260
|
+
// `Let's create a new project!`,
|
|
261
|
+
// `Let's create something unique!`,
|
|
262
|
+
// `Time to build a new website.`,
|
|
263
|
+
// `Time to build a faster website.`,
|
|
264
|
+
// `Time to build a sweet new website.`,
|
|
265
|
+
// `We're glad to have you on board.`,
|
|
266
|
+
// `Keeping the internet weird since 2021.`,
|
|
267
|
+
// `Initiating launch sequence...`,
|
|
268
|
+
// `Initiating launch sequence... right... now!`,
|
|
269
|
+
// `Awaiting further instructions.`,
|
|
270
|
+
`Ho, ho, ho! 'Tis the season to code and create.`,
|
|
271
|
+
`Jingle all the way through your web creation journey!`,
|
|
272
|
+
`Let's unwrap the magic of the web together!`,
|
|
273
|
+
`Bells are ringing, and so are your creative ideas!`,
|
|
274
|
+
`It's starting to look a lot like Christmas on the internet.`,
|
|
275
|
+
`It's time to decorate the web with your festive ideas!`
|
|
270
276
|
];
|
|
271
277
|
var getName = () => new Promise((resolve) => {
|
|
272
278
|
exec("git config user.name", { encoding: "utf-8" }, (_1, gitName) => {
|
|
@@ -384,7 +390,7 @@ function printHelp({
|
|
|
384
390
|
if (headline) {
|
|
385
391
|
message.push(
|
|
386
392
|
linebreak(),
|
|
387
|
-
`${title(commandName)} ${color.green(`v${"4.
|
|
393
|
+
`${title(commandName)} ${color.green(`v${"4.6.0"}`)} ${headline}`
|
|
388
394
|
);
|
|
389
395
|
}
|
|
390
396
|
if (usage) {
|
|
@@ -470,7 +476,8 @@ async function getContext(argv) {
|
|
|
470
476
|
projectName: projectName2,
|
|
471
477
|
template: template2,
|
|
472
478
|
ref: ref ?? "latest",
|
|
473
|
-
hat:
|
|
479
|
+
hat: random(["\u2744\uFE0F", "\u{1F384}", "\u{1F381}"]),
|
|
480
|
+
// fancy ? random(['๐ฉ', '๐ฉ', '๐ฉ', '๐ฉ', '๐', '๐', '๐งข', '๐ฆ']) : undefined,
|
|
474
481
|
yes,
|
|
475
482
|
install: install2 ?? (noInstall ? false : void 0),
|
|
476
483
|
git: git2 ?? (noGit ? false : void 0),
|