route-graphics 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "route-graphics",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "A 2D graphics rendering interface that takes JSON input and renders pixels using PixiJS",
5
5
  "main": "dist/RouteGraphics.js",
6
6
  "type": "module",
@@ -28,11 +28,13 @@
28
28
  "scripts": {
29
29
  "lint": "bunx prettier --check src",
30
30
  "lint:fix": "bunx prettier --check --write src",
31
- "build": "bun run esbuild.js",
32
- "vt:generate": "bun run esbuild.js && rtgl vt generate --skip-screenshots",
33
- "vt:docker": "bun run esbuild.js && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/app\" -w /app han4wluc/rtgl:playwright-v1.57.0-rtgl-v0.0.38 rtgl vt generate --wait-event vt:ready --concurrency 8",
34
- "vt:report": "bun run vt:docker && rtgl vt report",
35
- "vt:accept": "rtgl vt accept",
31
+ "build": "bunx esbuild ./src/index.js --bundle --minify --format=esm --outfile=./dist/RouteGraphics.js && bunx esbuild ./src/index.js --bundle --sourcemap --format=esm --outfile=./vt/static/RouteGraphics.js",
32
+ "vt:docker:pull": "docker pull han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.0-rc11",
33
+ "vt:generate": "bun run build && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.0-rc11 rtgl vt generate --wait-event vt:ready",
34
+ "vt:screenshot": "bun run build && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.0-rc11 rtgl vt screenshot --wait-event vt:ready --concurrency 8",
35
+ "vt:docker": "bun run vt:screenshot",
36
+ "vt:report": "bun run vt:screenshot && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.0-rc11 rtgl vt report",
37
+ "vt:accept": "docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.0-rc11 rtgl vt accept",
36
38
  "test": "vitest run",
37
39
  "test:coverage": "vitest run --coverage",
38
40
  "test:watch": "vitest",