Files
astro-pocketbase-continue/README.md
2025-10-20 17:36:53 +02:00

1.6 KiB

astro-pocketbase-continue

This is an Astro integration that ease the use of PocketBase in your Astro projects

This repository is a continuation of Gregory Bouteiller's astro-pocketbase, as the original repository was outdated for 10 months.

Documentation

Old documentation is compatible with the current version

Compatibility

  • PocketBase: v0.30.0
  • PocketBase JS SDK: v0.26.2
  • Astro: v5.14.4

Changes from Original

Project Structure

  • Removed doc/, playground/ and monorepo configuration.
  • Replaced pnpm and node in favor of bun.
  • Switched .github/ to .gitea/ and gh to tea.
  • Switched from eslint and prettier to biome.

Dependencies & Code

  • Migrated from tsup to tsdown.
  • Replaced original zod-pocketbase in favor of my own forked version - zod-pocketbase-continue.
  • Updated all npm dependencies.
  • Fixed auth const assignment in loader.ts to match the latest PocketBase version.
  • Fixed typescript error in generated loader.ts with auth const.

License

MIT License

Acknowledgements