Rename package from @valknar/vpinball-wasm to vpinball-wasm
CI / Build wasm engine (push) Successful in 9m32s
CI / Build wasm engine (push) Successful in 9m32s
Unscoped, matching this project's other Gitea-published package (triggershell) - the registry is already scoped to the right owner via publishConfig.registry's URL path (.../valknar/npm/), so an npm scope on the package name itself is redundant. The old @valknar/vpinball-wasm package published under the previous name is being removed manually. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -107,7 +107,7 @@ source emsdk/emsdk_env.sh
|
||||
## npm usage
|
||||
|
||||
```ts
|
||||
import { loadPinball, attachTouchControls } from '@valknar/vpinball-wasm';
|
||||
import { loadPinball, attachTouchControls } from '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). The published package name/registry (`@valknar/vpinball-wasm` on this project's Gitea npm registry) is a placeholder pending the first real release — see `package.json`.
|
||||
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`.
|
||||
|
||||
## Known limitations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user