* Enhanced Astro codespace support
Enhances the base devcontainer and Dockerfile to provide a smoother
development experience out of the box for contributors.
Adds a devcontainer per example so that we can add buttons on astro.new
that will launch users straight into the appropriate example app.
* Cleanup devcontainers and pin base image
* Update .devcontainer/example-welcome-message.txt
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
---------
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* .md only: npm init astro --> npm create astro
For consistency with https://github.com/withastro/docs/pull/360. Docs always use `npm create astro` (never `npm init astro`), README.md files in this repo should do the same.
Search:
`\b(npm|yarn|pnpm) init astro\b`
Replace:
`$1 create astro`
Except for two instances:
1. `packages/create-astro/CHANGELOG.md` -- skipped because changelog.
2. `packages/create-astro/test/create-astro.test.js.skipped` -- skipped, old test disabled in https://github.com/withastro/astro/pull/3168.
* docs: add `@latest` to `npm create astro`
Co-authored-by: Bjorn Lu <bjorn@bjornlu.com>
Co-authored-by: Michael Rienstra <michael@goodmoney.com>
* Correcting the link to docs on Just the Basics starter README
The link to documentation did not actually go to Docs. Now it does!
* fixing all other starter template READMEs with incorrect link to docs
To avoid confusion I seperated the `npm run build` and the `npm run dev` commands, beginners might get confused by each command being listed in the same list, thinking they need to run `npm run build` before Astro works properly.
Add `npm run preview` commands to all examples where they are missing