Thanks to visit codestin.com
Credit goes to github.com

Skip to content

benallfree/pocketbase-jsvm

Repository files navigation

TypeScript Typings for PocketBase JSVM

This package provides TypeScript typings for the PocketBase JavaScript Virtual Machine (JSVM).

Usage

Install the package

npm install pocketbase-jsvm

Update your tsconfig.json

In your tsconfig.json:

{
  "compilerOptions": {
    "types": ["pocketbase-jsvm"],
    "moduleResolution": "node"
  }
}

That's it! enjoy JSVM goodness throughout your project.

Versioning Strategy

pocketbase-jsvm uses Upstream Anchoring.

  • Our Version = Upstream MAJOR.MINOR.(Upstream PATCH × 10000 + Our Revision Number)

Example:

  • Upstream Version: 0.25.1
  • Our First Revision: 0.25.10001

This keeps our fork aligned with upstream releases and allows us to manage our own revisions effectively.

Contributing

Help the community by keeping the jsvm.d.ts up to date with upstream changes.

Update your fork

git fetch --all
git checkout main

Apply the latest upstream changes

Copy the latest jsvm.d.ts and update the version number in package.json.

Check the diff and reapply patches

Review the diff and PATCHES.md. Reapply patches that haven't been fixed upstream.

Older Versions of PocketBase

In-package legacy support has been dropped. Please use older versions of this package, or use the jsvm.d.ts generated by the desired PocketBase version and apply PATCHES.md as needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •