Commit graph

2452 commits

Author SHA1 Message Date
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
matthewp
b95cd19512 [ci] yarn format 2022-02-07 13:24:45 +00:00
Fred K. Schott
5872ec3d9c
[ci] update lockfile (#2543)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-07 08:23:25 -05:00
Fred K. Schott
b066628693
improve debug logs (#2537)
* improve debug logs

* Update logger.ts
2022-02-07 08:23:01 -05:00
FredKSchott
f9a9ef394b [ci] collect stats 2022-02-07 12:02:01 +00:00
Fred K. Schott
785af44d15
[ci] update lockfile (#2527)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-06 13:46:59 -08:00
FredKSchott
c729a692bf [ci] collect stats 2022-02-06 12:03:55 +00:00
FredKSchott
015b276a42 [ci] collect stats 2022-02-05 12:03:13 +00:00
natemoo-re
539e4d55d8 [ci] yarn format 2022-02-04 23:39:12 +00:00
Nate Moore
16d532fe17
fix: HTML/SVG boolean attributes (#2538)
* fix: HTML/SVG boolean attributes

* fix: update case-sensitivity of attributes

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

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

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-02-04 17:38:14 -06:00
matthewp
939886ff47 [ci] yarn format 2022-02-04 18:51:12 +00:00
Juan Martín Seery
cfeaa9414a
fix: import local plugins into markdown (#2534)
* Replaced "UnifiedPluginImport" for a function

* Updated tests

* Updated docs

* Updated examples

* Added changeset

* Fixed tests

* Removed unused "UnifiedPluginImport"

* Duplicated add-classes.mjs
2022-02-04 13:49:50 -05:00
FredKSchott
8f9b1cbc8b [ci] collect stats 2022-02-04 12:02:14 +00:00
Matthew Phillips
b210fd008b
Append to list of HMR modules, don't override (#2532)
* Append to list of HMR modules, don't override

* Changeset
2022-02-03 16:41:48 -05:00
Fred K. Schott
ef1d81effd
add back dev server host support (#2531) 2022-02-03 13:40:40 -08:00
Fred K. Schott
069e497a74 simplify status code regex 2022-02-03 12:16:08 -08:00
Astroalex
eb29cd5d33
Adding StackUp Digital to the list of sponsors (#2521)
* adding svg files for stackup

* Change list of sponsors w/testing

* change back to withastro, done testing
2022-02-03 12:12:06 -08:00
FredKSchott
e041a7de9d [ci] collect stats 2022-02-03 12:02:05 +00:00
FredKSchott
10d97b60b8 [ci] yarn format 2022-02-03 05:40:29 +00:00
Zade Viggers
ed4969d113
Handles all http error code file names the same as 404 files. (#2525)
* Fix #2195

* Filter out error code files from sitemap
2022-02-02 21:39:18 -08:00
Mark Pinero
81238bf77d
fix(sitemap): remove debug if sitemap disabled (#2514) 2022-02-02 21:27:11 -08:00
Fred K. Schott
ade996c885
[ci] update lockfile (#2515)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-02 16:59:57 -05:00
matthewp
8b7ba73004 [ci] yarn format 2022-02-02 17:13:03 +00:00
github-actions[bot]
e49f581bc2
[ci] release (next) (#2523)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-02 12:11:57 -05:00
matthewp
eecc996d7e [ci] yarn format 2022-02-02 16:36:23 +00:00
Matthew Phillips
3e8844fa87
Fix support for scss in static build (#2522)
* Fix support for scss in static build

* Adds a changeset

* Pass the normalizedID to transformWithVite
2022-02-02 11:35:13 -05:00
FredKSchott
9e9567c257 [ci] collect stats 2022-02-02 12:02:00 +00:00
matthewp
ee7e1ce61a [ci] yarn format 2022-02-01 13:54:03 +00:00
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