@velo/crown-base (0.2.0)

Published 2026-10-13 00:40:48 +02:00 by r59q

Installation

@velo:registry=
npm install @velo/crown-base@0.2.0
"@velo/crown-base": "0.2.0"

About this package

@velo/crown-base

The starting point for Crownfall's shared TypeScript engine library. The initial API is a small hello-world function; game engine capabilities can be added here as they are extracted from the game.

Build

From this directory, install the package's development dependency and compile the TypeScript:

npm install
npm run build

The compiler writes JavaScript, source maps, and type declarations to dist/. The package tarball contains that output and this README.

Forgejo npm registry

The package is published to the Forgejo npm registry owned by velo:

https://git.amhk.dk/api/packages/velo/npm/

The package is public, so installing it does not require a Forgejo access token. Configure npm to use the Forgejo registry for the @velo scope, either in your project .npmrc:

@velo:registry=https://git.amhk.dk/api/packages/velo/npm/

Then install the library in that project:

npm install @velo/crown-base

Publishing requires a Forgejo access token with package write permission. To publish manually, first build and then publish against the Forgejo registry:

npm run build
npm publish --registry=https://git.amhk.dk/api/packages/velo/npm/

The repository workflow publishes on tags named crown-base-v*. Set the tag version to the package's version in package.json; Forgejo rejects a version that already exists. The PACKAGE_REGISTRY_TOKEN Actions secret must belong to an account with package write access.

Dependencies

Development dependencies

ID Version
typescript ^5.9.3
Details
npm
2026-10-13 00:40:48 +02:00
1
UNLICENSED
1.4 KiB
Assets (1)
Versions (20) View all
0.20.0 2026-11-04
0.19.0 2026-11-04
0.18.0 2026-11-03
0.17.0 2026-11-03
0.16.0 2026-11-02