matthewp
b95cd19512
[ci] yarn format
2022-02-07 13:24:45 +00:00
Fred K. Schott
b066628693
improve debug logs ( #2537 )
...
* improve debug logs
* Update logger.ts
2022-02-07 08:23:01 -05: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
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
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
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
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
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
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
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
matthewp
de9ab4f306
[ci] yarn format
2022-01-31 21:30:29 +00: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
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
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
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
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
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
matthewp
ebaa3f0934
[ci] yarn format
2022-01-27 16:41:21 +00:00
github-actions[bot]
10db1ca75e
[ci] release ( #2454 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-27 11:40:08 -05:00
Fred K. Schott
b088d81070
add a new test:match command script ( #2470 )
2022-01-26 22:05:03 -08:00
Fred K. Schott
c70c4ea211
clean up config loading and flag merging ( #2469 )
2022-01-25 15:07:51 -08:00
Jonathan Neal
a764264d29
Remove node-fetch
( #2462 )
...
* remove node-fetch
* use webapi polyfill like astro
2022-01-25 11:37:06 -05:00
Evan Boehs
894b66e32f
Update package.json ( #2463 )
2022-01-25 09:54:06 -05:00
Jonathan Neal
4c4c801378
Remove vite-plugin-fetch
( #2460 )
...
This plugin is not used in the project
2022-01-25 09:49:17 -05:00
Jonathan Neal
9a0c76a4a5
run lit test separately to prevent error ( #2446 )
...
* Run strict tests
* run tests as before without `lit-element.test.js`
* update tests to run lit-element separately
* restore parallel run
2022-01-25 09:21:14 -05:00
Matthew Phillips
462e315956
Fix HMR in static build + @import HMR ( #2440 )
...
* Fix HMR in static build + @import HMR
* Changeset
* Add a comment on what cleanUrl is doing
* Running prettier
* Improve comments on how the static build compilation
works differently.
2022-01-24 12:58:10 -05:00