diff --git a/packages/mdx/dev/content/test.mdx b/packages/mdx/dev/content/test.mdx index d2c33608..aba29540 100644 --- a/packages/mdx/dev/content/test.mdx +++ b/packages/mdx/dev/content/test.mdx @@ -7,3 +7,48 @@ function foobarloremipsumfoobarloremipsumsitametfoobarloremipsumfoobarloremipsum return 8 } ``` + +```terminal +❯ npm create astro -y + +╭─────╮ Houston: +│ ◠ ◡ ◠ Initiating launch sequence... +╰─────╯ + + astro  v2.9.2 Launch sequence initiated. + +  dir  Where should we create your new project? + ./cosmic-chroma + +  tmpl  How would you like to start your new project? + Empty + ✔ Template copied + +  deps  Install dependencies? + No + ◼ No problem! + Remember to install dependencies after setup. + +  ts  Do you plan to write TypeScript? + No + ◼ No worries! + TypeScript is supported in Astro by default, + but you are free to continue writing JavaScript instead. + +  git  Initialize a new git repository? + No + ◼ Sounds good! + You can always run git init manually. + +  next  Liftoff confirmed. Explore your project! + + Enter your project directory using cd ./cosmic-chroma + Run npm run dev to start the dev server. CTRL+C to stop. + Add frameworks like react or tailwind using astro add. + + Stuck? Join us at https://astro.build/chat + +╭─────╮ Houston: +│ ◠ ◡ ◠ Good luck out there, astronaut! 🚀 +╰─────╯ +``` diff --git a/packages/mdx/package.json b/packages/mdx/package.json index 97434c09..dec9ead9 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -44,7 +44,7 @@ "coverage": "vitest run --coverage" }, "dependencies": { - "@code-hike/lighter": "0.7.3", + "@code-hike/lighter": "0.8.2", "node-fetch": "^2.0.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 78a4d349..2c242dec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -455,10 +455,12 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" -"@code-hike/lighter@0.7.3": - version "0.7.3" - resolved "https://registry.yarnpkg.com/@code-hike/lighter/-/lighter-0.7.3.tgz#729a7ab484f11069d258c34dfe39be918f093e39" - integrity sha512-IW3nBrnQRSoYDY2suXUjNZegCGVH3ljEH5w51chazy30s103CdpwSwvFya3e6GbY/xfbyAVj+Uyg6HH4L5T6tw== +"@code-hike/lighter@0.8.2": + version "0.8.2" + resolved "https://registry.yarnpkg.com/@code-hike/lighter/-/lighter-0.8.2.tgz#21fe70c339b645718606a8aa301f15524e5f829f" + integrity sha512-h7PA2+90rIRQWamxeHSpcgVLs9hwhz8UW8+RG+vYIYh2Y4F2GTa4c+7S5HQH/BKTyMPv5yrSCEwhCB605gO5og== + dependencies: + ansi-sequence-parser "^1.1.0" "@codesandbox/sandpack-client@^0.19.0": version "0.19.0" @@ -1964,6 +1966,11 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-sequence-parser@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/ansi-sequence-parser/-/ansi-sequence-parser-1.1.0.tgz#4d790f31236ac20366b23b3916b789e1bde39aed" + integrity sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"