From d91ef0c96d6c44e99cf38c9528c1dbb2ee962db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 23 Aug 2026 01:06:15 +0200 Subject: [PATCH] Rename package to scoped @valknar/vpinball-wasm Reverts the earlier unscoping: an unscoped package on a Gitea npm registry has no `.npmrc` mapping a consumer can use other than pinning the exact tarball URL, since Gitea's registry doesn't proxy npmjs.org and only scoped packages support the standard `@scope:registry=` config. Scoping restores that: consumers add one `@valknar:registry=` line and depend on a normal semver range. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_012hQoM3jJT1Lx7CMTciMzvD --- README.md | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a09a109..0bb5c88 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ source emsdk/emsdk_env.sh ## npm usage ```ts -import { loadPinball, attachTouchControls } from 'vpinball-wasm'; +import { loadPinball, attachTouchControls } from '@valknar/vpinball-wasm'; const canvas = document.querySelector('canvas'); const pinball = await loadPinball({ @@ -128,7 +128,7 @@ startButton.addEventListener('click', () => { pinball.evalScript('DMDWidth = 128 : DMDHeight = 32'); ``` -See `examples/basic/index.html` for a complete working page (loading progress, file upload, touch controls, fullscreen). Published as `vpinball-wasm` on this project's Gitea npm registry — see `package.json`. +See `examples/basic/index.html` for a complete working page (loading progress, file upload, touch controls, fullscreen). Published as `@valknar/vpinball-wasm` on this project's Gitea npm registry — see `package.json`. ## Known limitations diff --git a/package.json b/package.json index a0f3559..cfcb30b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "vpinball-wasm", - "version": "0.1.0", + "name": "@valknar/vpinball-wasm", + "version": "0.2.0", "description": "Visual Pinball's engine compiled to WebAssembly - real .vpx tables, real VBScript, WebGL2 rendering, in the browser", "license": "SEE LICENSE IN LICENSE", "type": "module",