mirror of
https://github.com/luxfi/financial.git
synced 2026-10-30 16:55:56 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 14/15 and @typescript-eslint cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. Five things the 6 line no longer accepts came with the bump. app/site targeted ES5, which is gone, so it targets ES2017. app/investor's side-effect import of globals.css needs an ambient declaration. base64ToBytes returns a Uint8Array<ArrayBuffer>, which is what Blob takes now. pkg/ui skips lib checks like every other project here. pkg/brand really does use process, Buffer and require, so it depends on @types/node and asks for it by name. Two diagnostics before and after, the same two under both compilers. Co-authored-by: Hanzo Dev <[email protected]>
61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"name": "@luxbank/ui",
|
|
"version": "0.0.39",
|
|
"main": "./lib/cjs/index.js",
|
|
"module": "./lib/esm/index.js",
|
|
"types": "./lib/esm/index.d.ts",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"typecheck": "../../node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"build": "pnpm run build-tokens && pnpm run build-icons && pnpm run build-text && pnpm run build:esm && pnpm run build:cjs",
|
|
"build:esm": "tsc",
|
|
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
|
|
"build-tokens": "node src/scripts/generateThemeTypes src/styles/theme/tokens.json src/styles/theme/index.ts semantic-default/light semantic-default/dark",
|
|
"build-icons": "node src/scripts/generateIconTypes",
|
|
"build-text": "node src/scripts/generateTextTypes && node src/scripts/generateTextStylesConstants"
|
|
},
|
|
"bin": {
|
|
"build-tokens": "lib/cjs/scripts/generateThemeTypes.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!node_modules"
|
|
],
|
|
"repository": "https://github.com/luxfi/bank",
|
|
"homepage": "https://github.com/luxfi/bank#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react": "0.26.9",
|
|
"@radix-ui/react-checkbox": "1",
|
|
"@radix-ui/react-radio-group": "1",
|
|
"@radix-ui/react-select": "2",
|
|
"imask": "7",
|
|
"react-hook-form": "^7.51.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-dom": "*",
|
|
"styled-components": "6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.4.8",
|
|
"@types/react": "18.2.18",
|
|
"@types/react-dom": "18.2.7",
|
|
"@types/styled-components": "^5.1.28",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
"@typescript-eslint/parser": "^6.7.5",
|
|
"eslint": "8.46.0",
|
|
"eslint-config-next": "13.4.13",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-import": "^2.28.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"eslint-plugin-react": "^7.33.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"prettier": "3.0.1",
|
|
"token-transformer": "^0.0.33",
|
|
"typescript": "6.0.3"
|
|
}
|
|
}
|