Commit graph

2197 commits

Author SHA1 Message Date
Erika
41d6b39694
Move SASS to devDependencies (#2572) 2022-02-15 20:49:14 -05:00
matthewp
911b15588e [ci] yarn format 2022-02-15 21:56:06 +00:00
Matthew Phillips
ec6f148fc8
Resolve relative imports from hoisted scripts (static build) (#2581)
* Resolve relative imports from hoisted scripts

* Adds a changeset

* Windows fix

* Set a longer timeout for the Lit test

* blah

* Handle windows properly

* Only if the from is astro

* Windows debugging

* This might fix it

* another try

* use only

* More debugging

* Does this work

* Final cleanup

* Update the lockfile
2022-02-15 16:55:07 -05:00
matthewp
987356fb31 [ci] yarn format 2022-02-15 20:51:14 +00:00
Matthew Phillips
0f6588b229
Skip the docs-main smoke test (#2591) 2022-02-15 15:50:25 -05:00
tony-sull
160c41403b [ci] yarn format 2022-02-15 17:48:39 +00:00
Tony Sullivan
d6d35bcafc
Support non-HTML pages (#2586)
* adds support for build non-html pages

* add non-html pages to the static build test suite

* adds getStaticPaths() test for non-html pages

* adds dev server tests for non-html pages

* ading a changeset

* updating changeset description

* testing for building non-html files with async data

* fixing typo in changeset docs
2022-02-15 17:47:42 +00:00
jonathantneal
b8dbba6c4b [ci] yarn format 2022-02-15 15:52:31 +00:00
Jonathan Neal
fb9a77b77f
Update smoke tests to include external docs and www (#2557)
* Update smoke tests

* nit: remove old comment

* chore: have smoketests use workspace

* nit: re-order application and execution
2022-02-15 10:51:12 -05:00
FredKSchott
acc92431d6 [ci] collect stats 2022-02-15 12:02:11 +00:00
Fred K. Schott
650fb1aa51 fix security issue: untrusted ci output 2022-02-14 10:43:12 -08: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
FredKSchott
d107b04c42 [ci] collect stats 2022-02-14 12:02:13 +00:00
FredKSchott
acb6746d93 [ci] collect stats 2022-02-13 12:01:50 +00:00
FredKSchott
4519b8fb47 [ci] collect stats 2022-02-12 12:01:55 +00:00
matthewp
5272be3fa5 [ci] yarn format 2022-02-11 22:12:48 +00: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
Matthew Phillips
34317bc05c
Use noExternal config on 'astro' (#2570)
* Use noExternal config on 'astro'

* Changeset
2022-02-11 16:22:16 -05:00
matthewp
ba54e014e1 [ci] yarn format 2022-02-11 15:42:45 +00: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
tony-sull
3c682f2668 [ci] yarn format 2022-02-11 14:44:47 +00:00
Matthew Phillips
82544e4134
Fixes pageUrlFormat: 'file' in static build (#2569)
* Fixes pageUrlFormat: 'file' in static build

* Adds a changeset
2022-02-11 14:43:42 +00:00
FredKSchott
176b77329e [ci] collect stats 2022-02-11 12:01:52 +00:00
Fred K. Schott
bd779a8f15
Update the wording on one of our issue templates 2022-02-10 11:14:39 -08:00
Juan Martín Seery
d71c46207a
Fixed curly braces inside Shiki codeblocks (#2545) (#2564) 2022-02-10 12:23:05 -05:00
FredKSchott
d5c7141d67 [ci] collect stats 2022-02-10 12:02:00 +00:00
Fred K. Schott
d9691cf705 Revert "Added prettier-plugin-astro (#2513)"
This reverts commit 73bf4d8bb8.
2022-02-09 13:56:00 -08:00
Fred K. Schott
78319dfff0 format 2022-02-09 12:34:06 -08: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
a907a73b8c
chore: upgrade vite and renderer dependencies (#2563) 2022-02-09 13:01:17 -06:00
FredKSchott
0f52190241 [ci] collect stats 2022-02-09 12:01:55 +00:00
Fred K. Schott
dab544806a clean up funding.md doc 2022-02-09 00:11:09 -08:00
Evan Boehs
afe8237b80
Update FUNDING.md (#2556) 2022-02-08 23:24:02 -08: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
Matthew Phillips
e81bc3cf14
Prevent the server plugin from running during the build (#2552)
* Prevent the server plugin from running during the build

* Adds a changeset

* More all before blocks to inside of a describe()
2022-02-08 16:55:22 -05:00
FredKSchott
83babf6f83 [ci] collect stats 2022-02-08 12:01:52 +00:00
Juan Martín Seery
f0952a8e5b
fix: curly braces inside Shiki (#2545) 2022-02-08 00:48:00 -05:00
Don Denton
c88a9951e4
Fix type FetchContentResultBase['url'] (#2425)
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-02-07 15:19:34 -05:00
Tony Sullivan
41b659b12e
adding test coverage for boolean and enum HTML attributes (#2544) 2022-02-07 15:14:26 -05:00
Juan Martín Seery
73bf4d8bb8
Added prettier-plugin-astro (#2513)
* [ci] yarn format

* Added prettier-plugin-astro

* Reverted docs changes (withastro/docs#120)

Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-02-07 15:11:44 -05:00
Nate Moore
d9ac85ea94
Improve error handling (#2539)
* feat: improve error handling

* fix: run renderer
2022-02-07 15:11:32 -05:00
matthewp
3f4d54282f [ci] yarn format 2022-02-07 20:09:13 +00:00
github-actions[bot]
4078dc529b
[ci] release (next) (#2533)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-07 15:08:22 -05:00
jonathantneal
ef8345b458 [ci] yarn format 2022-02-07 18:40:55 +00:00
Jonathan Neal
a911d14eab
Remove docs from monorepo (#2517)
* Remove docs from monorepo

* Update PULL_REQUEST_TEMPLATE.md

* Update relative doc references with links or todo
2022-02-07 13:39:53 -05:00
Juan Martín Seery
2bc91543ce
feat: Added the ability to add custom themes/languages to Shiki (#2518)
* Replaced `shikiTheme` with `shikiConfig`

* Code.astro now accepts custom themes/langs

* Updated docs

* Updated tests

* Fixed language loading

* Added customization examples

* Updated documentation

* Added more tests

* Changelogs

* Changed some spaces to tabs

* Fixed typo in changesets

* Moved tests fixtures

* Rolled back changes to with-markdown-shiki

* Removed lang example in docs

* Optimized Code component

* Try to fix windows errors

* Try to see if this new tests work
2022-02-07 08:31:02 -08:00
Marcus Otterström
0caf9169bc
Delete robots.txt (#2540)
* Delete robots.txt

* Update tour component

* Remove stray line from folder structure
2022-02-07 10:16:56 -05:00