FredKSchott
a719a74733
[ci] yarn format
2022-03-02 20:11:12 +00:00
Fred K. Schott
f957e46724
Add detailed type annotations to AstroUserConfig ( #2698 )
...
* add detailed type definitions
* final cleanup
2022-03-02 12:09:08 -08:00
Fred K. Schott
d9263c8427
fix vite version ( #2694 )
2022-03-01 09:31:15 -08:00
Nate Moore
c7bbb11289
fix: disable HMR during build ( #2684 )
2022-03-01 09:13:39 -05:00
natemoo-re
a217c6608d
[ci] yarn format
2022-02-28 22:16:16 +00:00
github-actions[bot]
9cc6f26946
[ci] release ( #2683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28 16:15:09 -06:00
Mateus Esdras
8fb1f53e96
fix(runtime): do not render empty Fragment ( #2667 )
...
This commit fixes the bug when returning an empty Fragment which makes
it undefined. This is because unescapeHTML (raw) will create a String object
with an 'undefined' string.
To fix this we need to check if the `children` is null or undefined
before marking a string as raw.
2022-02-28 16:03:28 -06:00
Nate Moore
046af36475
fix(hmr): HMR regression related to .astro updates ( #2681 )
2022-02-28 16:00:09 -06:00
Jonathan Neal
bfaff255f7
Fix HTMLElement expression warning ( #2675 )
2022-02-28 15:03:22 -05:00
natemoo-re
ede96b1b10
[ci] yarn format
2022-02-25 23:29:59 +00:00
github-actions[bot]
c0a6e3e80a
[ci] release ( #2666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25 17:29:08 -06:00
natemoo-re
a5a1563094
[ci] yarn format
2022-02-25 23:04:58 +00:00
Fred K. Schott
fca6407318
fix astro scoping of "@import" inside of style tags ( #2656 )
...
* fix astro scoping of "@import" inside of style tags
* Create lovely-lies-dress.md
* Update compile.ts
* fix smoke test
* Update package.json
2022-02-25 17:04:04 -06:00
Nate Moore
0494f74e4e
feat: improve third-party Astro package compatability ( #2665 )
2022-02-25 17:03:05 -06:00
natemoo-re
51b04f39f4
[ci] yarn format
2022-02-24 20:49:48 +00:00
github-actions[bot]
e31246f7ac
[ci] release ( #2641 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-24 14:48:44 -06:00
Fred K. Schott
a0fc5cb5ff
ensure utf8 encoding when serving html ( #2654 )
...
* ensure utf8 encoding on servers
* Create spicy-tomatoes-act.md
* Update spicy-tomatoes-act.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-24 14:39:41 -06:00
Javier Cortés
2e5c3b5126
fix(core): Issue #2625 . error with process.env.LANG larger than 5 ( #2645 )
...
* Update logger.ts
Solving #2625
* chore: add changeset
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-02-24 14:38:31 -06:00
Nate Moore
17032cd064
chore: upgrade compiler ( #2653 )
2022-02-24 14:15:29 -06:00
natemoo-re
30106e584f
[ci] yarn format
2022-02-24 19:12:33 +00:00
Nate Moore
5091d788f6
Add fine-grained HMR support ( #2649 )
...
* feat: add fine-grained HMR support
* chore: lint
* chore: lint
* fix: handle hmr with custom event handler
* refactor: cleanup hmr script
2022-02-24 13:11:18 -06:00
Juan Martín Seery
a2128f8e47
Fixed incorrect types and imports ( #2630 )
...
* Fixed incorrect types and imports
* Changeset
2022-02-23 17:14:39 -06:00
Shinobu Hayashi
fe31eca414
Fix(component): align starting position in Markdown slot ( #2631 )
...
* Fix: align markdown starting position in each line
* Chore: add testcase for aligning starting position in each line
* Chore: update the test case on astro-markdown custom language
* Update: remove trimmed only startWith trimmed space
2022-02-23 17:08:17 -06:00
Juan Martín Seery
9b7e2ab251
Fixed shiki import to work with "type": "module" ( #2628 )
...
* Fixed shiki import to work with "type": "module"
* Changeset
* Separated types import
* Add "* as" to type import
2022-02-22 08:46:04 -08:00
tony-sull
664a221a24
[ci] yarn format
2022-02-22 09:54:23 +00:00
Joel Kuzmarski
f165b78ad2
Make Non-HTML Pages work for static build ( #2638 )
...
* Make Non-HTML Pages work for static build
* Check hasOwnProperty instead of length
* Fix typo "> 0"
2022-02-22 09:53:21 +00:00
natemoo-re
38fc7d64a7
[ci] yarn format
2022-02-18 22:34:54 +00:00
github-actions[bot]
1d9f8a57f5
[ci] release ( #2619 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
natemoo-re
aaa61ff254
[ci] yarn format
2022-02-18 22:07:52 +00:00
Nate Moore
39cbe50085
Expose private .env
variables to import.meta.env
during SSR ( #2612 )
...
* chore(examples): add env-vars example
* feat: improve import.meta.env support
* chore: add changeset
* test: update astro-envs test
* refactor: cleanup code based on feedback
* fix: import.meta guard
* fix: update memory test threshold to 10%
2022-02-18 16:06:56 -06:00
Matthew Phillips
23783648b6
Adds memory leak test in CI ( #2616 )
...
* Add a memory leak test
* Add memory leak smoke test to CI
* Update the latest compiler
* Update yarn.lock
* Remove entries optimization
* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
matthewp
137b08efc2
[ci] yarn format
2022-02-17 16:12:12 +00:00
github-actions[bot]
85eb3141cd
[ci] release (next) ( #2607 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17 11:11:06 -05:00
Matthew Phillips
96609d4c9e
Static build - fixes path to HMR script ( #2606 )
...
* Static build - fixes path to HMR script
* Changeset
2022-02-17 10:35:01 -05:00
Matthew Phillips
87762410f3
Fix loading of styles in static build ( #2605 )
...
* Fix loading of styles in static build
* Adds a changeset
2022-02-17 10:32:24 -05:00
natemoo-re
b2f34862bf
[ci] yarn format
2022-02-16 23:46:41 +00:00
github-actions[bot]
8dcfc1bb15
[ci] release (next) ( #2600 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 17:45:49 -06:00
Nate Moore
929fae684f
chore: upgrade @astrojs/compiler
( #2599 )
2022-02-16 17:33:43 -06:00
matthewp
b238b8c248
[ci] yarn format
2022-02-16 16:33:50 +00:00
github-actions[bot]
097d7777c4
[ci] release (next) ( #2595 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 11:32:57 -05:00
Tony Sullivan
40c0e2b3f6
Bug fix: Order of params for routing has to match ( #2593 )
...
* make sure route params are sorted before comparing stringified keys
* including changeset for a patch release
2022-02-16 15:49:03 +00:00
matthewp
b4dcc0f8d3
[ci] yarn format
2022-02-16 15:13:06 +00:00
Matthew Phillips
102161761d
Pass children to client components even if they do not render them ( #2588 )
...
* Pass children to client components even if they do not render them
* Handle when no children are provided
* Adds a changeset
* Use roots directly i guess
* Use an attribute to signal that the template is needed
2022-02-16 10:11:54 -05:00
natemoo-re
19d548f400
[ci] yarn format
2022-02-16 14:50:05 +00:00
github-actions[bot]
ebe7f4d0ae
[ci] release (next) ( #2580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 08:49:12 -06:00
Nate Moore
085468e949
chore: upgrade compiler ( #2594 )
2022-02-16 08:45:15 -06:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Matthew Phillips
9e1bc1752f
Upgrade compiler to latest ( #2432 )
...
* Upgrade compiler to latest
* Updates the changeset
2022-01-20 15:37:09 -05:00
jonathantneal
d1b8fa9b04
[ci] yarn format
2022-01-20 15:05:35 +00:00
github-actions[bot]
e3731e5fa8
[ci] release ( #2430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 10:04:29 -05:00
Matthew Phillips
3ad236ba01
Pin to the compiler 0.8.1 ( #2428 )
...
* Pin to the compiler 0.8.1
* Changeset
2022-01-20 09:49:33 -05:00
jonathantneal
97ebc82fa9
[ci] yarn format
2022-01-20 03:13:50 +00:00
github-actions[bot]
5d79bd7e93
[ci] release ( #2420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-19 22:12:32 -05:00
jonathantneal
18bb39f0d4
[ci] yarn format
2022-01-19 20:36:00 +00:00
Nate Moore
85ad1aab67
feat: add support for styled RSS feeds ( #2371 )
2022-01-19 15:34:52 -05:00
Jang Rush
e0def89697
Update .degit cache path in error message ( #2400 )
...
astro's repo changed from snowpack/astro to withastro/astro.
Thank @raph5
2022-01-19 15:19:04 -05:00
Pranav Karawale
24aa3245ae
Implement support for draft pages ( #2392 )
...
* feat: support draft pages
* implemented support for draft pages
* added integration test
* updated relevant documentation (english only)
* docs: explicitly mention "markdown draft pages"
* chore: add changeset
* chore: modify changeset
- changed type to 'patch'
- added more description
2022-01-19 15:18:51 -05:00
Nate Moore
9278ecdc4c
Update README banner
2022-01-19 12:32:17 -06:00
matthewp
b7e8b5dff3
[ci] yarn format
2022-01-19 13:26:51 +00:00
Matthew Phillips
5208c88aeb
Add Astro.resolve deprecation warning for the static build ( #2416 )
...
* Add Astro.resolve deprecation warning for the static build
* Adds a changeset
2022-01-19 08:25:42 -05:00
Nate Moore
d9998a03ac
fix(readme): update image path
2022-01-18 17:04:45 -06:00