summaryrefslogtreecommitdiff
path: root/packages/create-astro (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-08[ci] release (#5325)create-astro@1.2.2astro@1.6.5@astrojs/netlify@1.2.1@astrojs/image@0.11.2@astrojs/cloudflare@4.0.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08`create-astro` bug fixes (#5319)Gravatar Nate Moore 3-3/+6
* fix(create-astro): upgrade cli-kit * fix(create-astro): avoid setRawMode error * chore(lint): disable create-astro linting Co-authored-by: Nate Moore <nate@astro.build>
2022-11-07Fix typo in create-astro messages (#5312)Gravatar Andy 1-1/+1
2022-10-31[ci] release (#5239)Gravatar Fred K. Bot 2-1/+9
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-28[ci] formatGravatar natemoo-re 1-2/+2
2022-10-28fix(create-astro): improve error messages when create-astro fails (#5240)Gravatar Nate Moore 1-0/+2
Co-authored-by: Nate Moore <nate@astro.build>
2022-10-28[ci] formatGravatar natemoo-re 1-11/+13
2022-10-28feat(create-astro): add --fancy flag (#5226)Gravatar Nate Moore 3-3/+10
Co-authored-by: Nate Moore <nate@astro.build>
2022-10-27[ci] release (#5199)create-astro@1.2.0astro@1.6.0@astrojs/rss@1.0.3@astrojs/node@2.0.2@astrojs/cloudflare@3.1.1Gravatar Fred K. Bot 2-1/+17
* [ci] release * Update packages/integrations/cloudflare/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-26[ci] formatGravatar natemoo-re 3-43/+80
2022-10-26[Create Astro] Improved prompts, template handling, Houston (#5088)Gravatar Nate Moore 6-183/+154
* feat(create-astro): add houston, improve prompts * refactor(create-astro): move to giget * chore: add changeset * chore: update lockfile * test(create-astro): update tests to match new output * chore: prefer named functions * fix: update template prompt * fix: update typescript message * chore: add explicit --skip-houston flag * test(create-astro): skip flaky typescript test Co-authored-by: Nate Moore <nate@astro.build>
2022-09-27[ci] release (#4846)create-astro@1.1.0astro@1.3.1@astrojs/webapi@1.1.0@astrojs/vercel@2.0.1@astrojs/mdx@0.11.2@astrojs/image@0.8.0Gravatar Fred K. Bot 2-1/+10
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22[ci] formatGravatar matthewp 3-79/+100
2022-09-22`create-astro`: always create `tsconfig.json` (#4810)Gravatar Michael Rienstra 5-41/+180
* `create-astro`: always create `tsconfig.json` Currently, we only make sure `tsconfig.json` exists when `strict` or `strictest` is selected. Both `default` & `optout` are intended to correspond to `base` -- and will do so for all [23 official templates](https://github.com/withastro/astro/tree/main/examples), but not necessarily for third-party templates. The [example command for installing a third-party template](https://github.com/withastro/astro/blob/a800bf7/packages/create-astro/README.md?plain=1#L31-L35) is (rather conveniently for the sake of this PR!) an example of a template without a `tsconfig.json` file, and installing it with the `default` ("Relaxed") Typescript option results in no `tsconfig.json` file, rather than a `tsconfig.json` file containing `{ "extends": "astro/tsconfigs/base" }` as would be expected. This PR addresses this scenario. It also explicitly sets the `tsconfig.json` file to `{ "extends": "astro/tsconfigs/base" }` when `default` (which I renamed to `base`, still presented to the user as "Relaxed") or `optout` is selected (`optout` has always printed a warning about the importance of `tsconfig.json` & `src/env.d.ts` but otherwise behaved identically to `default`). This is necessary in two scenarios: 1. When the `tsconfig.json` file was created by this script. 2. When it either didn't already include `"extends"`, or it extended a different config by default. For example, some third-party templates might default to `strict`, in which case I'm guessing we'd want to respect the user's choice and change that to `base`. * update `del` 6.1.1 --> 7.0.0 * test: prevent excess writes (without this it triggers many times) * test: create-astro typescript prompt * changeset * fix: recursive `mkdirSync` * test: longer timeout for `windows-latest` OS (see if this fixes failing tests) * better glob path creation, don't hardcode `/` * test: longer timeout for windows-latest OS (since I'm about to trigger another CI run by pushing a commit, might as well try this too) * create-astro test: show last CLI output on timeout * drop variable timeout Typescript tests are slower than directory tests, but they are all usually less than 5000 ms. Less complexity, easier to maintain. * DRY new error output * Update lockfile * Sync lockfile with main * Update lockfile Co-authored-by: Princesseuh <princssdev@gmail.com>
2022-09-20[ci] release (#4811)create-astro@1.0.2astro@1.2.8@astrojs/react@1.1.4@astrojs/markdown-remark@1.1.2@astrojs/cloudflare@2.0.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20Add support for running `create-astro` in cloned empty git repository (#4805)Gravatar HiDeoo 4-6/+59
2022-09-16.md only: npm init astro --> npm create astro (#4760)Gravatar Michael Rienstra 1-6/+6
* .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>
2022-09-06use unused self-documenting variable (#4605)Gravatar Dan Jutan 1-2/+1
2022-08-26[ci] release (#4495)create-astro@1.0.1astro@1.1.0@astrojs/solid-js@1.1.0@astrojs/react@1.1.0@astrojs/mdx@0.10.2@astrojs/markdown-remark@1.1.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25[ci] release (next) (#4480)create-astro@1.0.1-next.0astro@1.1.0-next.0@astrojs/react@1.1.0-next.0@astrojs/mdx@0.10.2-next.0@astrojs/markdown-remark@1.1.0-next.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25Add template tsconfigs for users to extend from (#4439)Gravatar Erika 4-63/+33
* Add tsconfig templates to extend from * Add changeset * Right order for assign parameters * Add tsconfigs to export map
2022-08-20Fix typo in stricter tsconfig (#4394)Gravatar Eldemarkki 1-1/+1
2022-08-09Astro 1.0.0 (#4214)Gravatar Nate Moore 2-1/+9
* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-06[ci] release (#4186)create-astro@0.15.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-06Fix relaxed and default TypeScript settings not working (#4183)Gravatar Erika 1-8/+10
* Fix relaxed and default TypeScript settings not working * Create itchy-hats-exist.md
2022-08-05[ci] release (#4159)create-astro@0.15.0astro@1.0.0-rc.7@astrojs/react@0.4.3@astrojs/mdx@0.7.0@astrojs/markdown-remark@0.14.1@astrojs/image@0.3.2Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05Add a TypeScript step to `create-astro` (#4179)Gravatar Erika 4-1/+120
* Add a TypeScript step to create-astro * Add changeset * fred pass Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-28[ci] release (#4081)create-astro@0.14.3@astrojs/mdx@0.3.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-28[ci] formatGravatar Princesseuh 1-1/+1
2022-07-28Fix misc create-astro issues (#4075)Gravatar Erika 1-45/+111
* Add prompt to automatically fix cache issue * Throw an error when an invalid template is used * Use already existing util * Add changeset
2022-07-26[ci] release (#3972)create-astro@0.14.2astro@1.0.0-rc.1@astrojs/vue@0.5.0@astrojs/vercel@0.3.0@astrojs/tailwind@0.2.5@astrojs/svelte@0.5.0@astrojs/sitemap@0.3.0@astrojs/prefetch@0.0.6@astrojs/partytown@0.1.9@astrojs/node@0.2.0@astrojs/netlify@0.5.0@astrojs/mdx@0.3.0@astrojs/markdown-remark@0.13.0@astrojs/markdown-component@0.2.0@astrojs/lit@0.3.2@astrojs/image@0.2.0@astrojs/deno@0.2.0@astrojs/cloudflare@0.3.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-19Adds back `create-astro` support for GitHub repos (#3971)Gravatar Tony Sullivan 1-1/+4
* adding create-astro support for GitHub repos * chore: add changeset * nit: adding a comment to document what the fix is doing
2022-07-18[ci] release (#3939)create-astro@0.14.1astro@1.0.0-beta.73@astrojs/vue@0.4.1@astrojs/telemetry@0.4.1@astrojs/svelte@0.4.1@astrojs/solid-js@0.4.1@astrojs/rss@0.2.2@astrojs/react@0.4.2@astrojs/prism@0.6.1@astrojs/preact@0.5.2@astrojs/mdx@0.2.1@astrojs/markdown-remark@0.12.0@astrojs/image@0.1.3v1-betaGravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-15Roll back supported Node engines (#3937)Gravatar Chris Swithinbank 1-1/+1
Fixes #3936
2022-07-13[ci] release (#3903)create-astro@0.14.0astro@1.0.0-beta.70@astrojs/vue@0.4.0@astrojs/telemetry@0.4.0@astrojs/svelte@0.4.0@astrojs/solid-js@0.4.0@astrojs/rss@0.2.1@astrojs/react@0.4.0@astrojs/prism@0.6.0@astrojs/preact@0.5.0@astrojs/mdx@0.2.0@astrojs/markdown-remark@0.11.6Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13Rollback Nodejs Dependancy (#3914)Gravatar Randall 1-1/+1
* Rollback Nodejs Dependancy Closes #3908 Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com> * Create ninety-apes-talk.md
2022-07-11[ci] release (#3887)create-astro@0.13.0astro@1.0.0-beta.66@astrojs/vue@0.3.0@astrojs/telemetry@0.3.0@astrojs/svelte@0.3.0@astrojs/solid-js@0.3.0@astrojs/react@0.3.0@astrojs/prism@0.5.0@astrojs/preact@0.4.0@astrojs/mdx@0.1.0@astrojs/markdown-remark@0.11.4Gravatar Fred K. Bot 2-1/+11
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11fix(#3071): update supported node versions (#3871)Gravatar Nate Moore 1-1/+1
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-08[ci] release (#3850)create-astro@0.12.5astro@1.0.0-beta.65@astrojs/vue@0.2.1@astrojs/vercel@0.2.5@astrojs/turbolinks@0.1.4@astrojs/telemetry@0.2.5@astrojs/tailwind@0.2.3@astrojs/svelte@0.2.1@astrojs/solid-js@0.2.1@astrojs/sitemap@0.2.5@astrojs/react@0.2.1@astrojs/prefetch@0.0.4@astrojs/preact@0.3.2@astrojs/partytown@0.1.7@astrojs/node@0.1.5@astrojs/netlify@0.4.9@astrojs/mdx@0.0.3@astrojs/lit@0.3.1@astrojs/image@0.1.0@astrojs/deno@0.1.9@astrojs/cloudflare@0.2.3Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-07[ci] formatGravatar FredKSchott 1-2/+1
2022-07-07detect package manager and improve types (#3847)Gravatar Fred K. Schott 2-18/+6
2022-07-07small create-astro wording changes (#3831)Gravatar Fred K. Schott 2-10/+10
2022-06-29add error event to telemetry (#3750)Gravatar Fred K. Schott 1-0/+1
2022-06-29Added: reminder to also update docs if create-astro flow or wording is ↵Gravatar Sarah Rainsberger 1-0/+1
changed (#3760)
2022-06-28[ci] release (#3757)create-astro@0.12.4@astrojs/telemetry@0.2.1Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28Chore: remove complex install step test (#3756)Gravatar Ben Holmes 2-71/+0
* chore: remove complex install step test * chore: changeset
2022-06-28[ci] release (#3749)create-astro@0.12.3Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28Disable problematic `create-astro` test (#3746)Gravatar Nate Moore 1-1/+2
* chore(test): disable problematic create-astro test * chore: fix skip Co-authored-by: Nate Moore <nate@astro.build>
2022-06-28chore(lint): fix lint issues (#3743)Gravatar Nate Moore 1-1/+1
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-27[ci] formatGravatar FredKSchott 1-3/+1