0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

2120 commits

Author SHA1 Message Date
github-actions[bot]
dd1a14a2eb
[ci] release (next) (#2492)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-01 08:52:57 -05:00
FredKSchott
bc8c114dcc [ci] collect stats 2022-02-01 12:02:14 +00:00
Fred K. Schott
c370aa4578 update congratsbot format again 2022-01-31 20:29:53 -08:00
Fred K. Schott
ed4d9828a7 update congratsbot again 2022-01-31 20:28:20 -08:00
Nate Moore
7af5abb55c
Remove SVG animation on GitHub/NPM (#2512)
* perf: remove SVG animation

* update readme

* Revert "update readme"

This reverts commit 71abb6629d.
2022-01-31 17:36:25 -06:00
natemoo-re
f3b35023fd [ci] yarn format 2022-01-31 22:15:39 +00:00
Juan Martín Seery
6fe1b0279f
Add Shiki as an alternative to Prism (#2497)
* [ci] yarn format

* Added shiki to markdown-remark

* Upgraded astro shiki

* Added minimal example

* Changed defaults to match <Code />

* Replace `shiki` with `astro` classes

* Added documentation

* Updated Astro code to use new `codeToHtml`

* Added changesets

* Added basic test

* Updated tests a bit

Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31 16:14:07 -06:00
Nate Moore
618a16f59d
Deprecate unescaped HTML inside of expressions (#2489)
* feat: implement automatic escaping

* feat: deprecate automatic escaping

* fix: cast unescapeHTML as string

* fix: slot fallback behavior

* fix: unescaped content

* Update escape.ts

* Update escape.ts

* feat: update internal components to use `set:html`

* chore: update compiler

* chore: update changeset
2022-01-31 16:13:22 -06:00
Matthew Phillips
b9da87a108
Enter prerelease mode (#2510) 2022-01-31 17:03:42 -05:00
Matthew Phillips
3d2c184962
Fix define:vars in the static build flag (#2511)
* Fix define:vars in the static build flag

* Adds a changeset

* linting
2022-01-31 16:56:14 -05:00
Jonathan Neal
187d5128af
Fix issue rendering content within HTMLElement (#2506) 2022-01-31 16:50:55 -05:00
metonym
4ddb44caea
[docs] fix typo in portfolio-svelte example (#2496) 2022-01-31 16:46:05 -05:00
matthewp
de9ab4f306 [ci] yarn format 2022-01-31 21:30:29 +00:00
Angie
d8b50c9e68
Missing '&' in example of scoped styles (#2485)
Style is written in SCSS, so there is missing '&' in nesting data-theme
2022-01-31 16:28:58 -05:00
Fred K. Schott
1e746e1071
[ci] update lockfile (#2495)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-31 16:28:41 -05:00
Jonathan Neal
f028ce43d1
Minimize the minimal example (#2508) 2022-01-31 16:28:29 -05:00
Fred K. Schott
f3dafd33e7
Fix a regression in vite.build() base option (#2502)
* Fixes subpath bugs

* Remove trailing slash appending

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-01-31 16:27:59 -05:00
Jonathan Neal
4e43ae5d76
Fix Astro Components example (#2507) 2022-01-31 16:27:09 -05:00
matthewp
11841d17b7 [ci] yarn format 2022-01-31 21:12:35 +00:00
Astroalex
95b9740431
Add Astro.resolve deprecation warning case for script tags (#2493)
* Adding script.ts util for checking scripts files path

* Adding deprecation message `Astro.resolve()` case for scripts files with suggestions
2022-01-31 16:11:22 -05:00
Fred K. Schott
de9fadbaed
refactor the route cache and other build internals (#2503)
* refactor dev to use vite server

* refactor the route cache and other build internals

* use debug package for debug logs (#2504)

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2022-01-31 15:05:42 -05:00
Fred K. Schott
d7149f9b2f
refactor dev to use vite server (#2494) 2022-01-31 14:44:40 -05:00
Lee Robinson
9c48c2b58e
Update deployment documentation for Vercel. (#2500)
* Update deployment documentation for Vercel.

* Update spanish docs too.

* Apply suggestions from code review
2022-01-31 13:15:59 -06:00
FredKSchott
57c53695ad [ci] collect stats 2022-01-31 12:01:51 +00:00
FredKSchott
72765ea62a [ci] collect stats 2022-01-30 12:01:55 +00:00
FredKSchott
48ca42975f [ci] yarn format 2022-01-29 16:56:23 +00:00
Fred K. Schott
6789277fd6 update turbo config 2022-01-29 08:55:13 -08:00
FredKSchott
c9da630e2e [ci] collect stats 2022-01-29 12:01:59 +00:00
Fred K. Schott
dc412f633f remove old docs template 2022-01-28 21:15:07 -08:00
Fred K. Schott
2ed6b554d5 point issues to the new docs repo 2022-01-28 21:14:44 -08:00
jonathantneal
ff8e18d2ff [ci] yarn format 2022-01-29 01:31:04 +00:00
Fred K. Schott
c9bb1147cb
[MINOR] standardize trailing subpath, fix fetchContent url issue (#2471)
* standardize trailing subpath, and fix fetchcontent issue

* debug windows ci

* improve ci test

* fix windows test issue?

* fix only usage

* end debugging
2022-01-28 20:29:53 -05:00
Matthew Phillips
6bd165f84c
Handle project folders containing a space in the static build (#2486)
* Handle project folders containing a space

* Adds a changeset

* Bump the test package version

* Use server relative paths as entries

* Fix windows

* A hoisted fix

* Correctly handle facadeIds on windows
2022-01-28 20:29:28 -05:00
jonathantneal
b3e0b80ab6 [ci] yarn format 2022-01-29 01:07:23 +00:00
github-actions[bot]
1cac6c974a
[ci] release (#2482)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-28 20:06:07 -05:00
Jonathan Neal
c7a6ed9a8d
Changesets (#2491)
* changeset for #2487

* changeset for #2473
2022-01-28 19:57:22 -05:00
Rafid Muhymin Wafi
dac0692631
Changed vite.build target to esnext (#2487) 2022-01-28 19:56:47 -05:00
jonathantneal
8844bdb920 [ci] yarn format 2022-01-28 23:21:43 +00:00
Fred K. Schott
52f8fbe37c
[ci] update lockfile (#2458)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-28 18:20:32 -05:00
Jonathan Neal
9f27941b4f
Render Custom Element Tag (#2473)
* Support rendering web components

* nit: remove addition of script
2022-01-28 18:19:55 -05:00
matthewp
0a112e1f56 [ci] yarn format 2022-01-28 22:11:55 +00:00
Matthew Phillips
69d5b70900
Fix use of preprocessors with the static build (#2490)
* Fix use of preprocessors with the static build

* Adds a changeset
2022-01-28 17:10:52 -05:00
Fred K. Schott
aebe7f57d9
ci: so double quotes fixes the multiline issue? 2022-01-28 10:56:54 -08:00
Fred K. Schott
26711a587c
try to format new discord bot message 2022-01-28 10:52:55 -08:00
Fred K. Schott
4e938e9747
Update discord bot msg 2022-01-28 10:49:38 -08:00
FredKSchott
4c1873e4d3 [ci] collect stats 2022-01-28 12:02:08 +00:00
natemoo-re
d97d61ec45 [ci] yarn format 2022-01-28 02:38:13 +00:00
Nate Moore
005751a920
Add escapeHTML to astro/internal (#2479)
* feat: add escapeHTML to astro/internal

* Update packages/astro/src/runtime/server/escape.ts

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

* Update escape.ts

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-01-27 20:36:47 -06:00
Marty Nelson
46085e6d8c
update pages config doc description (#2478) 2022-01-27 17:45:01 -05:00
Marty Nelson
2a24147d68
Aligns docs on pages config with reality (#2477) 2022-01-27 17:00:08 -05:00