Commit graph

2079 commits

Author SHA1 Message Date
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
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
FredKSchott
88b377242d [ci] collect stats 2022-01-27 12:02:08 +00:00
Fred K. Schott
b088d81070
add a new test:match command script (#2470) 2022-01-26 22:05:03 -08:00
FredKSchott
205e9e462e [ci] collect stats 2022-01-26 12:01:53 +00:00
Fred K. Schott
c70c4ea211
clean up config loading and flag merging (#2469) 2022-01-25 15:07:51 -08:00
Nate Moore
831a9adc20
fix: remove SVG animation (#2468) 2022-01-25 15:08:04 -06:00
jonathantneal
b48ab95d8e [ci] yarn format 2022-01-25 17:50:50 +00:00
Evan Boehs
cc050a7cc3
Add note about imports to migration guide (#2467)
* Update 0.21.0.md

* Improve grammar

* add bug note
2022-01-25 12:49:38 -05: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
ce542cbad3
Add link to GOVERNANCE from CONTRIBUTING (#2465)
* Add link to GOVERNANCE from CONTRIBUTING

* contributors -> maintainers
2022-01-25 09:57:19 -06:00
Evan Boehs
894b66e32f
Update package.json (#2463) 2022-01-25 09:54:06 -05:00
MostlyWhat
d081d342b6
Change from Intall to Install in line 239 (#2457)
Someone forgot to add an "s" into install, so I added one.
2022-01-25 09:53:13 -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
FredKSchott
ee28c43e5c [ci] collect stats 2022-01-25 12:02:12 +00: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
Anima
1d95ff58d9
Set channel link in rss.xml to site index (#2450)
* Set channel link in rss.xml to site index

This is the RSS 2.0 spec and fixes issue with pretty-feed-v3 "View Website" link pointing back to the feed

* tests: edited rss gen test
2022-01-24 11:19:36 -05:00
Jang Rush
9757cd869b
Use CONFIG.SITE.title for h1 in doc theme header (#2449)
Use SITE.title specified in config.ts as the h1 heading in Header.astro
of doc theme.
When SITE.title is null, use "Documentation" as the fallback value.
Previously the h1 heading in doc theme header is hardcoded
as "Documentation".
2022-01-24 10:35:19 -05:00
Jang Rush
20dc304172
Allow not specfying section header in sidebar. (#2448)
Someone may forget to specify a section header in SIDEBAR,
which would cause build error previously.
2022-01-24 10:33:56 -05:00
Jang Rush
1f45d23103
describe how to use non-en lang in doc theme (#2447) 2022-01-24 10:32:27 -05:00
matthewp
ef85fcc7ab [ci] yarn format 2022-01-24 14:40:29 +00:00
github-actions[bot]
3059cc8e39
[ci] release (#2437)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-24 09:39:26 -05:00
Fred K. Schott
2a223fae0e
[ci] update lockfile (#2439)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-24 09:04:02 -05:00
Matthew Phillips
dfe1f8b4e7
Pass user's viteConfig.ssr to the build (#2442)
* Pass user's viteConfig.ssr to the build

* Changeset
2022-01-24 08:55:26 -05:00
FredKSchott
58136c272f [ci] collect stats 2022-01-24 12:02:06 +00:00
FredKSchott
2341374771 [ci] collect stats 2022-01-23 12:02:41 +00:00
FredKSchott
d0ad5cdd38 [ci] collect stats 2022-01-22 12:01:57 +00:00
béla
ba363bdeec
fix tailwindcss example global css (#2444) 2022-01-21 18:48:16 -05:00
natemoo-re
72ac198eb0 [ci] yarn format 2022-01-21 22:40:03 +00:00
Nate Moore
ed0b46f96f
Fix pre-generated RSS URLs (#2443)
* Allow pre-generated urls to be passed in rss feeds

* Fix variable name

* Add isValidURL helper function

* Remove scary RegEx and tidy up code

* add test for using pregenerated urls

* fix: allow rss to be called multiple times

* test: normalize rss feed in test

* chore: add changeset

Co-authored-by: Zade Viggers <74938858+zadeviggers@users.noreply.github.com>
Co-authored-by: zadeviggers <zade.viggers@gmail.com>
2022-01-21 16:38:48 -06:00
FredKSchott
31b16fcac1 [ci] collect stats 2022-01-21 12:02:07 +00:00
Chris Swithinbank
ebe414f05b
Resolve sitemap URLs in relation to full site path (#2423)
* Resolve sitemap URLs in relation to full site path

Fixes #2422

* Test generated sitemap contains base directory in URLs

* Add changeset

* test: Add `clean` helper to loaded fixture API

Adds a method that when called will remove the loaded fixture’s dist directory using `rimraf`.

* test: Clean up between sitemap/RSS tests

* See if letting rimraf retry more helps…

* Add logging to double check nothing’s running in parallel

* Remove logging & double check clean up actually succeeds

* Try using basic Node.js to clean up dist

* Remove logging/checks

* Remove stray unnecessary `async` keyword
2022-01-20 19:27:47 -05:00
jonathantneal
a32eee3900 [ci] yarn format 2022-01-21 00:24:33 +00:00
github-actions[bot]
4c802e25a0
[ci] release (#2433)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 19:23:30 -05:00
jonathantneal
f5adc023b2 [ci] yarn format 2022-01-21 00:14:18 +00:00
Matthew Phillips
f2b8372c0c
Supports hoisted scripts in the static build (#2414)
* Supports hoisted scripts in the static build

* Adds a changeset

* Update packages/astro/src/core/build/internal.ts

Co-authored-by: Evan Boehs <evan@boehs.org>

* Update based on feedback

* Fix lint

* Fix getting hoist script for Windows

* Try with the pre compiler

* use compiler 0.8.2

* update compiler version

* update yarn.lock

Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:13:05 -05:00
Mikkel Tønder
fda857eb22
Add a verbose flag to create-astro (#2429)
* Add verbose logging to create-astro

* Tell user to use the verbose flag when encountering the MISSING_REF error

* Create changeset

* Add information in README

* Format

* Use switch statement instead of if and if else blocks

* Update packages/create-astro/src/logger.ts

Make if statement easier to read

Co-authored-by: Evan Boehs <evan@boehs.org>

Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:00:22 -05:00
Evan Boehs
b98b92c894
Update CAPFILES (GOVERNANCE & CONTRIBUTING) (#2435)
* Update GOVERNANCE.md

* Update CONTRIBUTING.md

* revert mistake

* role coloers
2022-01-20 19:00:03 -05:00
Matthew Phillips
9e1bc1752f
Upgrade compiler to latest (#2432)
* Upgrade compiler to latest

* Updates the changeset
2022-01-20 15:37:09 -05:00
Gustavo Paes
ac0e20d9f2
doc: fix "Astro Components" link reference (#2431)
* doc: fix Astro components link

* doc: does not include a trailing slash

Co-authored-by: Evan Boehs <evan@boehs.org>

Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 14:19:28 -06:00