Commit graph

498 commits

Author SHA1 Message Date
Matthew Phillips
20eaddb2a7
Fix for using React in the static build (#2369)
* Fix react in the static build

* Adds a changeset
2022-01-13 13:28:29 -05:00
github-actions[bot]
834e5299f1
[ci] release (#2366)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-13 09:37:44 -05:00
Matthew Phillips
2aa5ba5c52
Fix use of frameworks in the static build (#2367)
* Fix use of frameworks in the static build

* Adding a changeset

* fix typescript

* Empty out the directory before running the builds

* Use a util to empty the directory

* Only empty the outdir if needed

* Move prepareOutDir to its own module

* Prepare outDir is actually sync
2022-01-13 09:23:03 -05:00
Matthew Phillips
20d0cce681
Fix for shared CSS when using the static build (#2365)
* Fix for shared CSS when using the static build

* Adds a changeset
2022-01-12 12:02:36 -05:00
github-actions[bot]
983bf72aa1
[ci] release (#2340)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-12 11:30:01 -05:00
Matthew Phillips
7e0b32c569
Fix: static-build with .md pages (#2363)
* Fix: static-build with .md pages

This fixes the `--experimental-static-build` flag to work with markdown
pages.

* Adds a changeset

* Account for difference in specifier on windows
2022-01-11 16:52:46 -05:00
Nate Moore
b21dd19cb6
chore: remove www (#2361) 2022-01-11 12:59:06 -06:00
Matthew Phillips
1007497297
Fix build output in static build mode (#2358)
* Fix build output in static build mode

* Adds a changeset

* Formatting
2022-01-11 11:24:57 -05:00
toSayNothing
f482c626a6
Fix renderer-solid (fix #2336) (#2359) 2022-01-11 10:31:26 -05:00
Jonathan Neal
c0cb7eead5
Fix Astro Preview Pathing Issues (#2338)
* Fix preview issues triggered by pageUrlFormat & trailingSlash options

* format

* changeset

* nit: fix host message
2022-01-10 12:43:24 -05:00
Jonathan Neal
f008a19c9d
Fix sitemap.xml page urls (#2335)
* For pages, use the expected pathname, not the file name

* changeset
2022-01-08 08:25:37 -05:00
Jonathan Neal
69af658b00
Fix issue with plugins running twice in dev and build (#2323)
* Fix issue with plugins running twice in dev and build

* nit: only patch plugins

* nit: only patch plugins

* nit: only solve for create-vite

* nit: only solve for create-vite

* Create seven-mice-do.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-07 15:00:19 -08:00
github-actions[bot]
5ba2650be1
[ci] release (#2339)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 16:43:19 -05:00
Matthew Phillips
180dfcf2fc
Handle loading the Code package in the static build (#2337)
* 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 16:28:27 -05:00
github-actions[bot]
4c826ad5b5
[ci] release (#2333)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 09:44:14 -05:00
Matthew Phillips
71ca09125a
Fix subpath support regressions (#2330)
* Fix subpath support regressions

* Adds a changeset

* Update tests to reflect relative URL change

* Pick a different port and hopefully windows works

* Remove bad lint warning

* Better handling of relative paths

* or

* Fixes use with pageUrlFormat

* Update the pageDirectoryUrl test
2022-01-06 16:32:24 -05:00
github-actions[bot]
f80800857e
[ci] release (#2320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 16:56:34 -08:00
Nate Moore
77ef43e66c
chore: update compiler (#2324) 2022-01-05 18:32:42 -06:00
Fred K. Schott
e0de21ef57
Create fluffy-rocks-fold.md 2022-01-05 16:26:16 -08:00
Nate Moore
c0204c0a41
chore: update compiler (#2318) 2022-01-05 12:03:16 -06:00
Jonathan Neal
e6379d514d
Bump WebAPI (#2319)
* bump webapi

* changeset
2022-01-05 13:02:42 -05:00
github-actions[bot]
fa396750ef
[ci] release (#2307)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 11:20:39 -05:00
Nate Moore
e98659b7d6
Update compiler to 0.7.2 (#2308)
* chore: update compiler

* chore: add changeset

* chore: upgrade compiler again
2022-01-04 16:06:57 -06:00
Tadeu Zagallo
5fbdd56f15
Fix dynamic routes for sites with subpath (#2299) 2022-01-04 13:22:06 -05:00
github-actions[bot]
d11c7b8c5c
[ci] release (#2304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 11:28:19 -05:00
Matthew Phillips
193ca60f40
Upgrade language server (#2305)
* Upgrade language server

Fixes #2297

* Adds a changeset
2022-01-04 11:06:47 -05:00
moritzlaube
344866762c
Update svelte version in renderer-svelte (#2300)
* Update svelte version in renderer-svelte

I am having funny console logs saying that my svelte component `received an unexpected slot "default".`. This issue is described here: https://github.com/sveltejs/kit/issues/981

Supposedly, updating svelte to version 3.44.3 solves this issue. I couldn't test it, though.

* Update Svelte to 3.44.3 to get rid of console warning that component receives an unexpected slot "default".
2022-01-04 10:17:21 -05:00
github-actions[bot]
69f4ff5473
[ci] release (#2303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 09:46:45 -05:00
Matthew Phillips
9db22b97b6
Only resolve inline script specifiers in the static build (#2302)
* Revert "Revert "Implement hydrated components in the static build (#2260)""

This reverts commit 17ac18e88c.

* Only resolve specifiers in the static build

* Adding a changeset

* Fix the client-only test
2022-01-04 09:35:07 -05:00
github-actions[bot]
c5a67b4275
[ci] release (#2293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 12:03:19 -05:00
Matthew Phillips
2e55dc2686
Revert "Implement hydrated components in the static build (#2260)" (#2292)
* Revert "Implement hydrated components in the static build (#2260)"

This reverts commit ae5255dd25.

* Adds a changeset
2021-12-30 11:52:22 -05:00
github-actions[bot]
1da4682a50
[ci] release (#2291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 09:14:21 -05:00
Matthew Phillips
c77cf52e16
Don't overwrite the stack when using verbose logging (#2290)
* Don't overwrite the stack when using verbose logging

This makes it so that if the compiler panics and `--verbose` logging is
on (debug level), we don't replace the stack trace.

* Adds a changeset
2021-12-30 09:03:03 -05:00
github-actions[bot]
458e57b84f
[ci] release (#2264)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:34:11 -05:00
github-actions[bot]
b8e3efa7bb
[ci] release (#2219)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Matthew Phillips
db79d2e9ec
Fixes includes remote @imports in inline styles (#2258)
* Fixes includes remote @imports in inline styles

* chore(lint): Prettier fix

* Adds a changeset

* Fix empty style tags

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 09:24:29 -05:00
Fred K. Schott
e07c1cbd7e
[ci] update lockfile (#2240)
* [ci] update lockfile

* fix package dependency issue

* Create heavy-pianos-obey.md

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-21 10:37:09 -08:00
Nate Moore
c5a7305f04 chore: update changesets 2021-12-16 17:57:10 -06:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ (#2202)
* Support Node v14.15+

* changeset

* Update .changeset/new-hats-design.md

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

* Update .changeset/new-hats-design.md

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

* Update .changeset/new-hats-design.md

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

* ES2020

* update yarn.lock

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer (#2216)
* chore: release pinned version of Svelte renderer

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Jonathan Neal
91173fe938
Replace fetch walk-n-replace with polyfill (#2206)
* Replace fetch replacer with genuine polyfill

* chore(lint): Prettier fix

* changeset

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 14:11:14 -05:00
github-actions[bot]
c16e7f3433
chore: release (#2171)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 10:45:03 -08:00
Fred K. Schott
5af24efb34
pin preact to 10.5 to resolve preact issue (#2170)
* pin preact to 10.5 to resolve preact issue

* fix: use current yarn.lock and only update preact

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-09 10:33:53 -08:00
github-actions[bot]
9ac4259d2e
chore: release (#2149)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 04:57:08 -08:00
Drew Powers
ef3950c647
Fix missing styles (#2156)
#2101
2021-12-07 15:01:45 -07:00
Fred K. Schott
d5ebd9d178
fix create-astro export map entry (#2150) 2021-12-07 10:21:42 -08:00
Fred K. Schott
0ef682c924
Validate Astro frontmatter JS/TS on compiler error (#2115)
* validate the astro component frontmatter ahead of compilation

* add test, update existing tests

* chore(lint): Prettier fix

* Update index.ts

* remove macos skip lines, no longer needed

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-07 08:18:41 -08:00
github-actions[bot]
a7e2070abc
chore: release (#2136)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 17:10:43 -06:00
Drew Powers
da7b41f5b8
Fix build missing styles (affecting docs) (#2112)
* Revert "remove odd docs regression caused by Astro.fetchContent()"

This reverts commit df47077978.

* Fix build missing styles
2021-12-06 16:01:32 -07:00