summaryrefslogtreecommitdiff
path: root/packages/webapi (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-23[ci] formatGravatar matthewp 1-1/+1
2022-06-23Remove post-rendering head injection (#3679)Gravatar Matthew Phillips 1-1/+1
* Remove post-rendering head injection * Adds a changeset * Use a layout component for vue
2022-06-23[ci] formatGravatar natemoo-re 1-1/+1
2022-06-23Enable named slots in renderers (#3652)Gravatar Nate Moore 1-1/+1
* feat: pass all slots to renderers * refactor: pass `slots` as top-level props * test: add named slot test for frameworks * fix: nested hydration, slots that are not initially rendered * test: add nested-recursive e2e test * fix: render unmatched custom element children * chore: update lockfile * fix: unrendered slots for client:only * fix(lit): ensure lit integration uses new slots API * chore: add changeset * chore: add changesets * fix: lit slots * feat: convert dash-case or snake_case slots to camelCase for JSX * feat: remove tmpl special logic * test: add slot components-in-markdown test * refactor: prefer Object.entries.map() to for/of loop Co-authored-by: Nate Moore <nate@astro.build>
2022-06-14[ci] formatGravatar matthewp 1-1/+1
2022-06-14feat: support optional and conditional integrations (#3590)Gravatar Okiki Ojo 1-1/+1
* feat(integrations): support optional integrations By making integration optional, Astro can now ignore null or undefined Integrations instead of giving an internal error most devs can't read/won't understand. This also enables optional integrations, e.g. ```ts integration: [ // Only run `compress` integration in production environments, etc... import.meta.env.production ? compress() : null ] ``` * ci: add tests for optional integration * docs: add changelog
2022-06-10[ci] formatGravatar natemoo-re 1-1/+1
2022-06-09chore: update types (#3558)Gravatar Nate Moore 1-2/+2
2022-06-06[ci] formatfix/map-file-404-logsGravatar FredKSchott 14-83/+82
2022-06-02[ci] update lockfile (#3501)Gravatar Fred K. Schott 1-2/+2
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-01[ci] update lockfile (#3495)Gravatar Fred K. Schott 1-3/+3
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-31[ci] update lockfile (#3448)Gravatar Fred K. Schott 1-1/+1
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-27update typescript (#3456)Gravatar Fred K. Schott 1-1/+1
2022-05-23[ci] release (#3409)Gravatar github-actions[bot] 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-20[ci] formatGravatar bholmesdev 1-6/+1
2022-05-20Fix: support `FormData` object on fetch body (#3417)Gravatar Ben Holmes 3-10/+8
* refactor: make node-fetch external in rollup build * deps: make node-fetch standard dep * refactor: switch to node-fetch pkg ref in fetch.ts * chore: changeset * chore: bump webapi to minor change
2022-05-20[ci] update lockfile (#3414)Gravatar Fred K. Schott 1-1/+1
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-19[ci] update lockfile (#3404)Gravatar Fred K. Schott 1-1/+1
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-16[ci] update lockfile (#3363)Gravatar Fred K. Schott 1-2/+2
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-12[ci] update lockfile (#3287)Gravatar Fred K. Schott 1-6/+6
* [ci] update lockfile * chore: fix lockfile * fix: pin turbo Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-03Add typescript to match peerDepGravatar Matthew Phillips 1-1/+2
2022-04-22[ci] update lockfile (#3162)Gravatar Fred K. Schott 1-2/+2
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-21chore(webapi): fix types (#3167)Gravatar Nate Moore 1-1/+1
2022-04-20[ci] update lockfile (#3153)Gravatar Fred K. Schott 1-5/+5
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-13[ci] release (#3101)astro@1.0.0-beta.10@astrojs/webapi@0.11.1Gravatar github-actions[bot] 2-1/+8
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13[ci] formatGravatar matthewp 1-3/+3
2022-04-13Re-enable custom element test and fix "undefined" child (#3095)Gravatar Matthew Phillips 2-0/+20
* Re-enable custom element test and fix "undefined" child * Remove outdated comment * Adds a changeset
2022-04-10update lockfile (#3059)Gravatar Fred K. Schott 1-1/+1
2022-04-10chore: webapi test now use chai (#3048)Gravatar Juan Martín Seery 15-814/+535
2022-03-23add build:ci command which skips `tsc` (#2869)Gravatar Nate Moore 1-0/+1
2022-03-18fix(windows): fix build script on windows (#2830)Gravatar Nate Moore 1-1/+1
2022-03-16[ci] update lockfile (#2810)Gravatar Fred K. Schott 1-1/+1
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-14[ci] update lockfile (#2773)Gravatar Fred K. Schott 1-3/+3
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-11[ci] update lockfile (#2763)Gravatar Fred K. Schott 1-7/+7
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-10update deps: esbuild, typescript (#2750)Gravatar Fred K. Schott 2-2/+2
* update dep: typescript * update dep: esbuild * update types * update types * update dep: es-module-lexer * update tests
2022-03-09merge `next` into `main` (#2705)Gravatar Nate Moore 1-0/+2
* Unflag the static build (#2652) * Unflag the static build * Only set legacyBuild to false if experimentalSSR is true * Use legacy build when we have to * Put a few more tests into legacy mode * Last two * Make astro-basic use the legacy build * Adds a changeset * Mark the lit test as legacy * Update yarn lock * Update based on feedback * Add --legacy-build flag * Move astro-basic test to use static build (#2682) * Move some tests over to the static build (#2677) * Move some tests over to the static build * Fix assets tests * Fix the assets tests * Fix for the client:only components * Moves asset tests to the static build * Move postcss test over to static build * Bring back legacy build for astro-basic test * Move astro-basic test to use static build * Migrate more tests to the static build (#2693) * fix: disable HMR during build (#2684) * Migrate more tests to the static build * Only prepend links in non-legacy mode * Add the 0-css tests * Convert all CSS tests to the static build * Migrate Astro global tests * Remove .only * Fix static build tests * Migrate a few more * More tests * Move the lit test back to legacy * Increase the test timeout Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Improve `head` injection behavior (#2436) * feat: add renderHead util to server * feat: remove `layouts` from config, Vite plugin * fix: improve head injection during rendering * chore: update compiler * fix: do not escape links * chore: enter `pre` mode * Replace `send` with `sirv` (#2713) * remove send * Create thick-ravens-chew.md * I feel like I'm going to screw something up * working finally! * rewrite req.url * Add tiny bit of doc * Update .gitignore Co-authored-by: Evan Boehs <evan@boehs.org> * Move remaining tests to the static build (#2712) * Move lit test to the static build * Migrate astro-env plugin to work in the static build * Do not remove vite:define * Adds a changeset * Add a warning when passing the --experimental-static-build flag (#2718) * Add a warning when passing the --experimental-static-build flag * Disable the lint warning * [ci] release (next) (#2721) * [ci] release (next) * chore: update changeset Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nate Moore <nate@skypack.dev> * 404 page (#2719) * Fix: build to 404.html in the static build * Adds a changeset * fix pnpm install missing peer deps * fix svelte version in workspace * fix lockfile * fix(webapi): add dev script * improve preview reliability (#2739) * improve preview reliability - fix broken tests * shamefully hoist to unblock * remove lit from test running * chore: update lockfile Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Evan Boehs <evan@boehs.org> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-08fix format (#2736)Gravatar Fred K. Schott 3-88/+23
2022-03-08Move from yarn to pnpm (#2455)Gravatar Nate Moore 6-11868/+9
* chore: `yarn` => `pnpm` * docs: `yarn` => `pnpm` * chore(ci): yarn => pnpm * chore(ci): update pnpm cache path * fix: add missing deps * fix: add missing deps * test: add package.json to all test fixtures * chore: improve hoisting behavior * chore: move turbo into package.json * chore: update npmrc * fix: add missing `debug` dependency * chore: remove prepare script * test: fix new tests * fix: fully resolve renderer paths and `astro/internal` path * chore: update lockfile * chore: remove log * fix: resolve renderers in vite-plugin-jsx * fix: prefer public-hoist-pattern to shamefully-hoist * chore: ignore @babel/core peer warning * chore: update dependencies * test: add autoprefixer as explicit dep * chore: update `.npmrc` file in examples * chore: update dependencies * fix: resolve renderer dependencies in static build * fix: static build renderer resolution * chore: fix smoke tests * chore: hoist autoprefixer * chore: update lockfile * attempt: use full file:// path on Windows * attempt: use astro/internal * attempt: optimize astro/internal * attempt: expose ./internal.js * chore: add missing package.json files * attempt: resolve astro/internal path * chore: tidy package.json * chore: update lockfile * chore: update deps * chore: update deps * chore: yarn -> pnpm * attempt: explicit /@fs urls * attempt: explicit /@fs urls * chore: update all examples for pnpm * chore: fix hoisting for with-vite-plugin-pwa * chore(ci): fix sharp install * chore: update with-vite-plugin-pwa example * fix: pin vite-plugin-pwa to 0.11.11 * fix: add workbox-window to vite-plugin-pwa deps * refactor: use pnpm update --recursive Co-authored-by: JuanM04 <me@juanm04.com> * chore: yarn => pnpm * chore: yarn => pnpm * fix: update smoke test to skip examples which don't work in static build * update lockfile * chore: update .npmrc files * chore: update lockfile * fix: smoke script * chore: update .npmrc file * fix: return to shamefully-hoist (shamefully) * chore: update lockfile * fix(smoke): ignore scripts for smoke tests * fix: update example to disable renderers * chore: bump version * chore(ci): fix smoke tests * attempt: disable --frozen-lockfile for smoke tests * chore: update smoke test * chore: fix rebase issue * chore: update lockfile * fix: smoke tests * fix(ci): run external smoke tests first * fix(ci): run syntax * chore: update lockfile * fix(ci): ensure submodules are up-to-date * fix(ci): ensure submodules are up-to-date * chore: update lockfile * chore: update for webapi * chore: silence node:* warnings * chore: update deps * fix(ci): persist generated webapi assets * fix(ci): webapi build script * chore(ci): remove custom node caching * chore: keep turbo.json * chore: update turbo, ignore create-astro * chore: update deps * fix(ci): test command * chore(ci): update test script Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-07[ci] yarn formatGravatar natemoo-re 45-7127/+10203
2022-03-07Add `@astrojs/webapi` package (#2729)@astrojs/webapi@0.11.0Gravatar Nate Moore 60-0/+13082
* chore: add @astrojs/webapi * chore: update package.json * fix: update file case * fix: remove lowercase file * chore: update tests to use mocha * chore: update LICENSE