Files
openwork/packages/ui/package.json
Source Open c1e12a41fb feat(ui): add shared seeded paper gradients (#1288)
* feat(ui): add shared seeded paper gradients

Centralize the Paper mesh and grain wrappers so React and Solid apps can reuse the same deterministic seed-based visuals without repeating shader config. Add a standalone demo surface and update existing consumers so the shared package is easier to validate and evolve.

* fix(ui): resolve shared package from source

Point the shared UI package exports at source files so Next builds do not depend on a prebuilt dist directory. Add Next transpilation for @openwork/ui in Landing and Den Web so monorepo and Vercel builds resolve the package consistently.

---------

Co-authored-by: src-opn <src-opn@users.noreply.github.com>
2026-04-01 18:14:14 -07:00

39 lines
778 B
JSON

{
"name": "@openwork/ui",
"private": true,
"type": "module",
"exports": {
"./react": {
"types": "./src/react/index.ts",
"development": "./src/react/index.ts",
"default": "./src/react/index.ts"
},
"./solid": {
"types": "./src/solid/index.ts",
"development": "./src/solid/index.ts",
"default": "./src/solid/index.ts"
}
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"build": "tsup"
},
"dependencies": {
"@paper-design/shaders": "0.0.72",
"@paper-design/shaders-react": "0.0.72"
},
"peerDependencies": {
"react": "^18 || ^19",
"solid-js": "^1.9.0"
},
"devDependencies": {
"@types/react": "^19.2.14",
"tsup": "^8.5.0",
"typescript": "^5.6.3"
}
}