Commit graph

1755 commits

Author SHA1 Message Date
Jonathan Neal
739d3b971d
Support custom elements (#1854)
* Support custom elements

Support non-object/non-function components

* fix: ensure component is not string before throwing

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-17 16:19:54 -05:00
matthewp
6abea78ecd [ci] yarn format 2021-11-17 20:59:04 +00:00
Matthew Phillips
0ce86dfdf3
Fix for built scoped Vue styles (#1868)
* Fixes #1844

* Adds a changeset

* Remove all special casing

* Add a clarifying comment
2021-11-17 15:57:47 -05:00
Fred K. Schott
6b598b2401
fix middleware order (#1865) 2021-11-17 12:40:30 -08:00
FredKSchott
850693957c [ci] yarn format 2021-11-17 20:35:16 +00:00
Fred K. Schott
a765698a8e Address code review comments regarding style 2021-11-17 12:33:58 -08:00
Nate Moore
4a9c99c0a2
Improve PR labels (#1861)
* chore: improve PR labels

* chore: update action label
2021-11-17 14:31:58 -06:00
natemoo-re
101643398a [ci] yarn format 2021-11-17 20:26:52 +00:00
Nate Moore
06446d14a3
fix: enable node builtins (#1771)
* fix: enable node builtins

* fix: update bare node builtin test

* test: update fixture to support node@12
2021-11-17 14:25:45 -06:00
John
ae553a145d
fix: header logo/nav/svg (#1845) 2021-11-17 14:16:50 -06:00
natemoo-re
1408e2017a [ci] yarn format 2021-11-17 20:11:24 +00:00
Nate Moore
dbc49ed62c
fix: HMR regression (#1858)
* fix: HMR regression

* fix: inject HMR script directly
2021-11-17 14:10:05 -06:00
FredKSchott
e1e12eb7fe [ci] yarn format 2021-11-17 18:32:36 +00:00
Fred K. Schott
6c66d4834b
fix npm init flag handling in create-astro (#1862)
* fix npm init flag handling

* Update index.ts

* Update real-cats-act.md
2021-11-17 10:30:12 -08:00
natemoo-re
59eecad418 [ci] yarn format 2021-11-17 18:13:09 +00:00
Matthew Phillips
154cb4d506
Fix docs Netlify build (#1859) 2021-11-17 12:12:00 -06:00
FredKSchott
c37aea0186 [ci] collect stats 2021-11-17 12:05:23 +00:00
github-actions[bot]
9f5e196019
Version Packages (next) (#1847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 17:13:29 -05:00
matthewp
887fad5a11 [ci] yarn format 2021-11-16 22:11:36 +00:00
Matthew Phillips
0f9c191010
Fix: dev server routing when not using subpath (#1846)
* Fix: dev server routing when not using subpath

* Better comment

* Adds a changeset

* Remove testing file

* Rename this.pathname to this.devRoot
2021-11-16 17:10:20 -05:00
github-actions[bot]
750c249c32
Version Packages (next) (#1796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 13:06:58 -08:00
Drew Powers
c8544a2651
Clean up, simplify types (#1816)
Also add JSDoc to external types
2021-11-16 14:00:08 -07:00
Drew Powers
3cd1458aa7
Fix Windows CSS bundling bug (#1840)
* Fix Windows CSS bundling bug

JS components’ styles accidentally left out of final build on Windows

* Review feedback
2021-11-16 13:59:41 -07:00
natemoo-re
d9265df0e9 [ci] yarn format 2021-11-16 16:05:42 +00:00
Nate Moore
824c1f2024
Implement client:only handling (#1716)
* WIP: improve `client:only` handling

* feat: implement `client:only` in renderer

* test: reenable client:only tests

* feat: improve SSR error messages

* fix: add `resolvePath` method to Metadata

* test: fix client-only test

* chore: fix custom-elements handling

* test: revert `custom-elements` test change

* fix: do not assign a default renderer even if there's only one configured

* chore: bump compiler

* chore: add changeset
2021-11-16 10:01:14 -06:00
FredKSchott
b133d8819d [ci] collect stats 2021-11-16 12:07:17 +00:00
Drew Powers
de907f44ce
Add Autoprefixer change to 0.21 migration guide (#1841) 2021-11-15 19:20:29 -05:00
jonathantneal
a3979fd1ac [ci] yarn format 2021-11-15 21:35:55 +00:00
Stefano Novelli
149c47eb7b
Docs/add italian translation (#1689)
* Docs/add italian translation

* Apply suggestions from code review

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Update getting-started.md

* Apply suggestions from code review

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2021-11-15 16:34:36 -05:00
Drew Powers
65216ef921
Fix PostCSS (and Autoprefixer) processing (#1837)
* Fix PostCSS processing

* Skip Windows tests

(for now)
2021-11-15 14:16:07 -07:00
matthewp
64cc9ed9c1 [ci] yarn format 2021-11-15 20:06:53 +00:00
Matthew Phillips
93cc4d361b
Start of fixing multiple CSS issue (#1838)
* Start of fixing multiple CSS issue

* Update tests to work with compiled output

* Fix linting
2021-11-15 15:05:36 -05:00
Nate Moore
1579dd7ff9
Automatically add PR labels (#1835)
* chore: add PR labeler

* chore: update labeler config

* chore: add action label

* refactor: use terse syntax
2021-11-15 13:56:00 -06:00
Bence Molnár
4e55be9006
Use normalized path to detect layout files (#1822)
Co-authored-by: Bence Molnár <bencemol@users.noreply.github.com>
2021-11-15 12:47:39 -05:00
Drew Powers
3b8f201c4b
Update build output (#1814) 2021-11-15 10:13:35 -07:00
matthewp
b49f9a525e [ci] yarn format 2021-11-15 15:35:07 +00:00
Matthew Phillips
fca1a99dbd
Support for using a subpath (#1801)
* Support for using a subpath

* Update the readme

* Fix the package name

* Adds a changeset

* Ensure that public/ must be loaded from the subpath

* Update preview to use the new paths

* Use exact compiler version

* Use the newest version

* Use range again

* Use newer range
2021-11-15 10:33:51 -05:00
FredKSchott
a8b428ca27 [ci] collect stats 2021-11-15 12:05:43 +00:00
Nate Moore
5c44d07830 Revert "add mirror-template example"
This reverts commit 753d51ebb4.
2021-11-14 15:26:16 -06:00
Nate Moore
753d51ebb4 add mirror-template example 2021-11-14 15:25:45 -06:00
FredKSchott
17173f9c9e [ci] collect stats 2021-11-14 12:05:21 +00:00
FredKSchott
252901c179 [ci] collect stats 2021-11-13 12:08:19 +00:00
Nate Moore
744bcf29de
Update ---01-bug-report.yml 2021-11-12 17:27:38 -06:00
Nate Moore
2712e79bbb
chore: update issue template (#1815) 2021-11-12 17:26:42 -06:00
Drew Powers
2b031acbd7
404 page (#1811)
* Redesigned 404 page

* Update 5xx template

Co-authored-by: Isaac McFadyen <6243993+mcfadyeni@users.noreply.github.com>
2021-11-12 09:29:25 -07:00
jonathantneal
48ebbb80d4 [ci] yarn format 2021-11-12 12:42:02 +00:00
Jonathan Neal
5470fda3fe
Add Migration Guide to docs (#1751)
* Add Migration Guide to docs

* edit: replace astro.config.js with astro.config.mjs

* edit: use plain object in define:vars example

* edit: improve 'components in markdown' documentation

* edit: use astro resolve in file reference documentation example

* edit: rename 'writing plugins' heading to 'custom renderers'

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* edit: fix PUBLIC_ environment variable example

* edit: fix define:vars variable in example

* edit: remove top-level alias documentation

* edit: cleanup "passing variables into scripts and styles" description

* Update migration-guide.md

* Update migration-guide.md

* update deployment config

* update configuration

* fix some errors and write a commit message about it

* move the migration guide

* update documentation

* add migration guide to sidebar

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-11-12 07:40:49 -05:00
FredKSchott
5f5df8a63a [ci] collect stats 2021-11-12 12:05:24 +00:00
FredKSchott
df881f5a17 [ci] yarn format 2021-11-12 00:01:05 +00:00
Fred K. Schott
2f46e87fe3
reverse order the stats.csv file (#1802) 2021-11-11 15:59:52 -08:00