Releases: Mitsunee/astro-template
Releases · Mitsunee/astro-template
v2.0.0
- upgraded dependencies
- upgraded to latest version of sharp
- This version no longer requires a postinstall script, so the
scripts/install-sharp.sh
script has been removed
- This version no longer requires a postinstall script, so the
- upgraded to Astro v5
- upgraded to ESLint v9 and switched to a brandnew FlatConfig
- cleaned up ignore files
- This also fixes the
public
directory being missing in the template
- This also fixes the
To upgrade your existing repository made from this template you can:
- Run
pnpm upgrade @types/node && pnpm upgrade --latest '!@types/node' && pnpm dedupe
- Copy the new FlatConfig and add
"eslint.useFlatConfig": true,
to your vscode settings - Remove the
scripts/install-sharp.sh
script (no longer needed)
Full Changelog: v1.2.1...v2.0.0
Full Dependency Changelog:
dependencies:
- @astrojs/preact 3.5.4
+ @astrojs/preact 4.0.4
- astro 4.16.18
+ astro 5.2.4
- postcss 8.4.49
+ postcss 8.5.1
- sharp 0.32.6
+ sharp 0.33.5
devDependencies:
- @eslint/js 8.57.1
+ @eslint/js 9.19.0
- eslint 8.57.0
+ eslint 9.19.0
- eslint-config-foxkit 4.2.0
+ eslint-config-foxkit 5.1.0
- eslint-config-foxkit-react 1.0.4
+ eslint-config-foxkit-react 2.0.1
- eslint-config-prettier 9.1.0
+ eslint-config-prettier 10.0.1
- typescript 5.7.2
+ typescript 5.7.3
v1.2.1
- updated dependencies
- note: Astro is currently pinned at v4 as a subdepency of @astrojs/preact does not yet support vite v6.
To upgrade your existing repository made from this template you can:
- Run the following commands:
pnpm upgrade astro @astrojs/preact @types/node
pnpm upgrade --latest '!eslint' '!sharp' '!@types/node' '!astro' '!@astrojs/preact'
pnpm add -D @eslint/[email protected]
pnpm dedupe
Full Changelog: v1.2.0...v1.2.1
Full Dependency Changelog:
dependencies:
- @astrojs/preact 3.5.3
+ @astrojs/preact 3.5.4
- astro 4.16.9
+ astro 4.16.18
- postcss 8.4.47
+ postcss 8.4.49
- postcss-preset-env 10.0.9
+ postcss-preset-env 10.1.3
- preact 10.24.3
+ preact 10.25.4
devDependencies:
- @types/node 22.9.0
+ @types/node 22.10.5
- esbuild 0.24.0
+ esbuild 0.24.2
- eslint-config-foxkit 4.1.2
+ eslint-config-foxkit 4.2.0
- eslint-config-foxkit-react 1.0.3
+ eslint-config-foxkit-react 1.0.4
- eslint-plugin-astro 1.3.0
+ eslint-plugin-astro 1.3.1
- prettier 3.3.3
+ prettier 3.4.2
- typescript 5.6.3
+ typescript 5.7.2
v1.2.0
- upgraded Node version to 22
- upgraded dependencies
To upgrade your existing repository made from this template you can:
- Change your Github Workflows to use Node 22 : cc99d07
- Run
pnpm remove @types/node
if you had installed version 20 - Run
pnpm add -D @types/node@22 && pnpm upgrade --latest '!sharp' '!eslint' '!@types/node' && pnpm dedupe
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Changelog
- upgraded dependencies
- removed devDependencies already covered by eslint-config-foxkit* packages
To upgrade your existing repository made from this template you can:
Run the following commands:
UNIX
pnpm remove @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
sed -i'' 's=preact/compat@^17.1.2=preact/compat@^18.3.1=' package.json
pnpm install
pnpm upgrade @types/node
pnpm upgrade --latest '!typescript' '!eslint' '!sharp' '!@types/node'
pnpm dedupe
Powershell
pnpm remove @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
(Get-Content package.json).Replace('preact/compat@^17.1.2','preact/compat@^18.3.1') | Set-Content package.json
pnpm install
pnpm upgrade @types/node
pnpm upgrade --latest '!typescript' '!eslint' '!sharp' '!@types/node'
pnpm dedupe
Note: You can also manually change the version of @preact/compat
in your package.json with your code editor.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
- updated dependencies
- Migrated to eslint-config-foxkit v4 and eslint-config-foxkit-react
To upgrade your existing repository made from this template you can:
- Run
pnpm upgrade --latest '!eslint' '!sharp' '!@types/node' && pnpm upgrade @types/node
to upgrade dependencies - Run
pnpm add -D eslint-config-foxkit-react
to add the new packages - Adjust your eslint config based on the new template
Full Changelog: v1.0.1...v1.1.0
v1.0.1
- upgraded dependencies
- removed experimental setting for content collection schemas (feature landed in stable)
Packages with pinned versions:
- eslint (no upgrade, still staying at v7)
- sharp (no upgrade)
- @types/node (upgraded, still at v20 to match node version)