@jayf0x/fluidity-js 0.2.8 → 0.3.0
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/README.md +4 -3
- package/dist/index.js +1438 -1906
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/package.json +22 -13
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.
|
|
3
|
+
"version": "0.3.0",
|
|
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,8 +32,7 @@
|
|
|
31
32
|
"typecheck": "bunx tsc --noEmit",
|
|
32
33
|
"format": "prettier --write .",
|
|
33
34
|
"format:check": "prettier --check .",
|
|
34
|
-
"deploy
|
|
35
|
-
"publish:npm": "bash ./scripts/publish-npm.sh",
|
|
35
|
+
"npm:deploy": "bash ./scripts/publish-npm.sh",
|
|
36
36
|
"rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -91,19 +91,28 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
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
|
-
"@
|
|
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": "^
|
|
101
|
-
"prettier": "^3.8.
|
|
102
|
-
"react": "^
|
|
103
|
-
"react-dom": "^
|
|
105
|
+
"jsdom": "^29.1.1",
|
|
106
|
+
"prettier": "^3.8.4",
|
|
107
|
+
"react": "^19.2.7",
|
|
108
|
+
"react-dom": "^19.2.7",
|
|
104
109
|
"terser": "^5.48.0",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
110
|
+
"typescript": "^6.0.3",
|
|
111
|
+
"unplugin": "^3.0.0",
|
|
112
|
+
"vite": "^8.1.0",
|
|
113
|
+
"vitest": "^4.1.9",
|
|
114
|
+
"byte-snap": "^1.0.3",
|
|
115
|
+
"compress-shader-literals": "^0.0.7"
|
|
107
116
|
},
|
|
108
117
|
"publishConfig": {
|
|
109
118
|
"access": "public"
|