Commit graph

313 commits

Author SHA1 Message Date
FredKSchott
4e6d38aa76 [ci] yarn format 2021-07-20 04:40:06 +00:00
Maksim Markelov
0e761b9bdf
Add ability to specify hostname in devOptions (#733)
* Add ability to specify hostname in devOptions

* Update packages/astro/test/config-hostname.test.js

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 21:38:55 -07:00
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
FredKSchott
15cd6c1708 [ci] yarn format 2021-07-20 01:56:54 +00:00
Bryan Pan
d45431d246
fix: add force to rm script in create-astro (#729)
* fix: add force to rm script in create-astro

* add changeset

* edit overwrite prompt

* rm cannot remove '.' or '..' -- creating a helper function to empty the directory

* delete symlinks

* comments
2021-07-19 18:55:35 -07:00
FredKSchott
3153306953 [ci] yarn format 2021-07-20 01:42:33 +00:00
Vl
40c882a253
Fix url to find page with "index" at the end file name (#722) (#736)
Co-authored-by: Neverage <vl>
2021-07-19 18:41:09 -07:00
Fred K. Schott
f4e0818b3f update changelog for patch release 2021-07-19 18:34:31 -07:00
FredKSchott
ed83424fdb [ci] yarn format 2021-07-20 01:24:59 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Carter Snook
b8a90b1e7d
feat(parser): remove trim utils (#728) 2021-07-17 15:39:11 -04:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages (#710)
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`

* convert links to docs site links

* Fix broken links that didn't work w/ the regex.

* Add changeset

* Delete five-weeks-destroy.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
Fred K. Schott
d7a8a8c4e2
Update README.md 2021-07-15 15:38:33 -04:00
Fred K. Schott
af358ecee1
Update README.md 2021-07-15 15:37:59 -04:00
Fred K. Schott
e146969571
Update README.md 2021-07-15 15:36:34 -04:00
Fred K. Schott
f412aedd4c
Update README.md 2021-07-15 15:36:19 -04:00
Fred K. Schott
efa8b3b421
Update README.md 2021-07-15 15:35:56 -04:00
Fred K. Schott
20a213699b
Update README.md 2021-07-15 15:35:21 -04:00
Mihkel Eidast
fb8bf7ec43
select random ports if defaults are taken (#695)
* select random port if default ports are taken

* add changeset
2021-07-14 16:00:21 -05:00
FredKSchott
5814f2faca [ci] yarn format 2021-07-14 18:16:46 +00:00
Fred K. Schott
007c22065d
move Astro.fetchContent to runtime API (#652) 2021-07-14 14:15:36 -04:00
github-actions[bot]
8e87d5da4c
Version Packages (next) (#678)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 11:21:58 -04:00
Matthew Phillips
e3182c7670
Add missing dependency (#676)
* Add missing dependency

* Adds a changset
2021-07-13 11:10:31 -04:00
github-actions[bot]
a22a601e9f
Version Packages (next) (#663)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 08:31:28 -04:00
matthewp
59f6792b00 [ci] yarn format 2021-07-13 12:28:50 +00:00
Matthew Phillips
48851c9d25
Adds support for a Lit renderer (#665)
* Adds support for a Lit renderer

This adds `@astrojs/renderer-lit`. An experimental Lit renderer.

* Removed cached submodule, mistake

* Prevent globals clobbering

* Add docs on globals
2021-07-13 08:27:40 -04:00
Nate Moore
7583a8b42a
Update build script to avoid bundling (#304)
* fix: simplify astro-scripts build

* fix: remove source-map-support, add missing `.js` extensions

* refactor: use `module` for `@astrojs/markdown-support`

* fix: missing `.js` extension

* fix: missed @astrojs/parser

* fix: remove old file

* fix: merge conflict

* fix: CJS weirdness
2021-07-12 17:01:33 -05:00
Ryan Christian
9859f53903
Docs: Correcting minor typo in ReadMe (#666)
* docs: Correcting minor typo in ReadMe

* docs: Adding changeset
2021-07-12 15:30:00 -05:00
matthewp
ea7ef71a6e [ci] yarn format 2021-07-12 20:28:13 +00:00
Matthew Phillips
0340b0f0b1
Adds support for client:media hydrator (#664)
* Adds support for client:media hydrator

* Include a changeset

* Pass in undefined when not hydrating
2021-07-12 16:27:08 -04:00
natemoo-re
7aa8d4719f [ci] yarn format 2021-07-12 18:08:45 +00:00
Nate Moore
8f4562afbe
Add support for named slots (#661)
* feat: support named slots, slot fallback content

* docs: document slots

* chore: add changeset

* fix: build errors

* chore: prefer `patch` version
2021-07-12 13:07:39 -05:00
Matthew Phillips
f62973b5ca
Upgrade to snowpack@3.8.0 (#621)
* Upgrade to snowpack@3.8.0

* Try with 3.8.1-pre.0

* Newest yarn lock

* Add postcss plugin and autoprefixer to the root

* Update the yarn lock

* Prevent typescript recursion

* Use snowpack@3.8.1
2021-07-12 13:59:11 -04:00
github-actions[bot]
23dcc649fe
Version Packages (#646)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12 11:19:29 -04:00
Johan Stenehall
1b73f95806
Only display notice if needed (#659) 2021-07-12 09:25:14 -04:00
natemoo-re
d46746c34f [ci] yarn format 2021-07-09 22:04:00 +00:00
Nate Moore
5077ff2e11
feat: improve handling of undefined components (#650) 2021-07-09 17:02:39 -05:00
Nate Moore
fb78b76cc6
Improve error handling in unsupported node versions (#649)
* feat: improve error handling for unsupported node versions

* chore: add changeset
2021-07-09 14:29:51 -05:00
natemoo-re
924369b502 [ci] yarn format 2021-07-09 14:47:26 +00:00
Nate Moore
d93f768c8c
Fix injection behavior for pages which contain no elements (#638)
* chore: add changeset

* fix(#605): inject HMR/styles even when page includes no elements

* chore: update test description
2021-07-09 09:46:19 -05:00
matthewp
a9f2f6f6f9 [ci] yarn format 2021-07-09 13:41:50 +00:00
Matthew Phillips
44a69f7dcb
Protect again no metadata being passed (#644)
If using Astro <= 0.17.0 there is no `metadata` being passed. Even though no one should be using that version with this, adding some extra protection just in case.
2021-07-09 09:40:42 -04:00
github-actions[bot]
e70d9508d9
Version Packages (#639)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
matthewp
00cdbc4a46 [ci] yarn format 2021-07-09 13:01:57 +00:00
Matthew Phillips
1e01251454
Use correct React rendering API or hydration (#636)
* Use correct React rendering API or hydration

* Add changeset
2021-07-09 09:00:32 -04:00
natemoo-re
0af70d68c2 [ci] yarn format 2021-07-08 21:48:26 +00:00
Nate Moore
42a6acee28
Add support for components defined in frontmatter (#637)
* fix: add support for components defined in frontmatter

* chore: add changeset

* test: update test to match example use case
2021-07-08 16:47:23 -05:00
github-actions[bot]
958ca11e7e
Version Packages (#634)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:40:42 -04:00
Matthew Phillips
5570bf7958
Use new client:visible syntax in create-astro (#633) 2021-07-08 14:31:05 -04:00
github-actions[bot]
b2428b3999
Version Packages (#632)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:14:55 -04:00