Matthew Phillips
bccd88f0eb
Move the Markdown component to its own package ( #3986 )
...
* Move the Markdown component to its own package
* Update the examples
* Updated lockfile
* Use is:raw
* Add a main field
* Update the formatting of the readme
* Rename to @astrojs/markdown-component
2022-07-20 16:45:05 -04:00
FredKSchott
4bb96ac8e5
[ci] format
2022-07-19 05:21:24 +00:00
Matthew Phillips
04070c0c12
Migrate to Vite 3 ⚡ ️ ( #3570 )
...
* Vite 3 test
* deps: bump to Vite beta.1
* refactor: move to use optimizeDeps.force option
* refactor: stub out new updateModuleInfo params
* nit: remove comment on deprecated Vite feature
* nit: remove comment on deprecated vite feature
* hail mary: destroy all ssr external / noexternal!
* fix: use new middlewareMode config settings
* fix: resolve npm package paths for rollup input
* wip: revert to unresolved. Issue reported!
* sad refactor: use legacy devDepsScanner for component HMR
* fix: add astro/components to noExternal for Code component
* refactor: use ALWAYS_NOEXTERNAL array
* refactor: add package.json to all test runners for noExternal error
* deps: bump to latest vite 3 beta
* wip: add package.json to smoke
* fix: remove accidental "force true" on create-vite
* refactor: write smoke package.json programmatically
* refactor: add fontsource to noExternal
* fix: only add to ssr.noExternal if present in project
* wip: what if we just... didn't have a memory test
* deps: bump to latest vite beta
* Revert "wip: what if we just... didn't have a memory test"
This reverts commit 173729dbdc685e52881fc3333487b8f744add55f.
* fix: add type check for plugin.name
* feat: remove legacy.devDepsScanner. Vite 3 strat is now Vite 2.x strat!
* fix: add ssr.noExternal to components ex
* wip: ignore with-mdx starter
* fix: add serviceEntryPoint to ssr.noExternal
* temp: reset NODE_ENV on prod builds
* fix: missing async tag
* VITE 3 IS STABLE BABY
* deps: bump svelte to vite 3
* deps: bump vue to vite 3
* fix: resolve plugins for proper sorting
* sad fix: regex "export default" out of CSS ssr
* chore: add TODO to understand sad fix
* Revert "fix: resolve plugins for proper sorting"
This reverts commit e67c194d3a8e11070487ed325947e7c59e8d69cd.
* Revert "sad fix: regex "export default" out of CSS ssr"
This reverts commit 721d40b62b61440dc9e488787901c915579659db.
* fix: sort plugins WITHOUT resolveConfig
* Revert "wip: ignore with-mdx starter"
This reverts commit 7d4f7338e6
.
* chore: revert memory test changes
* chore: add nanostores/preact ot noexternal
* chore: changeset
* chore: changeset
* deps: use Vite ^3.0.0
* fix: add back third party astro pkg scanner
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-18 22:19:23 -07:00
Fred K. Bot
37534004f0
[ci] release ( #3939 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-18 21:54:25 -07:00
Nate Moore
f5d4ebf0e2
Handle metadata for MDX files during build ( #3915 )
...
* fix: metadata handling for MDX files
* chore: add changeset
* chore: update mdx example
* fix: protect against infinite loops in jsx-runtime, properly hook console.error
* chore: remove unused import
* feat(mdx): support `client:only`
* fix: prefer Symbol.for
* fix(jsx): handle vnode check properly
* chore: appease ts
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-15 11:25:29 -04:00
Fred K. Bot
f7fa39e682
[ci] release ( #3925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-14 15:36:23 -04:00
Fred K. Bot
78e765dc65
[ci] release ( #3921 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-14 11:36:33 -05:00
Fred K. Bot
056d4d5fd2
[ci] release ( #3903 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13 17:16:24 -04:00
matthewp
0751be81e5
[ci] format
2022-07-12 16:20:08 +00:00
Fred K. Bot
ba67a924ca
[ci] release ( #3900 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 12:18:13 -04:00
Ben Holmes
ab232dd10f
Example blog rework ( #3896 )
...
* refactor: restructure components, kill dead code
* nit: tweak base styles
* nit: remove unneeded code comments
* refactor: replace unused permalink with canonicalURL
* refactor: add missing prop types
* feat: make markdown examples more interesting
* chore: consistent semis and quotes
* chore: astro check failures
* fix: bad url prop
* fix: bad frontmatter quote
* chore: more dead styles
* chore: add header gap
* refactor: use tsx for likebutton
* fix: restore post sorting
* chore: remove unused flex-row util
* fix: small md formatting on README
* chore: run through astro-plugin-prettier
* fix: revert to double quotes
* fix: manually move style outside <body>
* fix: update file tree in README
* refactor: publish-date -> time
* refactor: remove unused div and margin
* refactor: publishDate -> time on layout
* refactor: .heroImage -> img
* refactor: .logo -> svg
* feat: update social image, remove jpg
* fix: remove prism stylesheet!
2022-07-12 12:17:36 -04:00
Fred K. Bot
4bf4736768
[ci] release ( #3899 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 11:16:15 -04:00
Fred K. Bot
c2b14d5253
[ci] release ( #3894 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-12 09:08:15 -04:00
Nate Moore
93e1020b1e
Fix: reintroduce smoke tests across example projects ( #3669 )
...
* chore: update smoke tests
* chore: bump smoke tests to node@16
* chore: remove gitmodules
* chore(ci): prefer node@14
* wip: remove path from smoke clone step
* feat: run build:examples from test:smoke
* fix: remove no-frozen-lockfile
* fix: checkout monorepo last for pnpm setup
* wip: replace @astrojs/markdown/remark import from md
* fix: remove type defs from generated file
* fix: function order
* chore: remove ssr-utils export
* wip: remove windows from smoke test
* fix: instantiate slugger in snippet
* fix: exclude with-mdx from smoke (for now)
* fix: add quotes on filter flag for safety
* chore: changeset
* wip: try reintroducing windows smoke
* sad chore: remove client: directive from with-mdx
* Revert "wip: try reintroducing windows smoke"
This reverts commit 9529b1a45c
.
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-11 22:51:17 -04:00
bholmesdev
c8ca528bba
[ci] format
2022-07-11 19:44:42 +00:00
Ben Holmes
faf3f3a8d1
Update with-nanostores
example to match docs walkthrough ( #3840 )
...
* feat: replace with-nanostores with new example
* docs: update README with docs call-out
* chore: small formatting inconsistencies
* nit: standardize to spaces :'(
* nit: standardize to tabs!
* refactor: use html "hidden" property
* nit: beta.66 for sanity
2022-07-11 15:42:10 -04:00
Fred K. Bot
1554a37622
[ci] release ( #3887 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11 13:38:42 -05:00
Tom Lienard
cb6a973839
fix: portfolio example JSX error ( #3886 )
...
* fix: portfolio example JSX error
* chore: add changeset
* chore: update description
2022-07-11 11:10:05 -05:00
Matthew Phillips
21869a614a
Move client types into Astro ( #3851 )
...
* Move client types into Astro
* Adds a changeset
* Fix path to local client
* Reference vite/client in our HMR types
* Add back in the expect-error
* Update types comment
2022-07-11 08:12:18 -04:00
Fred K. Bot
1785e568a0
[ci] release ( #3850 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-08 20:54:39 -04:00
Marcus Otterström
59e8c71786
Format astro files in examples ( #3862 )
2022-07-08 22:08:32 +02:00
Fred K. Bot
568960f175
[ci] release ( #3818 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-06 21:00:18 -04:00
Matthew Phillips
5ac0f78411
Fix portfolio example to use lowercase srcset ( #3829 )
2022-07-05 16:33:38 -04:00
Fred K. Bot
08d068496d
[ci] release ( #3800 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 15:56:49 -05:00
natemoo-re
3cc6fb81da
[ci] format
2022-07-01 20:53:13 +00:00
Nate Moore
5fe52737cb
Update MDX example to address failure ( #3799 )
...
* fix: do not use symbol in JSX runtime
* chore: update MDX example
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-01 15:51:28 -05:00
Fred K. Bot
94143fcdba
[ci] release ( #3789 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 17:43:26 +00:00
Fred K. Bot
0f73ece26b
[ci] release ( #3783 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-01 03:09:17 +00:00
Fred K. Bot
d07ad8a782
[ci] release ( #3774 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 11:39:44 -07:00
natemoo-re
af23bdd515
[ci] format
2022-06-30 18:11:12 +00:00
Nate Moore
032ad1c047
MDX support ( #3706 )
...
* feat: first pass at MDX support
* fix: move built-in JSX renderer to come first
* chore: remove jsx example
* chore: update lockfile
* chore: cleanup example
* fix: missing deps
* refactor: move component render logic to `renderPage`
* chore: update HMR script
* chore: update MDX example
* refactor: prefer unshit
* refactor: remove TODO comment
* fix: remove duplicate identifier
* refactor: cleanup mdx entrypoint
* fix: better html handling
* fix: add tsconfig to mdx package
* chore: update lockfile
* fix: do not sort plugins unless mdx is enabled
* chore: update compiler
* fix(hmr): maybe render head for non-Astro pages
* fix: set initial pageExtensions
* refactor: cleanup addPageExtension
* refactor: remove addPageExtensions from types
* refactor: expose HookParameters type
* fix: only default to astro for MDX
* test: pick up jsx support in test fixtures
* refactor: simplify mdx entrypoint
* test: add basic MDX tests
* test(e2e): add mdx + framework tests
* chore: update lockfile
* test(e2e): fix preact mdx e2e test
* fix(mdx): disable .md support
* test(e2e): fix vue-component test missing mdx
* test(e2e): fix solid component needing import
* fix: allow `client:only="solid"` as an alias to `solid-js`
* chore: move to with-mdx example
* chore: update MDX readme
* chore: update example readme
* chore: bump astro version
* chore: update lockfile
* Update mod.d.ts
* feat: support `export const components` in MDX pages
* chore: update mdx example
* fix: update jsx-runtime with better slot support
* refactor: remove object style support
* chore: cleanup package exports
* chore: add todo comment
* refactor: improve isPage function, move to utils
* refactor: dry up manual HMR updates
* chore: add dev tests for MDX
* chore: prefer set to array
* chore: add changesets
* fix(hmr): flip public/private route
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30 13:09:09 -05:00
Fred K. Bot
8cbe92b74b
[ci] release ( #3772 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-30 08:08:09 -05:00
Fred K. Bot
38f2fd7723
[ci] release ( #3759 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-29 17:11:48 -05:00
Tony Sullivan
51d5dc4789
Updates an error handler to expect updated @astrojs/lit
behavior ( #3766 )
...
* fix: don't throw an error when the lit renderer doesn't provide a clientEntrypoint
* updating the framework-lit example to match new behavior
* fix: updating the playground example to latest lit syntax
2022-06-29 20:56:51 +00:00
Rychardt Rothwërkz
0cf0b2e2d0
improve performance by adding another preconnect ( #3737 )
...
* improve performance by adding another preconnect
This is the code Google Fonts officially provides.
The reason for adding a secound url is that the link:
https://fonts.googleapis.com/css2?family=Inter:wght@100&display=swap
lists src urls like this:
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url(https://fonts.gstatic.com/s/inter/v11/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyeAZ9hiA.woff2 ) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
so for better performance both urls needs to be preconnected.
* Update examples/portfolio/src/components/MainHead.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-06-28 10:13:06 -07:00
Fred K. Bot
a59a27eb0c
[ci] release ( #3733 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-28 15:11:59 +00:00
Fred K. Bot
768c8ed21d
[ci] update lockfile ( #3740 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-28 08:33:13 -05:00
github-actions[bot]
0ae1365533
[ci] release ( #3726 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-27 10:40:35 -04:00
github-actions[bot]
701a3bd698
[ci] release ( #3707 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 17:02:11 -04:00
github-actions[bot]
67b5aa4ca4
[ci] release ( #3701 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 16:05:02 -04:00
github-actions[bot]
6a6047483b
[ci] release ( #3692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-24 12:55:36 -05:00
github-actions[bot]
19cd962d0b
[ci] release ( #3684 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-23 09:14:17 -04:00
github-actions[bot]
8ad146a5d7
[ci] release ( #3683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-22 12:19:43 -04:00
github-actions[bot]
119283775a
[ci] release ( #3666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-22 10:05:21 -04:00
hippotastic
ba5ad7855c
Fix react dependencies to improve test reliability ( #3673 )
...
* Fix local react tests by unifying versions
* Add missing dependencies to react tests
* Add changeset
* Fix lockfile
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-22 09:11:48 -04:00
Matthew Phillips
46d1ea941b
Revert "add Astro Deno Example ( #3645 )" ( #3674 )
...
This reverts commit e88b23ea52
.
2022-06-22 08:30:22 -04:00
Jutanium
fdba6c23a7
[ci] format
2022-06-21 17:11:04 +00:00
Elian ☕️
e88b23ea52
add Astro Deno Example ( #3645 )
...
* add Astro Deno Example
* add changeset
* update pnpm lock
Co-authored-by: Dan Jutan <danjutan@gmail.com>
2022-06-21 13:07:07 -04:00
github-actions[bot]
b4db008e53
[ci] release ( #3664 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-21 12:47:04 -04:00
github-actions[bot]
e13ce4d751
[ci] release ( #3662 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-21 11:50:06 -04:00
Jeff Mendez
195f88bf0b
chore(example): fix @types install type ( #3656 )
2022-06-21 10:27:22 -05:00
github-actions[bot]
e67171252c
[ci] release ( #3615 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-06-21 09:43:19 -04:00
Oleksii Tymoshenko
1031c06f9c
feat: improved sitemap ( #3579 )
...
* feat: extended sitemap functionality
* docs: del samples
* docs: readme
* feat: new sitemap
* feat: createLinkInHead removed
* docs: updated changeset text
* refactor: 'zod' function() instead of self made refine()
* Revert "refactor: 'zod' function() instead of self made refine()"
This reverts commit 036bac730d
.
undo function()
2022-06-16 19:06:48 +00:00
github-actions[bot]
81104a9335
[ci] release ( #3604 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-16 12:05:10 -04:00
Dan Jutan
8ed924d2ed
Update README.md ( #3597 )
...
- Fix the tree to reflect the actual example contents
- Remove RSS and Sitemap bullet points, since they aren't in the project
2022-06-15 10:32:40 -05:00
github-actions[bot]
31e3224319
[ci] release ( #3596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-14 15:46:51 -05:00
github-actions[bot]
acc8afbdda
[ci] release ( #3594 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-14 15:51:10 -04:00
Florens Verschelde
6172cb9f9a
fix(examples): incorrect StackBlitz demo URLs ( #3584 )
2022-06-13 12:22:20 -04:00
github-actions[bot]
c54b024803
[ci] release ( #3569 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 21:07:03 -05:00
github-actions[bot]
d02578fd4c
[ci] release ( #3549 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-10 15:03:52 +00:00
github-actions[bot]
ec89def67d
[ci] release ( #3534 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-07 12:45:50 -04:00
github-actions[bot]
9029c43549
[ci] release ( #3512 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-06 09:40:09 -04:00
Fred K. Schott
25fa0f527d
[ci] update lockfile ( #3515 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-03 13:00:47 -04:00
github-actions[bot]
a74cf98002
[ci] release ( #3509 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-02 15:31:44 -04:00
github-actions[bot]
67ad33debf
[ci] release ( #3488 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-02 13:42:18 -04:00
Fred K. Schott
cfb85ee10e
[ci] update lockfile ( #3495 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-01 10:39:32 -05:00
github-actions[bot]
b2f955ec1b
[ci] release ( #3485 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-31 13:40:19 -04:00
Fred K. Schott
c9d8b10a85
[ci] update lockfile ( #3448 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-31 11:46:13 -05:00
Sarah Rainsberger
842ed555d9
Correcting the link to docs on Just the Basics starter README ( #3482 )
...
* Correcting the link to docs on Just the Basics starter README
The link to documentation did not actually go to Docs. Now it does!
* fixing all other starter template READMEs with incorrect link to docs
2022-05-31 10:11:49 -04:00
github-actions[bot]
16345032aa
[ci] release ( #3479 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-30 13:06:41 -04:00
Florian S
95c506bf6b
Remove unused slot until slot bugs are fixed ( #3475 )
...
Simple fix for #3473 as the slot was never used in this example.
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-05-30 09:42:59 -03:00
github-actions[bot]
42aa6daa96
[ci] release ( #3463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-27 18:09:20 -04:00
github-actions[bot]
e6d8670168
[ci] release ( #3453 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 14:25:10 -04:00
github-actions[bot]
8a49ad23bf
[ci] release ( #3446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-26 06:48:47 -04:00
github-actions[bot]
f200ddadbc
[ci] release ( #3435 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-25 10:42:03 -05:00
Fred K. Schott
ccaea99765
[ci] update lockfile ( #3419 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-24 11:43:37 -05:00
github-actions[bot]
8eec97fdd1
[ci] release ( #3409 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-23 13:26:07 -04:00
Fred K. Schott
195f3f7eb7
[ci] update lockfile ( #3414 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-20 12:02:10 -05:00
github-actions[bot]
4dfd341928
[ci] release ( #3405 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-19 13:35:19 -04:00
Fred K. Schott
a7480452b1
[ci] update lockfile ( #3404 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-19 10:22:27 -05:00
github-actions[bot]
b330c5b72e
[ci] release ( #3400 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-18 21:36:32 +00:00
Fred K. Schott
ef32b7c39c
[ci] update lockfile ( #3395 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-18 10:15:42 -05:00
github-actions[bot]
f54072bd3f
[ci] release ( #3378 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-17 11:50:18 -04:00
Fred K. Schott
9dd16bace5
[ci] update lockfile ( #3363 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-16 13:33:16 -05:00
github-actions[bot]
cedb9a2105
[ci] release ( #3334 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 14:48:58 -06:00
matthewp
29e7260a4e
[ci] format
2022-05-12 20:21:02 +00:00
Rafid Muhymin Wafi
17da2b1611
Fixed search bar of the docs example not working ( #3247 )
...
* fixed search bar not working
* fixed search bar not working during build
* fix search bar throwing error on production site
2022-05-12 14:20:20 -06:00
Fred K. Schott
7cd4b1bc12
[ci] update lockfile ( #3287 )
...
* [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-12 11:42:34 -05:00
Gautier Ben Aïm
484b80eb99
fix: updated blog template with existing address ( #3312 )
2022-05-11 16:20:00 -05:00
Juan Martín Seery
114bf63e11
refactor(vercel): Build Output API v3 ( #3216 )
...
* Removed ignores
* Migration to v3
* More changes
* Remove legacy redirects
* Fail when there is no ENABLE_VC_BUILD
* Fix edge
* Updated readme
* Changeset
* Added static mode
* Updated documentation
* Updated shim
* Made edge work!
* Updated changeset
* Ensure empty dir
* Fixed redirects for dynamic paths
* Removed extra declaration
* Splited imports
* Updated readme
* Fixed some urls
* Deprecated shim!
* [test]: Vercel NFT
* Beautify
* Edge bundle to node 14.19
Vercel runs 14.19.1 (I've checked it manually)
* Re-added shim (#3304 )
* Added `node:` prefix
* Use the same bundling as Deno for Edge
* Remove esbuild
* Fixed shim
* Moved nft
* Updated changeset
* Added note about Edge
* fix typo
* Added support for Node 16 (vercel/vercel#7772 )
2022-05-11 15:10:38 -06:00
matthewp
461d1bb4c3
[ci] format
2022-05-11 16:24:45 +00:00
Jonas Luebbers
abc5b219bb
Remove try/catch from solid component check ( #3282 )
...
* Remove try/catch from solid component check
* Move try/catch to renderComponent
* Add solid to integrations-playground example
2022-05-11 10:23:34 -06:00
Matthew Phillips
ccea6a0a1a
HMR hoisted scripts ( #3336 )
...
* HMR hoisted scripts
* Add to the dep graph
* Remove example change
* Adds changeset
* Fix markdown test
2022-05-11 09:23:11 -06:00
Tony Sullivan
be899fdd1a
Fixing mobile header for docs example ( #3335 )
2022-05-10 21:59:56 +00:00
[object Object]
2864d09ad4
Fix tailwind integration in markdown files ( #3305 )
...
* Fix tailwind integration in markdown files
* 3 character PR -> 9 character PR
2022-05-06 13:01:04 -04:00
github-actions[bot]
4639a048d7
[ci] release ( #3308 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-06 09:28:57 -04:00
github-actions[bot]
9b98633cc8
[ci] release ( #3302 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-05 16:27:40 -04:00
github-actions[bot]
d0a4064d80
[ci] release ( #3293 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-05 09:56:45 -04:00
github-actions[bot]
9b6a2e2d87
[ci] release ( #3288 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-04 08:59:10 -04:00
github-actions[bot]
58862fbf76
[ci] release ( #3284 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 17:14:26 -07:00
Fred K. Schott
78855ce892
first polish ( #3236 )
2022-05-03 17:08:15 -07:00
Fred K. Schott
1032e450cc
Revert "[ci] release ( #3279 )"
...
This reverts commit 9fb2c4744c
.
2022-05-03 17:04:44 -07:00
github-actions[bot]
9fb2c4744c
[ci] release ( #3279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 18:33:18 -04:00
github-actions[bot]
1de48ce4eb
[ci] release ( #3277 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 15:50:21 -04:00
Kevin Zuniga Cuellar
c0c3a1bd83
removed extra title ( #3274 )
2022-05-03 15:37:11 -04:00
github-actions[bot]
8b17d3ebcf
[ci] release ( #3243 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 09:16:57 -04:00
Juan Martín Seery
de123b28b3
refactor(markdown): removed rehype-slug
in favor of our own implementation ( #3234 )
...
* Moved types arround
* Removed `rehype-slug` in favor of our own implementation
* Changeset
* Removed rehype-slug from examples
* Remove rehype-slug from tests
* Updated reference
* rehypeCollectHeaders is a function again
* Reverted rehype-slug removes
* Re-added rehype-slug to reference
2022-04-29 21:07:09 -03:00
github-actions[bot]
9984f8ea24
[ci] release ( #3242 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 22:30:12 +00:00
Juan Martín Seery
6cd9ef577e
chore: remove unintended changelogs ( #3233 )
...
* Removed unused CHANGELOGS
* Added `astro-scripts` to changeset ignore
* Reverted config.json
2022-04-29 08:41:16 -07:00
Fred K. Schott
465b3a7970
Update example tsconfig ( #3107 )
2022-04-28 11:42:55 -04:00
github-actions[bot]
7937852395
[ci] release ( #3215 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-27 16:23:53 -04:00
Ben Holmes
8f2f4de5dc
Feat: new just the basics template ( #3206 )
...
* feat: new just-the-basics example
* chore: update package name
* chore: update lockfile
* refactor: simplify meta tags
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* refactor: use `system-ui` for base font
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update examples/just-the-basics/src/components/Layout.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* refactor: just-the-basics -> basics (now 10% more basic!)
* refactor: add type checking to layout prop
* nit: change "astro-text" to "text-gradient"
* refactor: simplify CSS grid
* feat: make transition easing 10% fancier
* change to text gradient because people gooootta have opinions huh
* nit: rename CSS class to "instructions"
* refactor: use ul > li for containers
* chore: update lockfile
* feat: style tweaks
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-04-26 20:37:58 -04:00
github-actions[bot]
8d8433ee50
[ci] release ( #3182 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-26 16:49:09 -04:00
Fred K. Schott
bd76716c88
[ci] update lockfile ( #3162 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-22 10:04:01 -04:00
github-actions[bot]
84939b2ff2
[ci] release ( #3172 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 15:37:18 -05:00
github-actions[bot]
bd66527e7d
[ci] release ( #3169 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 14:08:37 -04:00
github-actions[bot]
0406bdc35b
[ci] release ( #3165 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 12:19:52 -04:00
github-actions[bot]
3cdc5f1bfb
[ci] release ( #3161 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 11:34:03 -04:00
Fred K. Schott
00b8343844
[ci] update lockfile ( #3153 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-20 09:42:31 -04:00
github-actions[bot]
fce98d5552
[ci] release ( #3151 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 22:45:07 -07:00
github-actions[bot]
9e00f6d546
[ci] release ( #3149 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 13:30:27 -04:00
github-actions[bot]
95d0db5a44
[ci] release ( #3120 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 11:30:34 -04:00
Chris Swithinbank
9e35758ec3
Roll back to React 17 in docs template ( #3129 )
...
The docs example template includes Algolia’s Docsearch components to provide a search bar but this doesn’t support React 18 yet, so will error when dependencies are being installed.
See https://discord.com/channels/830184174198718474/965413318678425600
2022-04-18 10:09:57 -04:00
github-actions[bot]
c1336ae41c
[ci] release ( #3114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:28:42 -04:00
natemoo-re
e352238441
[ci] format
2022-04-14 19:10:28 +00:00
Fred K. Schott
93c2cc0553
update starter template ( #3109 )
2022-04-14 14:09:42 -05:00
github-actions[bot]
254048dc82
[ci] release ( #3103 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:10:29 +00:00
github-actions[bot]
b23f6b1596
[ci] release ( #3101 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13 08:55:32 -04:00
github-actions[bot]
21926278ba
[ci] release ( #3090 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-12 20:15:14 -07:00
github-actions[bot]
0966a432a8
[ci] release ( #3080 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-11 19:59:32 -07:00
Fred K. Schott
e606dded87
use bundled alpinejs ( #3065 )
2022-04-11 15:56:42 -07:00
github-actions[bot]
791a524411
[ci] release ( #3064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 21:13:11 -07:00
github-actions[bot]
21c74e572c
[ci] release ( #3061 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:15:02 -07:00
Fred K. Schott
2bb6a06ebb
revert release
2022-04-10 20:11:34 -07:00
github-actions[bot]
46f02d9cf4
[ci] release ( #3060 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:01:00 -07:00
Fred K. Schott
77c0be5b26
update lockfile ( #3059 )
2022-04-10 19:12:30 -07:00
Rafid Muhymin Wafi
336eaa777b
Fixed MD Lint issues ( #3038 )
2022-04-10 18:59:27 -03:00
github-actions[bot]
a5aea2ce56
[ci] release (beta) ( #3023 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-07 15:22:47 -04:00
github-actions[bot]
1d0c1d8977
[ci] release (beta) ( #3007 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-06 16:40:46 -05:00
github-actions[bot]
013150e2de
[ci] release (beta) ( #3005 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-06 13:06:36 -04:00
github-actions[bot]
4e021f70e1
[ci] release (beta) ( #2992 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 18:07:09 -07:00
github-actions[bot]
ac34a5a03a
[ci] release (beta) ( #2989 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 15:19:57 -07:00
github-actions[bot]
a68885c0d6
[ci] release (beta) ( #2986 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 11:35:25 -05:00
github-actions[bot]
2552db0d09
[ci] release ( #2975 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-03 23:25:00 -07:00
Juan Martín Seery
dc6e89f0a3
chore: updated examples to v0.26.0 ( #2977 )
...
* New script behavior
* Astro.request
* Reverted `deno` to `node`
* Updated subpath
2022-04-03 14:02:57 -05:00
JuanM04
a377ac1efc
Merge branch 'main' into feat/vercel-adapter
2022-04-02 18:53:00 -03:00
Fred K. Schott
1335797903
update prettier width ( #2968 )
2022-04-02 14:15:41 -06:00
github-actions[bot]
7fe149ae43
[ci] release ( #2969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:49:27 -06:00
Fred K. Schott
e425f896b6
Revert "[ci] release ( #2925 )"
...
This reverts commit 48c9b142cc
.
2022-04-02 13:46:25 -06:00
github-actions[bot]
48c9b142cc
[ci] release ( #2925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:40:46 -06:00
Fred K. Schott
3483cc2285
exit prerelease mode ( #2967 )
2022-04-02 13:37:28 -06:00
FredKSchott
bae719505d
[ci] format
2022-04-02 18:30:48 +00:00
Nate Moore
17c02925c5
Migrate to new config ( #2962 )
...
* wip: config migration
* fix: formatting
* refactor: projectRoot -> root
* refactor: pageUrlFormat -> format
* refactor: buildOptions.site -> site
* refactor: public -> publicDir
* refactor: dist -> outDir
* refactor: styleOptions -> style
* fix: some dist tests -> outDir
* refactor: remove legacyBuild (with TODOs)
* refactor: more legacyBuild cleanup
* refactor: server host and port
* fix: remove experimentalStaticBuild CLI flag
* refactor: src -> srcDir
* refactor: devOptions.trailing -> trailing
* refactor: remove sitemap + related flags
* refactor: experimentalSSR -> experimental.ssr
* fix: last devOptions
* refactor: drafts -> markdown.drafts
* fix: TS error on port as const
* refactor: remove pages
* refactor: more --project-root updates
* refactor: markdownOptions -> markdown
* fix: remaining type errors
* feat: update AstroUserConfig
* refactor: update CLI flag mapper + server mapper
* fix: loadFixture projectRoot
* fix: merge CLI flags before validating / transforming
* wip: attempt to fix bad createRouteManifest config
* refactor: combine config.base and config.site
* fix: skip route manifest test for now
* fix: site and base handling
* refactor: update failing config testes
* fix: build failure
* feat: update config types with migration help
* chore: update types
* fix(deno): update deno fixture
* chore: remove config migration logic
* chore: remove logLevel
* chore: clean-up config types
* chore: update config warning
* chore: add changeset
* Sitemap Integration (#2965 )
* feat: add sitemap filter config option
* feat: add canonicalURL sitemap config option
* docs: update sitemap README
* fix: update for new config
* fix: filter not being applied
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
* fred pass
* fix: Astro.resolve typo
* fix: public => publicDir
Co-authored-by: bholmesdev <hey@bholmes.dev>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-04-02 12:29:59 -06:00
Nate Moore
d55658f061
Implement new default script
behavior, style is:global
( #2961 )
...
* feat: implement RFC0016
* chore: update to latest compiler
* chore: update compiler
* test: fix script tests
* test: update public tests
* feat: throw a warning when referencing scripts in `public/` without `is:inline`
2022-04-02 12:34:25 -05:00
JuanM04
764467a21d
Merge branch 'main' into feat/vercel-adapter
2022-03-31 15:11:56 -03:00
Juan Martín Seery
d10c3dea21
fix: --experimental-ssr
fixes ( #2937 )
...
* Replaced `--experimental-ssr` with `isBuildingToSSR`
* changest
* Improved `isBuildingToSSR` a bit
* Added `isBuildingToSSR` to more places!!1!
* Added `@deprecated` tag
* Replaced missing experimentalSsr
* Added failing test
* Removed test
* Re-added experimental ssr flag
* Fixed typo
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Fixed deno tests
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:58:03 -04:00
gtnbssn
e860408692
Fix the favicon for the starter example ( #2940 )
2022-03-31 12:13:18 -05:00
Fred K. Schott
3a4dc9e0a7
React 18 monorepo upgrade ( #2948 )
...
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c
.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* update React to React 18 across the board
Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:01:05 -04:00
JuanM04
20c3969a43
Merge branch 'main' into feat/vercel-adapter
2022-03-30 21:50:41 -03:00
Okiki Ojo
d7ece97d20
chore(.gitignore): remove pnpm error logs from git ( #2938 )
2022-03-30 10:41:53 -05:00
Matthew Phillips
13b271bc7d
Deno adapter ( #2934 )
...
* Bundle everything, commit 1
* Get everything working
* Remove dependency on readable-stream
* Adds a changeset
* Fix ts errors
* Use the node logger in tests
* Callback the logger when done writing
* Fix test helper to await the callback
* Use serialize-javascript again
* Remove dead code
* Rename hook
* Oops
2022-03-30 08:42:19 -04:00
JuanM04
cf70978c41
Updated gitignores
2022-03-29 23:17:46 -03:00
matthewp
3575a10634
[ci] format
2022-03-29 13:18:35 +00:00
Matthew Phillips
7fd49f1887
Make the SSR example infer the origin ( #2932 )
2022-03-29 09:17:49 -04:00
matthewp
9fa013b4fa
[ci] format
2022-03-29 12:19:10 +00:00
Matthew Phillips
ecbcc8c42c
Make it deployable to Netlify ( #2931 )
2022-03-29 08:18:11 -04:00
Matthew Phillips
ecc6a4833f
Implement the Astro.request RFC ( #2913 )
...
* Implement the Astro.request RFC
* Disable console warnings eslint
* Use our logger
* Adds a changeset
* Fix tests that depend on params, canonicalURL, URL
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-29 07:35:03 -04:00
Michael Marino
030fd48bdd
[fix] 2924 Update import in astro config of portfolio starter ( #2926 )
...
* fix: update import in Portfolio starter astro config file
* chore: add changeset
2022-03-28 20:54:25 -07:00
Fred K. Schott
4299ab303b
New Markdown API ( #2862 )
...
* Implement new markdown plugin with deferred markdown rendering
* feat: switch from `getContent()` fn to `<Content />` API
* update types
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* update types
* Create forty-coins-attend.md
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-28 17:16:06 -07:00
github-actions[bot]
425139f912
[ci] release ( #2923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-28 16:52:04 -07:00
github-actions[bot]
8b7220f5e4
[ci] release ( #2919 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-28 16:52:23 -04:00
github-actions[bot]
273919328a
[ci] release ( #2896 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:16:33 -07:00
Fred K. Schott
f268451268
small tailwind example config fix ( #2893 )
...
* fix tailwind config example
* Create shaggy-bulldogs-beam.md
2022-03-25 17:11:45 -07:00
github-actions[bot]
779b5dd37c
[ci] release ( #2892 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 18:03:58 -05:00
github-actions[bot]
109693bb05
[ci] release ( #2884 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:00:49 -05:00
natemoo-re
145e418edd
[ci] format
2022-03-25 21:27:41 +00:00
Nate Moore
72ef7ae64a
feat(cli): scaffold out astro add
command ( #2849 )
...
* feat(cli): scaffold out `astro add` command
* added first babel transforms
* Format output
* Added changes confirmation
* Error flow
* Add dependencies
* feat(cli): astro add cleanup pass
* feat: add support for tailwind
* chore: update lockfile
* fix: types
* chore: rever @proload/core bump
* chore: add changeset
* chore: rollback dep update
* Added spinners
* chore: remove extra deps
* Removed extra argument
* Use `execa` instead of `exec`
* Changed how lines are trimmed within diffLines
* refactor: move add to core
* refactor: remove old add entrypoint
* refactor: simplify wording
* feat: improve diff
* feat: improve diff and logging, add interactive prompt when no args passed
* Formatted files
* Added --yes
* feat: improve logging for install command
* Fixed execa
* Added help message to add
* refactor: extract consts to own file
* feat: remove implicit projectRoot behavior
* feat: improve error handling, existing integrations
* fix(tailwind): ensure existing tailwind config is not overwritten
* refactor: prefer cwd to projectRoot flag
* chore: add refactor notes
* refactor: throw createPrettyError > implicit bail
* refactor: cleanup language
* feat(cli): prompt user before generating tailwind config
* fix(cli): update config generation to use cwd
* fix: resolve root from cwd
* chore: update changelog
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-25 16:26:55 -05:00
Fred K. Schott
df8fac50b9
[ci] update lockfile ( #2882 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-25 09:45:12 -05:00
github-actions[bot]
c78d7a46c9
[ci] release (next) ( #2860 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-24 17:37:49 -05:00
Fred K. Schott
1026345715
[ci] update lockfile ( #2854 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-24 15:10:43 -05:00
FredKSchott
bababd8461
[ci] format
2022-03-24 19:32:18 +00:00
Fred K. Schott
5029382a8c
fix markdown page script injection ( #2871 )
2022-03-24 12:30:54 -07:00
Matthew Phillips
5e52814d97
Adapters v0 ( #2855 )
...
* Adapter v0
* Finalizing adapters
* Update the lockfile
* Add the default adapter after config setup is called
* Create the default adapter in config:done
* Fix lint error
* Remove unused callConfigSetup
* remove unused export
* Use a test adapter to test SSR
* Adds a changeset
* Updated based on feedback
* Updated the lockfile
* Only throw if set to a different adapter
* Clean up outdated comments
* Move the adapter to an config option
* Make adapter optional
* Update the docs/changeset to reflect config API change
* Clarify regular Node usage
2022-03-24 07:26:25 -04:00
github-actions[bot]
d082689385
[ci] release (next) ( #2851 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-21 20:27:46 -07:00
FredKSchott
076dd47d9f
[ci] format
2022-03-22 03:16:42 +00:00
Juan Martín Seery
95a3e09e81
chore: vscode files ( #2844 )
...
* Added vscode recommendations
* Updated launch command
* Removed extra extensions
* updated root extensions
2022-03-21 20:16:04 -07:00
Fred K. Schott
0c5378b8cf
[ci] update lockfile ( #2841 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-21 10:32:25 -05:00
Fred K. Schott
078b6cde6c
[ci] release (next) ( #2838 )
...
This reverts commit 935e6fa0c8
.
2022-03-20 21:02:08 -07:00
Fred K. Schott
935e6fa0c8
Revert "[ci] release (next) ( #2838 )"
...
This reverts commit 5df8d68094
.
2022-03-20 21:01:42 -07:00
github-actions[bot]
5df8d68094
[ci] release (next) ( #2838 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-19 10:34:59 -07:00
Nate Moore
f6d199fa8b
chore: cleanup example dependencies ( #2837 )
2022-03-18 19:03:21 -07:00
github-actions[bot]
b5a8418f82
[ci] release (next) ( #2812 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-18 18:20:21 -05:00
Fred K. Schott
6386c14d00
Astro Integration System ( #2820 )
...
* update examples
* add initial integrations
* update tests
* update astro
* update ci
* get final tests working
* update injectelement todo
* update ben code review
* respond to final code review feedback
2022-03-18 15:35:45 -07:00
bholmesdev
0f376a7c52
[ci] format
2022-03-18 21:30:38 +00:00
Ben Holmes
0a3d3e51a6
Feat: change to shiki default md renderer ( #2824 )
...
* feat: change Shiki to default
* refactor: update blog styles for shiki
* feat: update examples/docs styles for Shiki
* refactor: remove Prism-ish examples/docs styles
* refactor: simplify rules with `all: unset`
* refactor: remove Prism styles
* refactor: examples/with-md remove Prism-specific line-highlight
* chore: add changeset
* chore: update changeset versions
* refactor: update syntax highlight test for scoped styles
* fix: apply scoped style class to pre and span lines
* feat: test that scoped styles cascade to shiki code
* refactor: pass scopedClassName explicitly
2022-03-18 17:29:51 -04:00
Matthew Phillips
7b9d042dde
Allow SSR dynamic routes to not implement getStaticPaths ( #2815 )
...
* Allow SSR dynamic routes to not implement getStaticPaths
* Adds a changeset
* Update based on code-review comments
2022-03-17 08:31:01 -04:00
matthewp
279774c48e
[ci] format
2022-03-16 16:17:34 +00:00
Matthew Phillips
4c25a1c2ea
Implements redirects, headers for SSR ( #2798 )
...
* Implements redirects, headers for SSR
* Move away from an explicit Request
* Properly handle endpoint routes in the build
* chore(lint): ESLint fix
* Update based on review comments
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-16 12:16:21 -04:00
Fred K. Schott
498ef59b0e
[ci] update lockfile ( #2810 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-16 09:53:46 -05:00
github-actions[bot]
2b89613539
[ci] release ( #2808 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 19:40:27 -05:00
github-actions[bot]
b36d16eb8f
[ci] release ( #2802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 17:06:40 -05:00
Nate Moore
2b76ee8d75
Export defineConfig helper ( #2803 )
...
* feat: add astro/config entrypoint
* chore: update examples to use `defineConfig` util
* chore: prettier fix
* chore: add changeset
2022-03-15 15:27:17 -05:00
github-actions[bot]
973d398074
[ci] release ( #2786 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 11:40:51 -04:00
Fred K. Schott
80066c01c2
cleanup the repo, remove outdated files and folders ( #2771 )
2022-03-14 11:41:57 -07:00
Fred K. Schott
2314eba9a4
[ci] update lockfile ( #2773 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-14 10:23:35 -07:00
github-actions[bot]
30e78a0bd8
[ci] release ( #2770 )
...
* [ci] update lockfile (#2763 )
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: exit prerelease mode
* [ci] release
* chore: update lockfile
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-11 16:47:57 -06:00
Fred K. Schott
1634172ff9
[ci] update lockfile ( #2763 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-11 16:38:28 -06:00
github-actions[bot]
e032e89a64
[ci] release (next) ( #2754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-10 17:31:45 -06:00
Ian Bull
55f007f30a
Support Prism in the blog template example ( #2622 )
...
The Prism syntax highlighter failed to render properly when Astro was
initialized with the blog template. This was because the Prism CSS
conflicted with the default blog template.
This change-set removes the Viewport Width from the `pre` transform as
this property conflicted with the prism CSS. This change-set also
includes Prism in the Blog Post layout and adds a small javascript
example to the sample post.
2022-03-10 11:49:52 -06:00
mastercoms
52d812b31a
fix component usage in portfolio-svelte 404 page ( #2549 )
2022-03-10 09:36:11 -06:00
github-actions[bot]
6ead80db47
[ci] release (next) ( #2734 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 19:01:26 -06:00
Fred K. Schott
2906110c04
Update tests for legacy build ( #2746 )
...
* move fast-build example into a test fixture for legacy build
* update tests for legacy build
2022-03-09 16:38:46 -06:00
Tony Sullivan
4b53a53c1b
Update examples for 0.24.0 ( #2740 )
...
* removing Astro.resolve, adding sass dev dependencies
* updating tailwind example to use ESM style imports
* moving from `<style global>@import` to ESM imports
* updating lockfile to pick up examples sass deps
* chore(lint): ESLint fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 13:52:31 -08:00
Nate Moore
72c2c86e9d
merge next
into main
( #2705 )
...
* 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-09 15:44:26 -06:00
Fred K. Schott
240d88aefe
fix format ( #2736 )
2022-03-08 15:20:04 -08:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm ( #2455 )
...
* 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-08 15:46:11 -06:00
Nate Moore
f18ee36dc0
Add @astrojs/webapi
package ( #2729 )
...
* 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
2022-03-07 15:36:22 -06:00
Selwyn
10a9c3412b
Add used renderers to each example package.json devDependencies
( #2727 )
...
As the first step to not bundling renderers in the core `astro` package
the examples show usage with renderers as dependencies.
2022-03-07 10:43:02 -06:00
github-actions[bot]
a6ee42fa17
[ci] release ( #2724 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 15:29:27 -06:00
github-actions[bot]
88ccb2d696
[ci] release ( #2720 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 11:28:59 -06:00
github-actions[bot]
92447974f2
[ci] release ( #2714 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03 11:52:40 -06:00
github-actions[bot]
4f924b8cea
[ci] release ( #2692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02 16:23:55 -06:00
github-actions[bot]
9cc6f26946
[ci] release ( #2683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28 16:15:09 -06:00
Robin Millette
329146f3c1
Fix typo ( #2674 )
2022-02-28 16:04:03 -06:00
github-actions[bot]
c0a6e3e80a
[ci] release ( #2666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25 17:29:08 -06:00
Fred K. Schott
fca6407318
fix astro scoping of "@import" inside of style tags ( #2656 )
...
* 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-25 17:04:04 -06:00
Fred K. Schott
5370bba0b0
get new example working during build
2022-02-25 08:29:23 -08:00
FredKSchott
00dda8e056
[ci] yarn format
2022-02-25 16:19:44 +00:00
Joel Kuzmarski
c46db4ecbd
Add Non-HTML Pages example ( #2637 )
...
* Add Non-HTML Pages example
* Rename dir non-html-example to non-html-pages
* Update name to non-html-pages in package.json
2022-02-25 08:18:48 -08:00
github-actions[bot]
e31246f7ac
[ci] release ( #2641 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-24 14:48:44 -06:00
Fred K. Schott
a0fc5cb5ff
ensure utf8 encoding when serving html ( #2654 )
...
* ensure utf8 encoding on servers
* Create spicy-tomatoes-act.md
* Update spicy-tomatoes-act.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-24 14:39:41 -06:00
Joel Kuzmarski
f64840ece1
Add sass dev dep to blog-multiple-authors example ( #2643 )
...
Otherwise, new stackblitz projects throw an error.
2022-02-23 17:11:38 -06:00
Matthew Phillips
2ad88a9235
Run all smoke tests with the static build ( #2609 )
...
* Run all smoke tests with the static build
* Use a direct relative path
* Always use the static build
* Use a path that works in both static and regualr build
* Always download the zip
* astro.build only needs to run once
2022-02-23 08:41:10 -05:00
github-actions[bot]
1d9f8a57f5
[ci] release ( #2619 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
natemoo-re
aaa61ff254
[ci] yarn format
2022-02-18 22:07:52 +00:00
Nate Moore
39cbe50085
Expose private .env
variables to import.meta.env
during SSR ( #2612 )
...
* chore(examples): add env-vars example
* feat: improve import.meta.env support
* chore: add changeset
* test: update astro-envs test
* refactor: cleanup code based on feedback
* fix: import.meta guard
* fix: update memory test threshold to 10%
2022-02-18 16:06:56 -06:00
github-actions[bot]
85eb3141cd
[ci] release (next) ( #2607 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17 11:11:06 -05:00
Shinobu Hayashi
5d5a8e6549
Chore: configure buildOptions.site on examples/blog ( #2590 )
2022-02-17 07:40:51 -05:00
Tony Sullivan
934d9750cf
importing and inlining global.css with set:html ( #2601 )
2022-02-17 07:39:55 -05:00
github-actions[bot]
8dcfc1bb15
[ci] release (next) ( #2600 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 17:45:49 -06:00
github-actions[bot]
097d7777c4
[ci] release (next) ( #2595 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 11:32:57 -05:00
github-actions[bot]
ebe7f4d0ae
[ci] release (next) ( #2580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 08:49:12 -06:00
matthewp
f84848226d
[ci] yarn format
2022-02-14 17:50:16 +00:00
Matthew Phillips
ba5e2b5e6c
Flagged SSR support ( #2548 )
...
* 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-14 12:48:52 -05:00
Rafid Muhymin Wafi
61f438fdcb
Added LitCounter.js
2022-02-14 22:08:04 +06:00
github-actions[bot]
9e6f437429
[ci] release (next) ( #2573 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 17:12:00 -05:00
github-actions[bot]
b1afce896a
[ci] release (next) ( #2565 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 10:41:47 -05:00
github-actions[bot]
3e24341f17
[ci] release (next) ( #2555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-09 13:18:10 -06:00
Nate Moore
1abb9ed080
Upgrade Vite to latest ( #2424 )
...
* chore: unvendor vite
* chore: upgrade vue and svelte
* feat(renderer-solid): upgrade for vite@2.7.x
* chore: update yarn.lock
* fix(solid): upgrade solid renderer for vite@2.7.x
* test: improve css test
* chore: upgrade to vite@2.8.0-beta.3
* fix: replace hacky serialization with 'serialize-javascript'
* fix: externalize serialize-javascript
* fix: explicitly add execa@6.x.x to devDependencies
* test(css): skip css?url test
* chore: update vite-plugin-svelte
* fix: ssr option
* chore: update changeset
* chore: remove changeset
* chore: add changeset
* chore: add back missing changeset
* chore: update vite
* chore: update to latest vite
* test: update proload?
* chore: update dependencies
* fix: remove preact from nanostores example
* fix: update static-build-pkg to use `.mjs` extension
* fix: exclude './server.js' from custom-elements test
* chore: remove unused file
2022-02-08 17:38:00 -06:00
github-actions[bot]
cc436b4ce8
[ci] release (next) ( #2554 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-08 16:58:42 -05:00