Update development scripts and bump dependencies

This commit is contained in:
2025-10-22 17:02:30 +02:00
parent a2ec9a669e
commit e8ed13e982
3 changed files with 10 additions and 24 deletions

View File

@@ -17,6 +17,7 @@ This repository is a continuation of [Gregory Bouteiller's astro-pocketbase](htt
## Changes from Original
### Project Structure
- Added `flake.nix` for **NixOS** development environment.
- Removed `doc/`, `playground/` and monorepo configuration.
- Replaced `pnpm` and `node` in favor of `bun`.
- Switched `.github/` to `.gitea/` and `gh` to `tea`.

View File

@@ -35,9 +35,13 @@
echo ""
echo "Available commands:"
echo " bun install - Install dependencies"
echo " bun run dev - Start development"
echo " bun build - Build with Bun's bundler"
echo " tea releases create - Create Gitea release"
echo " bun run dev - Start development (build with --watch flag)"
echo " bun run build - Build library"
echo " bun run lint - Run Biome check"
echo " bun run lint:w - Run Biome check (with --write)"
echo " bun run format - Run Biome format"
echo " bun run format:w - Run Biome format (with --write)"
echo " bun run release - Run release script"
echo ""
if [ ! -d "node_modules" ]; then
@@ -49,25 +53,6 @@
NODE_ENV = "development";
BUN_RUNTIME = "bun";
};
packages.default = pkgs.stdenv.mkDerivation {
name = "astro-pocketbase-continue";
src = ./.;
buildInputs = [ bun ];
buildPhase = ''
export HOME=$TMPDIR
bun install --frozen-lockfile
bun run build
'';
installPhase = ''
mkdir -p $out
cp -r dist $out/
cp package.json $out/
'';
};
}
);
}

View File

@@ -1,6 +1,6 @@
{
"name": "astro-pocketbase-continue",
"version": "0.13.0",
"version": "0.13.1",
"description": "Astro integration to ease the use of PocketBase in your Astro projects",
"author": {
"email": "garandplg@garandplg.com",
@@ -50,7 +50,7 @@
"astro-integration-kit": "^0.19.1",
"dotenv": "^17.2.3",
"es-toolkit": "^1.40.0",
"zod-pocketbase-continue": "^0.6.0"
"zod-pocketbase-continue": "^0.6.1"
},
"devDependencies": {
"@biomejs/biome": "2.2.6",