@jayf0x/fluidity-js 0.2.8 → 0.2.9

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/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayf0x/fluidity-js",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "WebGPU-first real-time Navier-Stokes fluid simulation for React — interactive water, ink, glass, aurora, and ripple effects on text and images. Falls back to WebGL2/WebGL1. Runs in a Web Worker.",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -22,6 +22,7 @@
22
22
  "scripts": {
23
23
  "build": "vite build && node scripts/compress-dist.js",
24
24
  "build:nocompress": "vite build",
25
+ "test:install": "bash scripts/test-install.sh",
25
26
  "demo:dev": "bun run --cwd ./demo dev",
26
27
  "demo:build": "bun run build:nocompress && PATH=/Users/me/.nvm/versions/node/v20.19.6/bin:$PATH FLUIDITY_DIST=1 bun run --cwd ./demo build && PATH=/Users/me/.nvm/versions/node/v20.19.6/bin:$PATH bun run --cwd ./demo preview",
27
28
  "test": "vitest",
@@ -31,7 +32,6 @@
31
32
  "typecheck": "bunx tsc --noEmit",
32
33
  "format": "prettier --write .",
33
34
  "format:check": "prettier --check .",
34
- "deploy:demo": "bash scripts/deploy-demo.sh",
35
35
  "publish:npm": "bash ./scripts/publish-npm.sh",
36
36
  "rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D"
37
37
  },
@@ -91,19 +91,27 @@
91
91
  }
92
92
  },
93
93
  "devDependencies": {
94
- "@testing-library/jest-dom": "^6.4.0",
95
- "@testing-library/react": "^14.2.0",
96
- "@testing-library/user-event": "^14.5.0",
94
+ "@babel/parser": "^8.0.0",
95
+ "@babel/traverse": "^8.0.0",
96
+ "@rollup/pluginutils": "^5.4.0",
97
+ "@testing-library/jest-dom": "^6.9.1",
98
+ "@testing-library/react": "^16.3.2",
99
+ "@testing-library/user-event": "^14.6.1",
97
100
  "@trivago/prettier-plugin-sort-imports": "^6.0.2",
98
- "@vitejs/plugin-react": "^4.2.0",
101
+ "@types/babel__traverse": "^7.28.0",
102
+ "@types/node": "^26.0.0",
103
+ "@vitejs/plugin-react": "^6.0.3",
99
104
  "@webgpu/types": "^0.1.70",
100
- "jsdom": "^23.2.0",
101
- "prettier": "^3.8.2",
102
- "react": "^18.2.0",
103
- "react-dom": "^18.2.0",
105
+ "jsdom": "^29.1.1",
106
+ "magic-string": "^0.30.21",
107
+ "prettier": "^3.8.4",
108
+ "react": "^19.2.7",
109
+ "react-dom": "^19.2.7",
104
110
  "terser": "^5.48.0",
105
- "vite": "^4.5.0",
106
- "vitest": "^0.34.0"
111
+ "typescript": "^6.0.3",
112
+ "unplugin": "^3.0.0",
113
+ "vite": "^8.1.0",
114
+ "vitest": "^4.1.9"
107
115
  },
108
116
  "publishConfig": {
109
117
  "access": "public"