Files
zeekayandHanzo Dev a72238953d Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's
dts build, typedoc and typescript-eslint cannot read it — packages/ui and
packages/wallet both pinned it bare and both build with tsup. It comes in
aliased as tsgo and does the typechecking; typescript drops to the 6 line so the
tools get their API back.

wallet also gains an ambient declare module '*.css', which TS7 wants for the
rainbowkit and solana stylesheet imports: 0 diagnostics under both compilers,
from 2. ui reports the same 36 under both, all its uninstalled @chakra-ui peer
and one duplicate export.

wallet's package-lock.json is left alone. It already records typescript 5.9.3
against a 7.0.2 pin, and it cannot be regenerated: rainbowkit 2.2.11 peers
wagmi ^2.9.0 while the package asks for ^3.7.7, so every install rewrites the
tree rather than resolving it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:42:26 -07:00

102 lines
2.6 KiB
JSON

{
"name": "@luxdao/ui",
"version": "0.1.0",
"description": "Lux DAO UI Component Library",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
"lint": "eslint .",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"docs:api": "typedoc --out docs/api src/index.ts",
"docs:serve": "pnpm build-storybook && serve storybook-static"
},
"peerDependencies": {
"@chakra-ui/react": "^2.8.2",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"react": ">=19.2.8",
"react-dom": ">=19.2.8"
},
"dependencies": {
"@chakra-ui/anatomy": "^2.3.4",
"@phosphor-icons/react": "^2.1.10",
"framer-motion": "^13.1.1"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.5.10",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-links": "^10.5.10",
"@storybook/addon-themes": "^10.5.10",
"@storybook/blocks": "^8.6.14",
"@storybook/react": "^10.5.10",
"@storybook/react-vite": "^10.5.10",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.6",
"@types/react": "19.2.18",
"@types/react-dom": "19.2.5",
"@typescript-eslint/eslint-plugin": "^8.68.0",
"@typescript-eslint/parser": "^8.68.0",
"@vitejs/plugin-react": "^6.0.2",
"eslint": "^10.9.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^30.0.1",
"storybook": "^10.5.10",
"tsup": "^8.5.1",
"typedoc": "^0.28.20",
"tsgo": "npm:[email protected]",
"typescript": "6.0.3",
"vite": "^8.2.2",
"vitest": "^4.1.11"
},
"tsup": {
"entry": [
"src/index.ts"
],
"format": [
"cjs",
"esm"
],
"dts": true,
"sourcemap": true,
"clean": true,
"external": [
"react",
"react-dom",
"@chakra-ui/react",
"@emotion/react",
"@emotion/styled"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/luxdao/dao.git"
},
"keywords": [
"lux",
"dao",
"ui",
"components",
"react",
"chakra-ui"
],
"author": "Lux DAO Contributors",
"license": "MIT",
"bugs": {
"url": "https://github.com/luxdao/dao/issues"
},
"homepage": "https://github.com/luxdao/dao/tree/main/packages/ui#readme"
}