Skip to content

Commit d2b4caf

Browse files
authored
Merge pull request #1074 from ansidev/release/3.0.0
Release v3.0.0
2 parents 1117195 + 65a44eb commit d2b4caf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6547
-5400
lines changed

.astro/types.d.ts

-159
This file was deleted.

.changes/v3.0.0.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
## [v3.0.0](https://github.com/ansidev/leetcode-blog/compare/v2.2.7...v3.0.0) (2025-05-01)
2+
3+
### Bug Fixes
4+
5+
- **config**: migrate husky configurations
6+
- **config**: migrate to eslint flat config
7+
- **config**: ts check errors
8+
9+
### BREAKING CHANGES
10+
11+
- **tailwindcss:** upgrade TailwindCSS to v4
12+
- **astro:** upgrade Astro to v5
13+
- **astro-plugin:** upgrade astro-purgecss to v5
14+
- **deps:** upgrade pnpm to v10
15+
- **cli**: upgrade commander to v12 and refactor the utility command `pnpm lc:new`
16+
- Removed TailwindCSS plugin `tailwindcss-themer`.
17+
- Removed Astro plugin `@astrojs/tailwind`.
18+
- Removed package `sass`.
19+
20+
### Dependencies
21+
22+
| Package | Version |
23+
| ---------------------------------- | ------------------------------ |
24+
| `@astrojs/check` | `^0.9.0` |
25+
| `@astrojs/partytown` | `^1.2.3` `->` `^2.0.2` |
26+
| `@astrojs/rss` | `^2.4.4` `->` `^4.0.0` |
27+
| `@astrojs/sitemap` | `^2.0.1` `->` `^3.0.3` |
28+
| `@astrojs/tailwind` | removed |
29+
| `@commitlint/cli` | `^17.6.7` `->` `^19.0.0` |
30+
| `@commitlint/config-conventional` | `^17.6.7` `->` `^19.0.0` |
31+
| `@eslint/js` | added `^9.25.1` |
32+
| `@iconify-json/bi` | `^1.1.18` `->` `^1.1.20` |
33+
| `@otterlord/astro-compress` | replaced with `astro-compress` |
34+
| `@resvg/resvg-js` | `^2.4.1` `->` `^2.6.0` |
35+
| `@tailwindcss/postcss` | added `^4.1.4` |
36+
| `@tailwindcss/typography` | `^0.5.9` `->` `^0.5.10` |
37+
| `@tailwindcss/vite` | added `^4.1.4` |
38+
| `@types/lodash.get` | `^4.4.7` `->` `^4.4.8` |
39+
| `@types/lodash.kebabcase` | `^4.1.7` `->` `^4.1.8` |
40+
| `@types/mustache` | `^4.2.2` `->` `^4.2.4` |
41+
| `@types/node` | `^20.4.8` `->` `^22.0.8` |
42+
| `@typescript-eslint/eslint-plugin` | removed |
43+
| `@typescript-eslint/parser` | `^6.3.0` `->` `^8.0.0` |
44+
| `astro-compress` | added `^2.2.2` |
45+
| `astro-purgecss` | `^2.3.0` `->` `^5.0.0` |
46+
| `astro` | `2.10.3` `->` `5.7.10` |
47+
| `commander` | `^11.0.0` `->` `^13.0.0` |
48+
| `dayjs` | `^1.11.9` `->` `^1.11.10` |
49+
| `eslint-plugin-astro` | `^0.28.0` `->` `^1.0.3` |
50+
| `eslint-plugin-simple-import-sort` | `^10.0.0` `->` `^12.0.0` |
51+
| `eslint` | `^8.46.0` `->` `^9.0.0` |
52+
| `husky` | `^8.0.3` `->` `^9.0.11` |
53+
| `lodash.get` | `^4.4.2` `->` `^4.4.2` |
54+
| `lodash.kebabcase` | `^4.1.1` `->` `^4.1.1` |
55+
| `mustache` | `^4.2.0` `->` `^4.2.0` |
56+
| `pnpm` | `8.6.12` `->` `10.10.0` |
57+
| `postcss` | added `^8.5.3` |
58+
| `prettier-plugin-astro` | added `^0.14.0` |
59+
| `sass` | removed |
60+
| `satori` | `^0.10.2` `->` `^0.12.0` |
61+
| `tailwindcss-themer` | removed |
62+
| `tailwindcss` | `^3.3.3` `->` `^4.1.4` |
63+
| `tsx` | `^3.12.7` `->` `^4.2.0` |
64+
| `typescript-eslint` | added `^8.0.0` |
65+
| `typescript` | `^5.1.6` `->` `^5.3.3` |
66+
67+
Full Changelog: [v2.2.7...v3.0.0](https://github.com/ansidev/leetcode-blog/compare/v2.2.7...v3.0.0)

.env.local.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ASTRO_BASE_URL=http://localhost:4321

.eslintrc.cjs

-53
This file was deleted.

.github/workflows/create_release_pr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
ref: ${{ github.ref_name }}
2626
token: ${{ secrets.GH_TOKEN }}

.github/workflows/deploy_to_netlify.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
uses: ghacts/static-site@main
107107
with:
108108
node-version: 18
109+
package-manager: pnpm
110+
package-manager-version: 9
109111
skip-test: true
110112
lint-script: "lint:js"
111113

.github/workflows/merge_release_into_develop.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
ref: ${{ github.head_ref }}
2626
token: ${{ secrets.GH_TOKEN }}

.github/workflows/publish_release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
ref: ${{ github.head_ref }}
2828
token: ${{ secrets.GH_TOKEN }}

.github/workflows/rebase.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
)
1818
steps:
1919
- name: Checkout the latest code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
token: ${{ secrets.GH_TOKEN }}
2323
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ pnpm-debug.log*
2525

2626
# VSCode Workspace
2727
astro-basic-template.code-workspace
28-
28+
.history/
2929
# Astro directories
3030
.astro

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpm exec commitlint --edit ${1}

.husky/prepare-commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
if [ -t 0 ];
52
then
63
# running via terminal

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
"typescriptHero.imports.insertSemicolons": false,
99
"typescript.preferences.quoteStyle": "single",
1010
"javascript.preferences.quoteStyle": "single",
11+
"cSpell.words": [
12+
"leetcode"
13+
],
1114
}

0 commit comments

Comments
 (0)