summaryrefslogtreecommitdiff
path: root/scripts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-05-30fix(deps): update all non-major dependencies (#11151)Gravatar renovate[bot] 1-3/+3
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13fix(deps): update all non-major dependencies (#11015)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-13chore(deps): update dependency @octokit/action to v7 (#11016)Gravatar renovate[bot] 1-1/+1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09chore(deps): update all non-major dependencies (#10958)Gravatar renovate[bot] 1-3/+3
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-01Fix typos (#10923)Gravatar Viktor Szépe 1-1/+1
2024-04-24feat(toolbar): Toolbar API improvements (#10665)Gravatar Erika 1-1/+3
* feat(toolbar): Add a `astro:toolbar` module * fix: use entrypoint * feat: add new shape for defining toolbar apps * fix: types * feat(toolbar): Add helpers features (#10667) * feat(toolbar): Add helpers features * fix: consistent payloads and naming * chore: changeset * nit: rename eventTarget to app * feat: add server-side helpers * test: update test to use new APIs * fix: types * nit: erikaaaaa * feat: add new event * Update .changeset/khaki-pianos-burn.md * test: use data to create text * Apply suggestions from code review Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * nit: use diff * nit: documentation effort * test: fix --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * nit: small changes to helpers * nit: update changeset * fix: move to astro/toolbar for building purposes * feat(toolbar): Add a toolbar example (#10793) * feat: add a toolbar starter * test: skip examples that are not Astro projects * nit: small changes * feat: setup for build step * fix: add to devdep * docs: add commands to README * fix: reorder classes to make more sense * fix: add improvements from recipe * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-22chore(deps): update all non-major dependencies (#10833)Gravatar renovate[bot] 1-6/+6
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-20Update major deps (#10823)Gravatar Bjorn Lu 2-2/+2
2024-04-10feat(i18n): manual routing (#10193)Gravatar Emanuele Stoppa 1-1/+1
* feat(i18n): manual routing * one more function * different typing * tests * fix merge * throw error for missing middleware * rename function * fix conflicts * lock file update * fix options, error thrown and added tests * rebase * add tests * docs * lock file black magic * increase timeout? * fix regression * merge conflict * add changeset * chore: apply suggestions * apply suggestion * Update .changeset/little-hornets-give.md Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> * chore: address feedback * fix regression of last commit * update name * add comments * fix regression * remove unused code * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: update reference * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: improve types * fix regression in tests * apply Sarah's suggestion --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-03-07[ci] formatGravatar Nate Moore 1-13/+16
2024-03-07Adds `create-astro` fallback values for package versions (#10255)Gravatar Nate Moore 1-4/+47
* fix(create-astro): add fallback when registry fails to return the current package version * feat(create-astro): inline most current package versions as fallback * test(create-astro): update typescript tests to check for undefined * test(create-astro): properly reset fixtures * refactor: read dependencies from workspace root * refactor: error on missing values
2024-02-14feat(audits): Add initial perf audits (#10015)Gravatar Erika 1-10/+32
* feat(audits): Add initial perf audits * feat(audits): Setup dev astro-island * fix(audits): Don't take scroll into account when getting an element's position * nit: lint * Fix tests * chore: changeset * maybe: Move this.hydrator outside the perf check * Update packages/astro/e2e/dev-toolbar.test.js Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * address feedback * address feedback --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-12ci: increase node timeout (#10089)Gravatar Emanuele Stoppa 1-1/+1
2024-02-08test: increase timeout (#10054)Gravatar Erika 1-1/+1
2024-02-01Exit code 1 if node:test fail (#9928)Gravatar Bjorn Lu 1-0/+5
2024-01-25chore(@astrojs/node): use Node.js for testing (#9758)Gravatar Emanuele Stoppa 1-0/+17
* chore(@astrojs/node): use Node.js for testing * revert file * address feedback * feedback * Run tests in a single process (#9823) * Run tests in a single process * Make test less flaky * chore: remove module --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-23chore(ci): fix release announcement script (#9796)Gravatar Nate Moore 1-175/+0
2024-01-12Use node:test and node:assert/strict (#9649)Gravatar Bjorn Lu 2-0/+56
2024-01-11Fix discord fetch code (#9663)Gravatar Bjorn Lu 1-2/+2
2024-01-08[ci] formatGravatar Nate Moore 1-3/+3
2024-01-08Fix Discord release message (#9626)Gravatar Nate Moore 1-3/+19
* Fix Discord release message * chore: simplify discord webhook handling
2024-01-04Fix ts errors for component template (#9602)Gravatar Bjorn Lu 1-1/+9
2023-12-27Enable source map on dev builds (#9465)Gravatar Luiz Ferraz 1-0/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-27[ci] formatGravatar Houston (Bot) 1-1/+1
2023-11-21Update all dependencies (#9138)Gravatar Bjorn Lu 1-4/+4
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-09Content Collection cache (experimental) (#8854)Gravatar Nate Moore 1-1/+1
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-08-24Update breaking dependencies (#8201)Gravatar Bjorn Lu 1-5/+5
2023-08-23Update non-major dependencies (#8199)Gravatar Bjorn Lu 1-2/+2
2023-08-08feat: remove webapi in favor of a smaller polyfill (#7840)Gravatar Erika 3-9/+2
* feat: remove webapi in favor of a smaller polyfill * test: remove old test * test: 🤦‍♀️ * chore: changeset
2023-08-08Remove support for Node 16 (#7780)Gravatar Erika 2-2/+2
2023-08-04chore: fix issue in the check.js script (#7965)Gravatar Emanuele Stoppa 1-26/+29
2023-07-18nit: use `node:` prefix everywhere (#7692)Gravatar Erika 6-13/+12
* nit: use `node:` prefix everywhere * nit: fs/promises too * test: workaround issue in node builtin detection
2023-06-21Update safe dependencies (#7430)Gravatar Bjorn Lu 1-4/+4
2023-06-20Fix up `pnpm dev` (#7424)Gravatar Ben Holmes 1-1/+3
* feat: use persistent per turbo recs * feat: preserve types yay * fix: *actually* solve problem * fix: type failures from content types template * fix: bad JS doc comments * fix: bad src/content/template path * chore: changeset --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-12Update example dependencies versions with a script (#7367)Gravatar Bjorn Lu 1-0/+74
2023-06-06Fix nested astro-island hydration race condition (#7197)Gravatar Bjorn Lu 1-0/+1
2023-06-02Run example check in parallel with 5 at most (#7275)Gravatar Bjorn Lu 2-5/+14
2023-05-17Implement custom client directives (#7074)Gravatar Bjorn Lu 1-4/+34
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-04-28chore: cleanup root and scripts dependencies (#6871)Gravatar Han Yeong-woo 1-1/+3
2023-03-20[ci] formatGravatar bholmesdev 1-1/+1
2023-03-20fix: refactor esbuild setup to support watch (#6608)Gravatar Nate Moore 1-7/+14
2023-03-20feat(all): Migrate to TypeScript 5.0 (#6579)Gravatar Erika 1-1/+1
2023-03-07[ci] release (#6432)create-astro@3.1.0astro@2.1.0@astrojs/webapi@2.1.0@astrojs/vue@2.1.0@astrojs/vercel@3.2.0@astrojs/turbolinks@0.2.0@astrojs/telemetry@2.1.0@astrojs/tailwind@3.1.0@astrojs/svelte@2.1.0@astrojs/solid-js@2.1.0@astrojs/sitemap@1.2.0@astrojs/rss@2.2.0@astrojs/react@2.1.0@astrojs/prism@2.1.0@astrojs/prefetch@0.2.0@astrojs/preact@2.1.0@astrojs/partytown@1.1.0@astrojs/node@5.1.0@astrojs/netlify@2.2.0@astrojs/mdx@0.18.0@astrojs/markdown-remark@2.1.0@astrojs/markdoc@0.0.1@astrojs/lit@1.3.0@astrojs/image@0.16.0@astrojs/deno@4.1.0@astrojs/cloudflare@6.2.0@astrojs/alpinejs@0.2.0Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-07Implement RFC "A core story for images" (#6344)Gravatar Erika 2-1/+17
* feat(assets): Add Vite plugin * feat(images): Set up Image component * fix(types): Attempt to fix type generation * Revert "fix(types): Attempt to fix type generation" This reverts commit 063aa276e2f30f928a108a930f603a234e22ff11. * fix(image): Fix image types causing build to fail * feat(image): Implement client side part * feat(services): Allow arbitrary transforms parameters * fix(image): Fix paths and types * config(types): Update config types to provide completions for available services * feat(image): Add serving in dev * feat(image): Improve type error messages * refactor(image): Move sharp's parseParams to baseService * refactor(image): Skip work in dev for remote servies * feat(image): Add support for remote images * feat(image): Add squoosh service * chore: update export map * refactor(image): Abstract attributes handling by services * config(vercel): Remove test image service * feat(image): Support for relative images in Markdown (WIP) * feat(images): Add support for relative images in Markdown * feat(image): Update with RFC feedback * fix(image): Fix alt error on getImage * feat(image): Add support for assets validation through content collections * feat(image): Remove validateTransform * feat(image): Move to assets folder * fix(image): Fix package exports * feat(image): Add static imports references to virtual moduel * fix(image): Fix images from content collections not working when embedded * chore: lockfile * fix(markdown): Fix type * fix(images): Flag enhanced images behing an experimental flag * config(example): Update images example conifg * fix(image): Fix types * fix(image): Fix asset type for strict, allow arbritary input and output formats * chore: fix example check * feat(image): Emit assets for ESM imported images * Add initial core image tests (#6381) * feat(images): Make frontmatter extraction more generic than images for future * feat(image): Add support for building * fix(image): Fix types * fix(images): Fix compatibility with image integration * feat(images): Cuter generation stats * fix(images): Globals are unsafe, it turns out * fix(images): Only generate images if flag is enabled * fix(images): Only create `addStaticImage` in build * feat(images): Add SSR endpoint * fix(images): Only inject route in SSR * Add tests for SSR * Remove console.log * Updated lockfile * rename to satisfy the link gods * skip build tests for now * fix(images): Fix WASM files not being copied in dev * feat(images): Add quality presets * fix build tests running * Remove console.log * Add tests for getImage * Test local services * Test the content collections API * Add tests for quality * Skipping content collections test * feat(image): Add support for `~/assets` alias * test(image): Add tests for aliases in dev * Fix windows + content collections * test(image): Add tests for aliased images and images in Markdown * Fix markdown images being built * Should be posix join * Use the optimized image * fix test * Fixes windows smoke * fix(image): Nits * feat(images): Add automatic update for `env.d.ts` when experimental images are enabled * fix(images): Revert env.d.ts change if the user opted-out of the experimental image support * chore: remove bad image example project * feat(image): Rename `experimental.images` to `experimental.assets` * fix(images): Remove unused code in MDX integration * chore: Remove unrelated change * fix(images): Remove export from astro/components * Fix, esm import on Win * test(images): Add test for format * fix(images): Add `client-image.d.ts` to export map * chore: changeset * fix(images): Adjust with feedback, no more automatic refine, asset() -> image() * fix(images): Fix types * fix(images): Remove unnecessary spread * fix(images): Better types for parseUrl and transform * fix(images): Fix types * fix(images): Adjust from feedback * fix(images): Pass width and height through getHTMLAttributes even if they're not added by the uesr * fix(images): Recusirsively extract frontmatter assets * fix(images): Use a reduce instead * feat(images): Add support for data: URIs * chore: changeset * docs(images): Misc docs fixes * Update .changeset/gold-rocks-cry.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update .changeset/gold-rocks-cry.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/assets/types.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/assets/types.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Matthew Phillips <matthew@matthewphillips.info> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-06Update compilation target for Node 16 (#6213)Gravatar Erika 1-3/+3
* config(esbuild): Update esbuild target to node16 * config(package): Update root package.json node engine * config(tsconfig): Update all the tsconfigs module and targets * chore: changeset * chore: remove unneeded file
2023-03-06[ci] release (#6414)astro@2.0.18@astrojs/webapi@2.0.3Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-04Remove unused benchmarks (#6396)Gravatar Bjorn Lu 4-96/+0
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-02-27[ci] release (#6359)create-astro@3.0.4astro@2.0.16@astrojs/webapi@2.0.2@astrojs/telemetry@2.0.1@astrojs/lit@1.2.1Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-17[ci] release (#6279)astro@2.0.14@astrojs/webapi@2.0.1@astrojs/deno@4.0.2Gravatar Houston (Bot) 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-06Refactor `create-astro` (#6082)Gravatar Nate Moore 1-1/+3
* refactor: new version of create-astro * chore: update README * fix(create-astro): update project name logic * test(create-astro): fix test on windows * test(create-astro): fix test on windows * test(create-astro): remove unused import * chore: remove log * chore: increase test timeout * fix: message when skipping * fix: message for env.d.ts file * fix: always hard exit * fix: return from next-steps * chore: add message * refactor dependencies, bundle create-astro * chore: disable create-astro typings * chore: switch to arg * chore: update message * fix: split typescript into two steps, fix context test * chore: update wording * chore: update wording * Update packages/create-astro/src/actions/dependencies.ts Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> * refactor: move tests back to mocha/chai * chore: update cli-kit * update test script * chore: add comment about setStdout * chore: update cli-kit * Update packages/create-astro/src/messages.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/create-astro/src/messages.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: update lockfile * fix(create-astro): support scoped package names, improve project-name tests * better git initialization * update cli-kit --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>