@velo/editor (0.1.0)

Published 2026-10-13 23:51:20 +02:00 by r59q

Installation

@velo:registry=
npm install @velo/editor@0.1.0
"@velo/editor": "0.1.0"

About this package

@velo/editor

The starting point for Crownfall's map editor TypeScript library. The initial API is a small hello-world function; editor capabilities can be added here as they are built.

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/editor

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 Publish editor workflow publishes on pushes to main that change this directory, and can be run manually. It picks the next 0.x.0 version above those already in the registry, so Forgejo never sees a duplicate. 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 23:51:20 +02:00
0
UNLICENSED
1.4 KiB
Assets (1)
Versions (8) View all
0.8.0 2026-10-18
0.7.0 2026-10-18
0.6.0 2026-10-18
0.5.0 2026-10-15
0.4.0 2026-10-15