summaryrefslogtreecommitdiff
path: root/examples/fast-build (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-09Update tests for legacy build (#2746)Gravatar Fred K. Schott 14-192/+0
* move fast-build example into a test fixture for legacy build * update tests for legacy build
2022-03-09merge `next` into `main` (#2705)Gravatar Nate Moore 1-3/+3
* 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-08Move from yarn to pnpm (#2455)Gravatar Nate Moore 3-4/+8
* 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-07Add used renderers to each example package.json `devDependencies` (#2727)Gravatar Selwyn 1-1/+2
As the first step to not bundling renderers in the core `astro` package the examples show usage with renderers as dependencies.
2022-03-04[ci] release (#2724)astro@0.23.7@astrojs/renderer-svelte@0.5.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04[ci] release (#2720)astro@0.23.6@astrojs/renderer-svelte@0.5.0Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03[ci] release (#2714)astro@0.23.5@astrojs/markdown-remark@0.6.4Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02[ci] release (#2692)astro@0.23.4@astrojs/markdown-remark@0.6.3Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28[ci] release (#2683)astro@0.23.3Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25[ci] release (#2666)astro@0.23.2Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25fix astro scoping of "@import" inside of style tags (#2656)Gravatar Fred K. Schott 1-1/+1
* fix astro scoping of "@import" inside of style tags * Create lovely-lies-dress.md * Update compile.ts * fix smoke test * Update package.json
2022-02-24[ci] release (#2641)astro@0.23.1@astrojs/markdown-remark@0.6.2Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18[ci] release (#2619)astro@0.23.0@astrojs/renderer-vue@0.4.0@astrojs/renderer-svelte@0.4.0@astrojs/renderer-solid@0.4.0@astrojs/renderer-react@0.5.0@astrojs/renderer-preact@0.5.0@astrojs/renderer-lit@0.4.0@astrojs/parser@0.22.1@astrojs/markdown-remark@0.6.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17[ci] release (next) (#2607)astro@0.23.0-next.10Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16[ci] release (next) (#2600)astro@0.23.0-next.9Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16[ci] release (next) (#2595)astro@0.23.0-next.8Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16[ci] release (next) (#2580)astro@0.23.0-next.7Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-14Flagged SSR support (#2548)Gravatar Matthew Phillips 1-1/+1
* Checkpoint, basics are working * Add the `--experimental-ssr` flag * Adds the changeset * Fixes population of getStaticPaths results * Pass through the imported module * Route manifest test * Fix remaining tests * Fix remaining tests * Copy server assets over * Fix types * Allowing passing in the request to the Node version of App * Improve the example app * Gets CI to pass
2022-02-11[ci] release (next) (#2573)astro@0.23.0-next.6Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11[ci] release (next) (#2565)astro@0.23.0-next.5@astrojs/markdown-remark@0.6.1-next.2Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-09[ci] release (next) (#2555)astro@0.23.0-next.4@astrojs/test-static-build-pkg@0.0.3@astrojs/renderer-vue@0.4.0-next.0@astrojs/renderer-svelte@0.4.0-next.0@astrojs/renderer-solid@0.4.0-next.0@astrojs/renderer-react@0.5.0-next.0@astrojs/renderer-preact@0.5.0-next.0@astrojs/renderer-lit@0.4.0-next.0Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-08[ci] release (next) (#2554)astro@0.23.0-next.3Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-07[ci] release (next) (#2533)astro@0.23.0-next.2@astrojs/markdown-remark@0.6.1-next.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-02[ci] release (next) (#2523)astro@0.23.0-next.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-02Fix support for scss in static build (#2522)Gravatar Matthew Phillips 2-2/+3
* Fix support for scss in static build * Adds a changeset * Pass the normalizedID to transformWithVite
2022-02-01[ci] release (next) (#2492)astro@0.23.0-next.0@astrojs/test-static-build-pkg@0.0.2@astrojs/markdown-remark@0.6.1-next.0Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-31Fix define:vars in the static build flag (#2511)Gravatar Matthew Phillips 1-0/+13
* Fix define:vars in the static build flag * Adds a changeset * linting
2022-01-28[ci] release (#2482)astro@0.22.20Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-28Fix use of preprocessors with the static build (#2490)Gravatar Matthew Phillips 1-0/+6
* Fix use of preprocessors with the static build * Adds a changeset
2022-01-27[ci] release (#2454)astro@0.22.19Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-24[ci] release (#2437)astro@0.22.18@astrojs/test-static-build-pkg@0.0.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20[ci] release (#2433)create-astro@0.7.1astro@0.22.17Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20Supports hoisted scripts in the static build (#2414)Gravatar Matthew Phillips 5-0/+26
* Supports hoisted scripts in the static build * Adds a changeset * Update packages/astro/src/core/build/internal.ts Co-authored-by: Evan Boehs <evan@boehs.org> * Update based on feedback * Fix lint * Fix getting hoist script for Windows * Try with the pre compiler * use compiler 0.8.2 * update compiler version * update yarn.lock Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20[ci] release (#2430)astro@0.22.16Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-19[ci] release (#2420)astro@0.22.15Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-18[ci] release (#2412)astro@0.22.14Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14[ci] release (#2394)astro@0.22.13Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14[ci] release (#2372)astro@0.22.12@astrojs/renderer-react@0.4.1@astrojs/renderer-lit@0.3.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-13[ci] release (#2366)astro@0.22.11Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-12[ci] release (#2340)astro@0.22.10@astrojs/renderer-solid@0.3.1Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07[ci] release (#2339)astro@0.22.9Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07Handle loading the Code package in the static build (#2337)Gravatar Matthew Phillips 1-1/+9
* Handle loading the Code package Fixes #2329 * Use Code the normal way * Adds a changeset * Only resolve browser path if there is no common ancestor * Update examples/fast-build/src/pages/index.astro Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-07[ci] release (#2333)astro@0.22.8Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05[ci] release (#2320)Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05[ci] release (#2307)astro@0.22.6Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04[ci] release (#2304)Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04[ci] release (#2303)astro@0.22.4Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04Only resolve inline script specifiers in the static build (#2302)Gravatar Matthew Phillips 4-6/+57
* Revert "Revert "Implement hydrated components in the static build (#2260)"" This reverts commit 17ac18e88c2b5a916c23ff7abc630fb98e313906. * Only resolve specifiers in the static build * Adding a changeset * Fix the client-only test
2021-12-30[ci] release (#2293)astro@0.22.3Gravatar github-actions[bot] 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30Revert "Implement hydrated components in the static build (#2260)" (#2292)Gravatar Matthew Phillips 4-57/+6
* Revert "Implement hydrated components in the static build (#2260)" This reverts commit ae5255dd25e36da2ce03f515af7b8f1ec6fcac91. * Adds a changeset