AponiaJSDocs
Project

Version compatibility

Align Bun, Elysia, TypeScript, and synchronized AponiaJS package versions.

The 0.6.0-alpha.18 source and generated application template use:

DependencyDocumented baseline
Bun1.3.14
Elysia^1.4.29, a peer dependency of the platform package
TypeScript^7.0.2 in the generated template
reflect-metadata^0.2.2, installed through @aponiajs/common
@standard-schema/spec^1.1.0, installed through @aponiajs/common

All public AponiaJS packages are versioned together and published to the npm alpha distribution tag. Avoid mixing versions:

{
  "dependencies": {
    "@aponiajs/common": "0.6.0-alpha.18",
    "@aponiajs/platform-elysia": "0.6.0-alpha.18",
    "elysia": "^1.4.29"
  }
}

Install with the channel when you want the newest alpha:

bun add @aponiajs/common@alpha @aponiajs/platform-elysia@alpha elysia@^1.4.29

Use the version actually published for every Aponia package when npm lags behind the source branch.

TypeScript requirements

{
  "compilerOptions": {
    "module": "Preserve",
    "moduleResolution": "Bundler",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "strict": true
  }
}

The generated project is ESM ("type": "module") and uses explicit .ts extensions for local imports.

Pre-1.0 policy

AponiaJS uses 0.y.z for initial development, so a minor release may break the API before 1.0.0 marks the first stable public API. On npm, latest tracks the newest stable release and never an alpha, so install the alpha (or next) tag to follow current development.

On this page