43 lines
1.6 KiB
Markdown
43 lines
1.6 KiB
Markdown
# `astro-pocketbase-continue`
|
|
|
|
This is an [Astro integration](https://docs.astro.build/en/guides/integrations-guide/) that ease the use of PocketBase in your Astro projects
|
|
|
|
This repository is a continuation of [Gregory Bouteiller's astro-pocketbase](https://github.com/gbouteiller/astro-pocketbase), as the original repository was outdated for 10 months.
|
|
|
|
## Documentation
|
|
|
|
[Old documentation is compatible with the current version](https://astro-pocketbase-five.vercel.app)
|
|
|
|
## Compatibility
|
|
|
|
- **PocketBase**: v0.30.0
|
|
- **PocketBase JS SDK**: v0.26.2
|
|
- **Astro**: v5.14.4
|
|
|
|
## 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`.
|
|
- 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](./LICENSE)
|
|
|
|
## Acknowledgements
|
|
|
|
- [`astro-pocketbase`](https://github.com/gbouteiller/astro-pocketbase) by Gregory Bouteiller
|
|
- [`zod-pocketbase`](https://github.com/gbouteiller/zod-pocketbase) by Gregory Bouteiller
|
|
- [`astro-integration-kit`](https://github.com/florian-lefebvre/astro-integration-kit) by Florian Lefebvre
|
|
- [`pocketbase`](https://github.com/pocketbase/js-sdk) by Gani Georgiev
|