@dtducas/wh-forge-viewer 3.0.0-beta.5 → 3.0.0-beta.6

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": "@dtducas/wh-forge-viewer",
3
- "version": "3.0.0-beta.5",
3
+ "version": "3.0.0-beta.6",
4
4
  "description": "A customized Autodesk Forge Viewer component for React with custom toolbar and PDF support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,12 @@
13
13
  "scripts": {
14
14
  "build": "rollup -c",
15
15
  "dev": "rollup -c -w",
16
- "prepublishOnly": "npm run build"
16
+ "prepublishOnly": "npm run build",
17
+ "typecheck:nv": "tsc -p new-version/tsconfig.json",
18
+ "test:nv": "vitest run --config new-version/vitest.config.ts",
19
+ "test:nv:watch": "vitest --config new-version/vitest.config.ts",
20
+ "test:nv:coverage": "vitest run --coverage --config new-version/vitest.config.ts",
21
+ "build:nv": "rollup -c new-version/rollup.config.mjs"
17
22
  },
18
23
  "repository": {
19
24
  "type": "git",
@@ -56,13 +61,16 @@
56
61
  "@types/react": "^19.2.8",
57
62
  "@types/react-dom": "^19.2.3",
58
63
  "@types/tinycolor2": "^1.4.6",
64
+ "@vitest/coverage-v8": "^2.1.9",
65
+ "happy-dom": "^15.11.7",
59
66
  "pdf-lib": "^1.17.1",
60
67
  "rollup": "^3.29.0",
61
68
  "rollup-plugin-copy": "^3.5.0",
62
69
  "rollup-plugin-peer-deps-external": "^2.2.4",
63
70
  "rollup-plugin-postcss": "^4.0.2",
64
71
  "tslib": "^2.8.1",
65
- "typescript": "^5.9.3"
72
+ "typescript": "^5.9.3",
73
+ "vitest": "^2.1.9"
66
74
  },
67
75
  "dependencies": {
68
76
  "@pdf-lib/fontkit": "^1.1.1",