Commit graph

3489 commits

Author SHA1 Message Date
bholmesdev
39136c6ffc feat: remove legacy.devDepsScanner. Vite 3 strat is now Vite 2.x strat! 2022-07-15 17:24:05 -04:00
bholmesdev
58a22585e7 fix: add type check for plugin.name 2022-07-15 17:24:05 -04:00
bholmesdev
d825a35e18 Revert "wip: what if we just... didn't have a memory test"
This reverts commit 173729dbdc685e52881fc3333487b8f744add55f.
2022-07-15 17:24:05 -04:00
bholmesdev
169a9e524f deps: bump to latest vite beta 2022-07-15 17:24:05 -04:00
bholmesdev
94fc44e235 wip: what if we just... didn't have a memory test 2022-07-15 17:24:05 -04:00
bholmesdev
e3c4baa4f5 fix: only add to ssr.noExternal if present in project 2022-07-15 17:24:05 -04:00
bholmesdev
08820f17ff refactor: add fontsource to noExternal 2022-07-15 17:24:05 -04:00
bholmesdev
2c23e8cc0d refactor: write smoke package.json programmatically 2022-07-15 17:24:05 -04:00
bholmesdev
e72040ab46 fix: remove accidental "force true" on create-vite 2022-07-15 17:24:05 -04:00
bholmesdev
2f002614e0 wip: add package.json to smoke 2022-07-15 17:24:05 -04:00
bholmesdev
7607ec4863 deps: bump to latest vite 3 beta 2022-07-15 17:24:05 -04:00
bholmesdev
f69bc8cae9 refactor: add package.json to all test runners for noExternal error 2022-07-15 17:24:05 -04:00
bholmesdev
f08630bcc4 refactor: use ALWAYS_NOEXTERNAL array 2022-07-15 17:24:05 -04:00
bholmesdev
89fa0a5618 fix: add astro/components to noExternal for Code component 2022-07-15 17:24:05 -04:00
bholmesdev
694b3f024b sad refactor: use legacy devDepsScanner for component HMR 2022-07-15 17:24:05 -04:00
bholmesdev
3d52d8c2ac wip: revert to unresolved. Issue reported! 2022-07-15 17:24:05 -04:00
bholmesdev
fa373a71fe fix: resolve npm package paths for rollup input 2022-07-15 17:24:05 -04:00
bholmesdev
bde086aa97 fix: use new middlewareMode config settings 2022-07-15 17:24:05 -04:00
bholmesdev
90df3c9a85 hail mary: destroy all ssr external / noexternal! 2022-07-15 17:24:05 -04:00
bholmesdev
257bdbf421 nit: remove comment on deprecated vite feature 2022-07-15 17:24:05 -04:00
bholmesdev
3364daf9c6 nit: remove comment on deprecated Vite feature 2022-07-15 17:24:05 -04:00
bholmesdev
22ddb74df4 refactor: stub out new updateModuleInfo params 2022-07-15 17:24:05 -04:00
bholmesdev
aab15e546a refactor: move to use optimizeDeps.force option 2022-07-15 17:24:05 -04:00
bholmesdev
f803d80fa8 deps: bump to Vite beta.1 2022-07-15 17:24:05 -04:00
Matthew Phillips
17c911171f Vite 3 test 2022-07-15 17:24:05 -04:00
bholmesdev
6809a0d289 [ci] format 2022-07-15 15:27:19 +00: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
Chris Swithinbank
31f9c0bf02
Roll back supported Node engines (#3937)
Fixes #3936
2022-07-15 08:15:04 -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
Matthew Phillips
d6dfef0caa
Add @babel/core dependencies to react/preact integrations (#3928)
* Add @babel/core dependencies

* Adds a changeset
2022-07-14 14:39:58 -04:00
Erika
7c5c4106d7
Use a .ts file to export built-in components so they're typed (#3927)
* Use a .ts file to export built-in components so they automatically have types

* Add changeset
2022-07-14 14:33:10 -04:00
Princesseuh
636881e185 [ci] format 2022-07-14 18:21:39 +00:00
Herman Z
77a708a3ee
fix: export AstroComponentFactory for tsc validattion to pass (#3917) 2022-07-14 14:20:10 -04:00
Nate Moore
7094d6a45f
Handle false properly in class:list (#3922)
* fix(#3920): properly handle false in `class:list`

* fix: allow 0 in `class:list`

* fix: output empty `class:list` as `''` rather than `class=''`

Co-authored-by: Nate Moore <nate@astro.build>
2022-07-14 12:01:17 -05: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
Nate Moore
6a7a17f735
chore: update compiler (#3918)
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-14 11:09:44 -05:00
FredKSchott
cea2063a94 [ci] format 2022-07-14 16:06:50 +00:00
Fred K. Schott
01a55467d5
add back missing ssr-utils.ts file (#3919) 2022-07-14 09:05:20 -07: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
Randall
b487679853
Rollback Nodejs Dependancy (#3914)
* Rollback Nodejs Dependancy

Closes #3908

Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>

* Create ninety-apes-talk.md
2022-07-13 17:06:37 -04:00
Sarah Rainsberger
aa2ac87881
Astro Types for docs: capitalize Markdown (#3912)
- Capitalizes a few errant "markdowns" that find their way into Docs.
- Also updates "if or not" to "whether or not" since I'm here.
- Also, admittedly a point of contention, but until we decide otherwise for the entire site: a straggling "front matter" -> "frontmatter"
2022-07-13 16:02:06 -05:00
matthewp
fa8ec57f16 [ci] format 2022-07-13 20:39:29 +00:00
Matthew Phillips
cd2dbfedb1
Provide a better error message for when RSS is missing link field (#3913)
* Provide a better error message for when RSS is missing `link` field

* Adds a changeset
2022-07-13 16:37:17 -04:00
tony-sull
75f202a124 [ci] format 2022-07-13 19:33:49 +00:00
Juan Martín Seery
ca45c0c270
fix: don't throw when Shiki doesn't recognize a language (#3911)
* Don't throw when Shiki doesn't recognise a language

* Changeset
2022-07-13 19:31:59 +00:00
Ben Holmes
d8af02a944
fix: add github-slugger to ALWAYS_EXTERNAL (#3902)
* fix: add github-slugger to ALWAYS_EXTERNAL

* chore: changeset
2022-07-12 14:28:14 -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