summaryrefslogtreecommitdiff
path: root/scripts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-24[ci] release (#5948)create-astro@2.0.0astro@2.0.0@astrojs/webapi@2.0.0@astrojs/vue@2.0.0@astrojs/vercel@3.0.0@astrojs/telemetry@2.0.0@astrojs/tailwind@3.0.0@astrojs/svelte@2.0.0@astrojs/solid-js@2.0.0@astrojs/rss@2.1.0@astrojs/react@2.0.0@astrojs/prism@2.0.0@astrojs/preact@2.0.0@astrojs/partytown@1.0.3@astrojs/node@5.0.0@astrojs/netlify@2.0.0@astrojs/mdx@0.15.0@astrojs/markdown-remark@2.0.0@astrojs/lit@1.1.0@astrojs/image@0.13.0@astrojs/deno@4.0.0@astrojs/cloudflare@6.0.0Gravatar Houston (Bot) 2-1/+18
* [ci] release * Update changelogs (#5955) * [ci] release * Wrap astro 2.0 beta logs in `<details>` * Add link to docs upgrade guide * First pass cleaning up 2.0 release notes * mdx changes from Sarah * combine 5584 and 5842 in deno, image, netlify * markdown/remark incl (5684 & 5769) to match mdx * Tweak markdown/remark formatting * Format astro-prism * Format astro-rss * Format create-astro * Format cloudflare * Format lit * Format partytown * Format node * Format preact * Format react * Format solid * Format svelte * Format tailwind * Format vercel * Format vue * Format telemetry * Format webapi * Format scripts * Reinstate h3s for headings Co-authored-by: Ben Holmes <hey@bholmes.dev> * Reformat mdx * astro & markdown/remark: Combine #5679 & #5684 changelogs Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-23[ci] release (beta) (#5911)create-astro@2.0.0-beta.1astro@2.0.0-beta.4@astrojs/webapi@2.0.0-beta.1@astrojs/tailwind@3.0.0-beta.2@astrojs/svelte@2.0.0-beta.3@astrojs/partytown@1.0.3-beta.1@astrojs/netlify@2.0.0-beta.4@astrojs/image@0.12.2-beta.1Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-12[ci] formatGravatar natemoo-re 1-8/+10
2023-01-12Fix announcements CI actions when 2000+ characters (#5844)Gravatar Nate Moore 1-6/+45
* fix(ci): handle announcements >= 2000 characters * chore: support multiple branches Co-authored-by: Nate Moore <nate@astro.build>
2023-01-12[ci] release (beta) (#5792)create-astro@2.0.0-beta.0astro@2.0.0-beta.2@astrojs/webapi@2.0.0-beta.0@astrojs/vue@2.0.0-beta.1@astrojs/vercel@3.0.0-beta.1@astrojs/telemetry@2.0.0-beta.0@astrojs/tailwind@3.0.0-beta.1@astrojs/svelte@2.0.0-beta.1@astrojs/solid-js@2.0.0-beta.0@astrojs/react@2.0.0-beta.0@astrojs/prism@2.0.0-beta.0@astrojs/preact@2.0.0-beta.0@astrojs/partytown@1.0.3-beta.0@astrojs/node@5.0.0-beta.1@astrojs/netlify@2.0.0-beta.2@astrojs/mdx@1.0.0-beta.2@astrojs/markdown-remark@2.0.0-beta.2@astrojs/lit@1.0.2-beta.0@astrojs/image@1.0.0-beta.2@astrojs/deno@4.0.0-beta.2@astrojs/cloudflare@6.0.0-beta.1Gravatar Fred K. Bot 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-06Remove proload for config loading (#5778)Gravatar Bjorn Lu 1-2/+8
* Refactor resolve and load config * Add changeset * Update name * Remove unnecessary node_env handling * Fix test * Update comment
2022-12-06Update esbuild dependency (#5534)Gravatar Bjorn Lu 1-1/+1
2022-10-31[ci] release (#5239)Gravatar Fred K. Bot 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-12Run astro check on all examples in CI (#5022)Gravatar Erika 2-0/+87
* Run astro check on all examples in CI * Output stderr * Build Astro before running checks * Making things faster + colors * Fix errors inside examples * Add congrats message * Revert unentional change to tsconfigs * Remove more unneeded changes
2022-09-28Remove shamefully-hoist (#4842)Gravatar Bjorn Lu 1-1/+1
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/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22`create-astro`: always create `tsconfig.json` (#4810)Gravatar Michael Rienstra 1-2/+2
* `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-08-09Astro 1.0.0 (#4214)Gravatar Nate Moore 2-1/+8
* 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-07-08Add editor integrations to language integrations (#3864)Gravatar Erika 1-2/+10
2022-06-29[ci] release (#3759)astro@1.0.0-beta.59@astrojs/telemetry@0.2.2@astrojs/preact@0.3.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28chore: escape template literals in prebuild script (#3745)Gravatar Nate Moore 1-2/+5
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-28[ci] release (#3733)astro@1.0.0-beta.58@astrojs/telemetry@0.2.0@astrojs/tailwind@0.2.2@astrojs/sitemap@0.2.3@astrojs/prefetch@0.0.2@astrojs/netlify@0.4.7@astrojs/deno@0.1.7Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28Fix: prevent sourcemap warnings in monorepo "dev" mode (#3744)Gravatar Ben Holmes 1-2/+1
* fix: avoid esbuild sourcemaps in astro-scripts dev * chore: changeset
2022-06-28[ci] update lockfile (#3740)Gravatar Fred K. Bot 1-2/+2
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-27[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-26[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-25[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-24[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-23[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-22[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-21[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-20[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-19[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-18[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-17[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-16[ci] formatGravatar matthewp 2-4/+4
2022-06-16Inline hydration directive scripts (#3605)Gravatar Matthew Phillips 2-1/+25
* Inline hydration scripts * Adds a changeset * Update directiveAstroKeys type
2022-06-16[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-15[ci] formatGravatar matthewp 1-3/+3
2022-06-15Consolidate hydration scripts into just one (#3571)Gravatar Matthew Phillips 2-0/+57
* Remove redundant hydration scripts * Prebuild the island JS * Fix build * Updates to tests * Update more references * Custom element test now has two classic scripts * Account for non-default exports * Restructure hydration directives * Move nested logic into the island component * Remove try/catch
2022-06-15[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-14[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-13[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-12[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-11[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-10[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-09[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-08[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-07[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-06[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-05[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-04[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-03[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-02[ci] collect statsGravatar FredKSchott 1-0/+1
2022-06-01[ci] update lockfile (#3495)Gravatar Fred K. Schott 1-1/+1
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>