51b6ff7403c1223b1c399e88373075972c82c24c
Thanks @hippotastic! - Fixes an issue where create astro
, astro add
and @astrojs/upgrade
would fail due to unexpected package manager CLI output.fecba30a1abb7ca65dfb8f506dde77117fa447d1
Thanks @florian-lefebvre! - Fixes @astrojs/check
and typescript
addition to package.json
dependencies when the user has decided not to auto-install dependencies651f45b4010ad9b8d9f61fdc748618e220fe5375
Thanks @ElianCodes! - Improves seasonal message handling by automatically detecting the local date607303be198931825dac9f3bc97867b4886feaf3
Thanks @onsclom! - Improves the create astro
CLI experience by asking all the questions upfront, then creating your new Astro project based on your responses.6201bbe96
Thanks @FredKSchott! - Stop clearing the console on start6201bbe96
Thanks @FredKSchott! - Stop clearing the console on start1e97708cd
Thanks @skirianov! - Fixes an issue where a successful "Dependencies installed" message is displayed even when installing dependencies fails.6169b6e56
Thanks @ElianCodes! - Undo the halloween theme and restore fancy
behaviourb236d88ad
Thanks @natemoo-re! - Ensure an existing template's package.json
scripts
are respected when modifying build
.ce807a2bf
Thanks @rayriffy! - Automatically installs the required dependencies to run the astro check command when the user indicates they plan to write TypeScript.f2dd895d7
Thanks @Genteure! - No longer attempts to delete the directory after a template download fails if the path is .
, ./
or starts with ../
.3baab3d93
Thanks @ElianCodes! - feat: make Houston wear scary hats and say new things for spooky seasonb64dd45c0
Thanks @TheOtterlord! - Fix --yes
behaviour to prevent it overriding --template
1d5b3f079
Thanks @jacobthesheep! - Adds --yes
and dry-run
flags to project-name and the yes
flag to template.ed952b4ce
Thanks @natemoo-re! - Improve startup performance by removing dependencies, lazily initializing async contextual values#8427 b81ff8fce
Thanks @aswind7! - trim project name of the user input
#8306 d2f2a11cd
Thanks @jacobthesheep! - Support detecting Bun when logging messages with package manager information.
4e88ffd81
Thanks @Princesseuh! - Correctly remove new .codesandbox
folder when copying template#8188 d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
#8179 6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate
#7944 dff0f0f8d
Thanks @colinhacks! - Update 'dev' command for Bun users
#8102 e6e1de4f0
Thanks @natemoo-re! - Verify internet connection and that --template
exists before continuing
1eae2e3f7
Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.#7944 dff0f0f8d
Thanks @colinhacks! - Update 'dev' command for Bun users
#8102 e6e1de4f0
Thanks @natemoo-re! - Verify internet connection and that --template
exists before continuing
04755e846
Thanks @natemoo-re! - Fix install step to avoid uncaught errors44cf30a25
Thanks @natemoo-re! - Reduce dependency installation size, swap execa
for light node:child_process
wrapper8292c4131
Thanks @natemoo-re! - Improve yarn berry support89cd4b877
Thanks @natemoo-re! - Handle error state for version number2ca5bdde2
Thanks @sankethchebbi! - Update dependency installation grammar#7527 9e2426f75
Thanks @natemoo-re! - Default registry logic to fallback to NPM if registry command fails (sorry, Bun users!)
#7539 1170877b5
Thanks @jc1144096387! - Update registry logic, improving edge cases (http support, redirects, registries ending with '/')
3f9f5c117
Thanks @bholmesdev! - Fix registry failures using unexpected package managers when running create-astro1430ffb47
Thanks @calebdwilliams! - Ensure create-astro respects package manager registry configuration229affca4
Thanks @natemoo-re! - Add starlight
template aliasc5f1275e9
Thanks @MoustaphaDev! - Fix create astro regression8c14bffbd
Thanks @ematipico! - Don't exit if dependencies fail to install335602344
Thanks @andremralves! - add validation for non-printable characters4a3262060
Thanks @bholmesdev! - Fix: Log an error when passing a --template
that does not existafbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14754c5ca9a
Thanks @natemoo-re! - Respect original package.json
indentationc87c16cfa
Thanks @SerekKiri! - Add missing flags to help command#6314 7f61e8fe3
Thanks @MilesPernicious! - Prompt for git initialization last, so all configurations can get added to the initial commit
#6294 d0dbee872
Thanks @liruifengv! - create-astro
help info add --typescript
flag
0f5d122cd
Thanks @Princesseuh! - Revert to giget 1.0.0 until upstream issue is fixed066b4b4ef
Thanks @natemoo-re! - Improve error handling during tasks that display a spinner8d2187d8b
Thanks @natemoo-re! - Redesigned create-astro
experience5c64324c0
Thanks @ZermattChris! - Check for a pre-existing .git directory and if found, skip trying to create a new one.d0d7f6118
Thanks @natemoo-re! - Fix typescript prompt handling1f92d64ea
Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0#5898 d8919b1a2
Thanks @TheOtterlord! - Support headless runs with -y
/ --yes
#5920 f27bb3d79
Thanks @delucis! - Improve error message for third-party template 404s
d8919b1a2
`](https://github.com/withastro/astro/commit/d8919b1a21
) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Support headless runs with `-y` / `--yes`
- [#5920](https://github.com/withastro/astro/pull/5920) [`f27bb3d79
`](https://github.com/withastro/astro/commit/f27bb3d79f
) Thanks [@delucis](https://github.com/delucis)! - Improve error message for third-party template 404s
1f92d64ea
`](https://github.com/withastro/astro/commit/1f92d64ea3
) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0
#5579 2c2c65297
Thanks @yuhang-dong! - Upgrade giget to support env proxy config
#5616 61302ab7a
Thanks @natemoo-re! - Skip Houston on Windows until we can debug the prompt issue
505abfd64
Thanks @liruifengv! - fix error when don't have template inputb211eadef
Thanks @natemoo-re! - Fix bug with setRawMode
. Respect --skip-houston
in all cases.#5240 d9be7e36b
Thanks @natemoo-re! - Improve error messages when create-astro
fails
#5226 641b6d7d5
Thanks @natemoo-re! - Allow Windows users to pass --fancy
to enable full unicode support
#5088 040837628
Thanks @natemoo-re! - Introducing your new automated assistant: Houston! 🎉
╭─────╮ Houston:
│ ◠ ◡ ◠ Initiating launch sequence... right... now!
╰─────╯
Updates template and TypeScript prompts for clarity and friendliness.
Migrates template copying from degit
(unmaintained) to giget
for stability.
#4810 7481ffda0
Thanks @mrienstra! - Always write chosen config to tsconfig.json
.
strict
& strictest
was selectedbase
is selected (via "Relaxed" or "I prefer not to use TypeScript")77ce6be30
Thanks @Princesseuh! - Add tsconfig templates for users to extend from77ce6be30
Thanks @Princesseuh! - Add tsconfig templates for users to extend from04ad44563
- > Astro v1.0 is out! Read the official announcement post.No breaking changes. This package is now officially stable and compatible with astro@1.0.0
!
77c018e51
Thanks @Princesseuh! - Fix relaxed and default TypeScript settings not workingd344f9e3e
Thanks @Princesseuh! - Add a step to configure how strict TypeScript should becc10a5c8e
Thanks @Princesseuh! - Added better error handling when cancelling operations, providing bad templates and when there's a degit cache issuee6e216061
Thanks @tony-sull! - Fixes support for using templates from any GitHub repositoryb48767985
Thanks @ran-dall! - Rollback supported node@16
version. Minimum versions are now node@14.20.0
or node@16.14.0
.1cc5b7890
Thanks @natemoo-re! - Update supported node
versions. Minimum versions are now node@14.20.0
or node@16.16.0
.4fb08502
Thanks @FredKSchott! - Small wording updates507cd5c8
Thanks @bholmesdev! - Chore: remove create-astro install step testcf8015ea
Thanks @natemoo-re! - Fix #3309 default logger locale behavior.1a5335ed
Thanks @bholmesdev! - Update "next steps" with more informative text on each CLI command. Oh, and gradients. A lot more gradients.c8f5fa35
Thanks @bholmesdev! - Add "initialize git repository" step to simplify our next steps suggestion. We now give you a one-liner to easily paste in your terminal and start the dev server!b7cd6958
Thanks @bholmesdev! - Replace the component framework selector with a new "run astro add" option. This unlocks integrations beyond components during your create-astro setup, including TailwindCSS and Partytown. This also replaces our previous "starter" template with a simplified "Just the basics" option.00fc1326
Thanks @bholmesdev! - Simplify logging during welcome message and directory selection38e5e9e9
Thanks @bholmesdev! - Feat: add option to install dependencies during setup. This respects the package manager used to run create-astro (ex. "yarn create astro" vs "pnpm create astro@latest").7c49194c
Thanks @bholmesdev! - Add prompt to choose a directory, now defaulting to a separate "./my-astro-site" instead of "." (current directory)1fdb63b5
Thanks @JuanM04! - Automatically add integration peerDependencies
to scaffolded package.json
files1fdb63b5
Thanks @JuanM04! - Automatically add integration peerDependencies
to scaffolded package.json
filesfda857eb
Thanks @Mikkel-T! - Added an option to create-astro to use verbose logging which should help debug degit issues45cea6ae
Thanks @jonathantneal! - Officially drop support for Node v12. The minimum supported version is now Node v14.15+,d5ebd9d1
Thanks @FredKSchott! - Fix create-astro export map entryc0f29bcf
Thanks @leosvelperez! - Parse --renderers flag correctly when passed to the create-astro cli3e1bdb1a
: Add a helpful message for the "could not find commit hash for ..." error6c66d483
: Fix issue with v7.x+ versions of npm init, which changed default flag handling6c66d483
: Fix issue with v7.x+ versions of npm init, which changed default flag handlingd5fdeefe
: Changes create-astro to pull examples from the latest branch025f5e3f
: Fix to revert change pointing create-astro at the latest branch28f00566
: Updates create-astro to use the latest branch0eeb2534
: change rm to unlink for node 12 compatibility11a6f884
: Added a check to see if the renderers array is empty and only show the message about using the templates default renderers if it isn't24dce41c
: Adds a new template 'minimal' which does not include a frameworkcf4c97cf
: forced degit template extraction in case of non empty installation directory6c52c92
: Add warning when encountering 'zlib: unexpected end of file' errora7e6666
: compile javascript to target Node v12.xbd18e14
: Add support for Solidd45431d
: create-astro does not fail when removing subdirectoriesa7e6666
: compile javascript to target Node v12.xd45431d
: create-astro does not fail when removing subdirectories36e104b
: Use new client: prefix for component examples5d5d67c
: Update create-astro
to handle framework-specific logic based on user preferenced8ceff5
: Allows using an external repo as a templateYou can do this with the --template
flag:
npm init astro my-shopify --template cassidoo/shopify-react-astro
b0e41ea
: fix small output bugsf9f2da4
: Add repository key to package.json for create-astroab2972b
: Update package.json engines for esm supportd6a7349
: fix issue with empty prompt