realty-plugin-test
v0.0.2
Published
A SvelteKit plugin that bundles `svelte-trpc` and exposes example methods.
Readme
Realty Plugin
A SvelteKit plugin that bundles svelte-trpc and exposes example methods.
Installation
bun add realty-plugin-testUsage
// Your code hereDevelopment
- Clone the repository
- Install dependencies:
bun install- Initialize git (if not already initialized):
git init
git add .
git commit -m "Initial commit"- Start the development server:
bun run devPublishing
Before publishing, make sure you're logged in to npm:
bun loginVersion Management
The package uses semantic versioning (MAJOR.MINOR.PATCH). Choose the appropriate publish command based on your changes:
- For small fixes (0.0.1 -> 0.0.2):
bun run publish:patch- For new features (0.0.1 -> 0.1.0):
bun run publish:minor- For breaking changes (0.0.1 -> 1.0.0):
bun run publish:majorEach publish command will:
- Build the project
- Increment the version number appropriately
- Publish to npm
Build Process
The build process includes:
- Running SvelteKit sync
- Building the package
- Running publint for validation
- Generating TypeScript types
You can manually build the project using:
bun run buildLicense
MIT
