Commit Graph

952 Commits

Author SHA1 Message Date
Nahuel Garbezza 08383093d1 docs: update "adding new post" tutorial with...
...info about canonical URLs
2023-07-23 10:55:19 +06:30
satnaing 606203d034 docs: add a blog post for adding estimated reading time
Add an article for adding estimated reading time. #74

resolve #74
2023-07-22 23:15:57 +06:30
satnaing d9743af65d docs: add a blog post for updating AstroPaper and dependencies
Add an article to show how to update project dependencies and AstroPaper template.

resolve #68
2023-07-21 21:04:02 +06:30
satnaing 26ecd173dd fix: #72 replace SITE.website with a URL in astro.config site value
Using SITE.website in astro.config.mjs causes the problem . Thus, change back to the original url string in site value of .

Closes: #72
2023-07-20 16:30:02 +06:30
dependabot[bot] 3187933dbe build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 10:57:20 +06:30
dependabot[bot] c8e9e63d7d build(deps): bump fast-xml-parser from 4.2.4 to 4.2.6
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.2.4 to 4.2.6.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.6)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 10:56:54 +06:30
dependabot[bot] 7501c63049 build(deps): bump semver from 6.3.0 to 6.3.1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 23:33:39 +06:30
satnaing 47b1b4eadc build: update lint-staged to only format certain file types
resolved #79
2023-06-21 12:38:30 +06:30
satnaing e017dcf9a5 style: format files with prettier 2023-06-21 11:48:07 +06:30
satnaing ebb383effd chore: update dependencies 2023-06-21 11:47:05 +06:30
Ajit Panigrahi d383439c4e perf: update getUniqueTags func for better efficiency
* refactor: getUniqueTags should perform conversions exactly once per tag

Previously, the `forEach` loop was spreading the tags list and updating it on every iteration. So for every post, the slugify operation was happening on previously converted data again.

Similarly, the last filter operation to remove duplicates was repeated for every post (`O(N * log N)`) instead of checking once at the end (`O(N)`).

* feat: Sort the tags in ascending order (lexicographic)

As per feedback from: https://github.com/satnaing/astro-paper/pull/78#issuecomment-1593979458
2023-06-21 10:00:54 +06:30
Sat Naing d48d77c4b5 Merge pull request #77 from satnaing/dependabot/npm_and_yarn/fast-xml-parser-4.2.4
build(deps): bump fast-xml-parser from 4.0.11 to 4.2.4
2023-06-21 09:11:56 +06:30
Sat Naing e21f4927be Merge pull request #76 from satnaing/dependabot/npm_and_yarn/vite-4.3.9
build(deps): bump vite from 4.3.5 to 4.3.9
2023-06-21 09:11:40 +06:30
dependabot[bot] ca9be69778 build(deps): bump fast-xml-parser from 4.0.11 to 4.2.4
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.0.11 to 4.2.4.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 18:50:53 +00:00
dependabot[bot] a9c73b5d14 build(deps): bump vite from 4.3.5 to 4.3.9
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.5 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 02:32:27 +00:00
satnaing 63f1e3200f chore(release): 2.3.0 2023-05-15 14:29:47 +06:30
satnaing 0d7330247f chore(deps): update dependencies 2023-05-15 14:10:44 +06:30
satnaing fd3c97e16b chore(patch-deps): update prettier, lint-staged, astro/react and astro/tailwind 2023-05-15 13:23:28 +06:30
satnaing a1c13c1b4f chore: add jsx compiler option in tsconfig 2023-05-15 11:24:47 +06:30
Chris Kerr 99b27240ec perf: memoize fuse search results with useMemo (#71)
Memoise the value of fuse based off of the search list to prevent reinstantiating it on search keypress.
2023-05-15 11:07:17 +06:30
Gabriel Kanev f6ac8104b2 fix: add missing sitemap in head (#69) 2023-05-15 10:30:57 +06:30
Sat Naing 03b52c9303 Merge pull request #67 from AriPerkkio/fix/tailwind-jsdoc
fix: tailwind jsdoc for intellisense
2023-05-15 10:11:45 +06:30
satnaing e8bd3911b3 refactor: update slugify logic inside the component itself 2023-05-15 10:05:11 +06:30
Sat Naing 7d46181e68 Merge pull request #66 from LobbyBoy-Dray/tag-bug-fix
Fix: slugify tags in post detail page
2023-05-15 10:03:06 +06:30
Sat Naing 8fd141d262 Merge pull request #63 from RobRoseKnows/main
fix(ignore): added yarn directories to ignorefiles
2023-05-15 08:55:23 +06:30
Nihaal Sangha a57f3439f8 fix: replace history entries when searching (#62) 2023-05-15 08:47:29 +06:30
AriPerkkio 99709dd3aa fix: tailwind jsdoc for intellisense 2023-05-02 13:46:46 +03:00
Jingwei Gao 49d7f77a86 Fix: slugify tags in post detail page 2023-05-01 17:36:00 +08:00
Rob Rose f3e9cd5147 fix(ignore): added yarn directories to ignorefiles
Added yarn files and directories to gitignore and eslintignore.
2023-04-24 20:20:19 -04:00
satnaing 4c1b9c89f3 refactor: update LinkButton role type
Fix Subtype missing error on 'a' element.
2023-04-18 23:24:39 +06:30
satnaing 0f764242fe fix: update menu element with svg and refactor toggle logic
Replace div element in menu button with svg. Refactor toggle-menu JS logic to be more concise.
2023-04-18 23:19:38 +06:30
satnaing e654c0308c fix: update lint-staged configuration
Configure lint-staged to format only non-image files while making a commit.

fix #52
2023-04-18 00:02:33 +06:30
Andrea Mignone 0e9f709c5d feat: add locale configuration for Datetime component (#59) 2023-04-17 23:56:58 +06:30
satnaing 08151881cc style: format file with prettier 2023-03-24 23:48:15 +06:30
satnaing 619a54927f chore(dev-deps): update linting and prettier packages 2023-03-24 23:47:00 +06:30
satnaing ccb5a7787c refactor: update imports paths 2023-03-23 23:20:33 +06:30
Parinya T dd4fd98972 fix: build error astro@2.1.4 && update astro@2.1.5 (#49)
* fix: build error astro@2.1.4 && update astro@2.1.5

* fix: remove @scripts from tsconfig.json
2023-03-23 23:08:27 +06:30
Salman Hossain Saif 9e62b637e8 fix: sort rss feed from latest to oldest (#38)
* Sorted the rss feed from latest to oldest. Which is crucial for RSS readers.

* sorted rss using util func

* refactor: remove redundant draft filter and update import positions

---------

Co-authored-by: Saif71 <>
Co-authored-by: Sat Naing <satnaingdev@gmail.com>
2023-03-17 13:14:10 +06:30
satnaing 69b39fecdf docs: update CHANGELOG 2023-03-16 15:14:09 +06:30
satnaing 279bfa4a20 chore(release): 2.2.0 2023-03-16 15:02:58 +06:30
satnaing 4fe508462e refactor: replace astro.config site value with SITE.website 2023-03-16 14:58:26 +06:30
satnaing 0c6d0ba6cd refactor: add type to SITE object for better type safety 2023-03-16 14:56:54 +06:30
satnaing 2afdf4d82e chore(deps): update dependencies 2023-03-16 14:07:42 +06:30
satnaing 4189cfaf5e chore(deps-dev): update dev dependencies 2023-03-16 12:47:27 +06:30
satnaing 329bc22e97 build(deps): update Astro to v2.1.3 and enable type checking in dev
Bump Astro from v2.0.8 to v2.1.3. Enable TypeScript type checking during development.
2023-03-16 12:16:19 +06:30
satnaing 6be7a77183 refactor: remove unnecessary pseudo styles in svg 2023-03-15 23:38:14 +06:30
Min Adwaita b9254c15f1 build(deps-dev): add jampack for performance optimization (#46)
Add new package "jampack" to devDependencies to optimize performance for production build.
2023-03-15 23:30:48 +06:30
Sat Naing 27507d1d78 feat: generate og images in png format (#43)
* feat: generate og images in png format

In production mode, generate og images from svg to png format.

fix #40

* refactor: update og image format from svg to png

Update OG image format in post detail to png. Update twitter og images to auto-generated dynamic og
images.
2023-03-01 18:46:42 +06:30
Sat Naing c40af432a0 Merge pull request #37 from satnaing/dependabot/npm_and_yarn/undici-5.19.1
build(deps): bump undici from 5.16.0 to 5.19.1
2023-02-17 10:46:23 +06:30
dependabot[bot] 9554a85289 build(deps): bump undici from 5.16.0 to 5.19.1
Bumps [undici](https://github.com/nodejs/undici) from 5.16.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.16.0...v5.19.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:27:41 +00:00