0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

126 commits

Author SHA1 Message Date
Houston (Bot)
a5b17359c1
[ci] release (#12617)
* [ci] release

* Update packages/astro/CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-12-05 13:26:19 +00:00
Kun Yan
5b9b618183
fix(@astrojs/rss): use standard rss content type, add utf-8 charset (#12644)
* fix(@astrojs/rss): use standard rss content type, add utf-8 charset

* Update .changeset/loud-cobras-rhyme.md

---------

Co-authored-by: Matt Kane <m@mk.gg>
2024-12-05 13:04:18 +00:00
Bjorn Lu
cec4af8fe5
Add publint checks (#12445) 2024-11-15 23:43:34 +08:00
Houston (Bot)
5a4edebfd2
[ci] release (#12234)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 19:10:48 +02:00
Ben Holmes
67bb22e5a1 [ci] format 2024-10-15 15:14:01 +00:00
Ben Holmes
925cff31bc
Improved rss readme (#12157)
* docs: improved rss readme

* chore: changeset

* fix: remove empty title

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

* edit: slash wording

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: installation and use

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: see the guide

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: remove confusing guide link

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: clarify what enclosure is used for

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: remove description vs. content blurb

* new: expand xmlns guide to explain usage

---------

Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-15 11:13:09 -04:00
Houston (Bot)
582f12e1f6
[ci] release (#12148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 12:21:19 +01:00
Emanuele Stoppa
2a1536d091
chore: move lint rules to Biome (#12145)
* chore: move lint rules to Astro

* better suppression system

* revert

* format code

* address more linting files

* address more linting files
2024-10-08 10:12:40 +01:00
Armand Philippot
50dd88bc66
fix(@astrojs/rss): prevent an error when pubDate is missing (#12137)
* fix(rss): prevent error when `pubDate` is missing

* docs(rss): switch some RSS items to optional
2024-10-07 11:42:19 -04:00
Armand Philippot
a46839a5c8
docs: update Vite links to use their new domain (#12117)
* docs: update Vite links to use their new domain

See https://github.com/withastro/docs/issues/9548

* update other links with the new Vite domain

* Create strange-cats-notice.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-10-03 23:29:52 +02:00
renovate[bot]
b9394fa70c
chore(deps): update all non-major dependencies (#11948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 13:27:54 +08:00
Darius
72c7ae9901
update formatter config (#11640)
* update formatter config

* format

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-08-08 12:12:50 +02:00
Josh Goldberg ✨
4c1b769bcf
chore: bump typescript-eslint to v8 (#11649) 2024-08-08 17:54:04 +08:00
renovate[bot]
750d5328c9
fix(deps): update all non-major dependencies (#11565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:17:26 +08:00
Houston (Bot)
ce310f8292
[ci] release (#11297)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 12:49:52 -04:00
Emanuele Stoppa
8ce66f2ef7
fix(rss): correct types for RSSFeedItem (#11299) 2024-06-20 22:14:49 +01:00
renovate[bot]
464b0a108e
fix(deps): update all non-major dependencies (#11151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30 17:28:57 +08:00
Houston (Bot)
5a48d53385
[ci] release (#11025)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-15 10:42:55 -04:00
Ming-jun Lu
b743dddf3b [ci] format 2024-05-15 14:34:43 +00:00
Ming-jun Lu
841df1f1b1
fix(rss): fix an issue where trailing slash is not removed even if trailingSlash is set to false (#11050)
* refactor(createCanonicalURL): return string instead of URL object

* fix(rss): fix an issue where trailing slash is not removed even if `trailingSlash` is set to `false`

* test(rss): update test case related to trailing slash

* chore: add changeset
2024-05-15 15:33:50 +01:00
renovate[bot]
8d5f3e8656
chore(deps): update all non-major dependencies (#10833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-22 22:52:30 +08:00
Emanuele Stoppa
40e8450671
chore: use Biome to format JS files (#10788)
* chore: configuration

* chore: update main commands

* chore: revert formatting package.json

* chore: rebase
2024-04-17 09:37:22 +01:00
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