Emanuele Stoppa
062623438b
chore: use biome to sort imports - only test files ( #10180 )
...
* chore: use biome to sort imports
* do the sorting
* Update package.json
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-21 14:08:19 +00:00
ktym4a
5ff288f61b
chore: Change strictEqual
to equal
( #10140 )
2024-02-16 11:41:16 +00:00
Bjorn Lu
436841e97e
Use eslint-plugin-regexp ( #9993 )
2024-02-07 20:43:19 +08:00
Houston (Bot)
e4999083bf
[ci] release ( #9973 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 16:28:12 +00:00
Florian Lefebvre
b3b9f280c5
fix(rss): use node assert instead of chai ( #9980 )
2024-02-05 10:13:54 +01:00
voxel!()
19df112cf7
[ci] format
2024-02-04 19:59:55 +00:00
voxel!()
4260ecf1ff
chore(@astrojs/rss
): Migrate tests to node:test
( #9939 )
...
* Progressively add new tests (remove old later)
* Finalize tests
* Remove unused comments
* Assert that errors are not present and add jsdocs to util function
* Fix
* Remove mocha deps
2024-02-04 19:58:44 +00:00
Marco Campos
8b8f26fdf2
FIX: allow rss feeds to have an enclosure with length of 0 ( #9967 )
...
* fix: allow rss feeds to have an enclosure with length of 0
* chore: add changeset
* fix: typo on test
* fix: update changeset description
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-04 20:42:26 +01:00
Houston (Bot)
8281ebddaa
[ci] release ( #9802 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-26 13:30:42 +00:00
William Killerud
457e8b6422
fix(rss): apply refinement at the point of parsing ( #9797 )
2024-01-24 13:37:06 +08:00
Houston (Bot)
2b5f1d6be8
[ci] release ( #9728 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-22 15:11:07 -05:00
Tak Tran
cfc02c7440
[ci] format
2024-01-22 12:09:16 +00:00
Florian Lefebvre
7356336d18
fix(rss): rssSchema definition to allow calling standard zod object methods ( #9746 )
...
* fix(rss): rssSchema definition to allow calling standard zod object methods
* fix: condition
2024-01-22 12:07:29 +00:00
Bjorn Lu
259c30e7fc
Fix eslint warnings ( #9721 )
...
* Fix eslint warnings
* Revert endpoint changes to be safe
2024-01-18 15:54:28 +00:00
Houston (Bot)
7a275c1648
[ci] release ( #9625 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 16:32:08 +08:00
Rob Mensching
d77a0320b7
fix(rss): update test name to better match behavior ( #9646 )
2024-01-08 22:39:41 +01:00
Florian Lefebvre
24663c9695
fix(rss): make title optional if description is provided ( #9610 )
...
* fix(rss): make title optional if description is provided
* feat(rss): simplify schema
* fix(rss): update tests to match new behavior
* Update packages/astro-rss/test/pagesGlobToRssItems.test.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* Update packages/astro-rss/test/pagesGlobToRssItems.test.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* feat: make link and pubDate optional
* feat: improve item normalization
* Update shy-spoons-sort.md
* Fix test fail
* Update .changeset/shy-spoons-sort.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-06 07:47:29 +00:00
Houston (Bot)
3e4109b08f
[ci] release ( #9340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-06 15:09:30 -05:00
Charles Villard
58d643bcd8
[ci] format
2023-12-06 12:14:25 +00:00
Charles Villard
edfae50e6e
[@astrojs/rss] Quality-of-Life Improvement to items
property-related error ( #9299 )
...
* This commit addresses a quality-of-life concern when setting up a RSS feed
when using collections. Specifically, it provides more context to the error
message thrown when the object passed to the `items` property is missing any
of the three required keys or if one of those keys is mistyped.
* Add changeset
* Update .changeset with properly formatted update structure
@sarah11918 suggested a change to the verbiage that properly formatted the update detail in question. Accepting the suggestion.
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-06 12:13:15 +00:00
Houston (Bot)
5f13e7e0dc
[ci] release ( #9307 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-05 09:39:16 -04:00
Erika
4aa8091582
fix: enforce separate type imports ( #9288 )
2023-12-04 17:56:32 +01:00
Houston (Bot)
415fec54f8
[ci] release (beta) ( #9114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 12:59:31 -05:00
Bjorn Lu
153a5abb90
Remove deprecated features from Astro 3.0 ( #9168 )
2023-11-28 00:44:20 +08:00
Bjorn Lu
abf601233f
Update all dependencies ( #9138 )
...
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Sarah Rainsberger
46d3043a3f
[docs] remove outdated anchor links ( #8941 )
2023-10-28 11:44:09 -03:00
Bjorn Lu
ec7f531682
Fix examples smoke test fail ( #8923 )
2023-10-26 19:13:43 +08:00
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' ( #8519 )
2023-09-13 16:49:22 +02:00
Houston (Bot)
5598feb718
[ci] release ( #8279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-30 13:38:28 +02:00
Houston (Bot)
2b5d739bd9
[ci] release (rc) ( #8215 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:52:51 -04:00
Bjorn Lu
048846fd53
Update breaking dependencies ( #8201 )
2023-08-24 16:34:33 +08:00
Bjorn Lu
cb95aa5f8e
Update rss package to return a response ( #8198 )
2023-08-23 21:09:11 +08:00
Bjorn Lu
353dcb23e8
Update non-major dependencies ( #8199 )
2023-08-23 19:52:13 +08:00
Houston (Bot)
9f1881455a
[ci] release (rc) ( #8147 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:19:18 -04:00
Bjorn Lu
732111cdce
Deprecate drafts feature ( #8099 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-22 16:11:59 +08:00
Houston (Bot)
2ac1c1e260
[ci] release (beta) ( #7897 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-08 11:04:14 +01:00
Erika
d0679a666f
Remove support for Node 16 ( #7780 )
2023-08-08 11:01:33 +01:00
Houston (Bot)
9509a66a7b
[ci] release ( #7958 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 13:51:05 -05:00
Timon Jurschitsch
51028f85c6
Add URL to RSSOptions.site type ( #7964 )
2023-08-07 16:49:55 +08:00
Reuben Tier
f75b354715
Bump dependency versions ( #7477 )
2023-06-26 11:38:16 +08:00
Bjorn Lu
8e3cb20b5c
Format markdown files ( #7439 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-06-26 11:34:13 +08:00
Bjorn Lu
f275d058fc
Update safe dependencies ( #7430 )
2023-06-21 21:09:49 +08:00
Houston (Bot)
d880293f79
[ci] release ( #7161 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-22 09:48:21 -04:00
Akash Rajpurohit
e17ed0727e
feat: 🎨 export rss feeditem type ( #7153 )
2023-05-22 21:20:10 +08:00
Houston (Bot)
31cbf4357e
[ci] release ( #7090 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-18 12:31:59 -04:00
Bjorn Lu
826e028900
Add files field to packages ( #7104 )
2023-05-17 16:54:00 +08:00
bluwy
a1bac1d5b6
[ci] format
2023-05-15 06:12:35 +00:00
Reuben Tier
a37e67b520
RSS: Fix string validation of pubDate ( #7066 )
2023-05-15 14:10:32 +08:00
Houston (Bot)
297a1dae51
[ci] release ( #6954 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-02 15:13:10 -04:00
Ben Holmes
b5482cee23
Fix: remove odd /1/
check on RSS canonicals ( #6970 )
...
* fix: remove odd `/1/` check on RSS canonicals
* chore: changeset
2023-05-02 13:48:44 -04:00