mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
- Updated package.json scripts to include the new TanStack Start demo. - Added a new logo for TanStack Start in the dashboard. - Enhanced sidebar navigation to support external links for documentation. - Introduced new environment keys for Vite integration. - Created comprehensive setup instructions for TanStack Start in the documentation. - Added example project for TanStack Start to showcase integration with Stack Auth. This commit improves the developer experience by providing clear guidance and resources for integrating Stack Auth with TanStack Start applications.
186 lines
6.2 KiB
JSON
186 lines
6.2 KiB
JSON
{
|
|
"//": "IF_PLATFORM template",
|
|
"name": "@stackframe/template",
|
|
"//": "ELSE_IF_PLATFORM js",
|
|
"name": "@stackframe/js",
|
|
"//": "ELSE_IF_PLATFORM next",
|
|
"name": "@stackframe/stack",
|
|
"//": "ELSE_IF_PLATFORM tanstack-start",
|
|
"name": "@stackframe/tanstack-start",
|
|
"//": "ELSE_IF_PLATFORM react",
|
|
"name": "@stackframe/react",
|
|
"//": "END_PLATFORM",
|
|
|
|
"//": "NEXT_LINE_PLATFORM template",
|
|
"private": true,
|
|
"version": "2.8.86",
|
|
"repository": "https://github.com/stack-auth/stack-auth",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./convex.config": {
|
|
"types": "./dist/integrations/convex/component/convex.config.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex/component/convex.config.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex/component/convex.config.js"
|
|
}
|
|
},
|
|
"./convex-auth.config": {
|
|
"types": "./dist/integrations/convex.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex.js"
|
|
}
|
|
}
|
|
},
|
|
"homepage": "https://stack-auth.com",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rimraf dist && rimraf node_modules",
|
|
"lint": "eslint --ext .tsx,.ts .",
|
|
|
|
"//": "IF_PLATFORM template react-like",
|
|
"build": "rimraf dist && pnpm run css && tsdown",
|
|
"dev": "rimraf dist && concurrently -n \"build,codegen\" -k \"tsdown --watch\" \"pnpm run codegen:watch\"",
|
|
"codegen": "pnpm run css",
|
|
"codegen:watch": "pnpm run css:watch"
|
|
,"//": "ELSE_PLATFORM",
|
|
"build": "rimraf dist && tsdown",
|
|
"dev": "rimraf dist && tsdown --watch"
|
|
,"//": "END_PLATFORM",
|
|
|
|
"//": "IF_PLATFORM template react-like"
|
|
,"css": "pnpm run css-tw && pnpm run css-sc",
|
|
"css:watch": "concurrently -n \"tw,sc\" -k \"pnpm run css-tw:watch\" \"pnpm run css-sc:watch\"",
|
|
"css-tw:watch": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css --watch",
|
|
"css-tw": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css",
|
|
"css-sc": "tsx ./scripts/process-css.ts ./src/generated/tailwind.css ./src/generated/global-css.ts",
|
|
"css-sc:watch": "chokidar --silent './src/generated/tailwind.css' -c 'pnpm run css-sc' --throttle 2000"
|
|
,"//": "END_PLATFORM",
|
|
|
|
"//": "IF_PLATFORM template"
|
|
,"codegen": "pnpm run css",
|
|
"codegen:watch": "concurrently -n \"css\" -k \"pnpm run css:watch\"",
|
|
"override-env-local-for-quetzal": "echo \"\\n$STACK_ENV_LOCAL_PACKAGE_BUILD_OVERRIDE_FOR_QUETZAL\\n\" >> .env.local",
|
|
"quetzal": "rimraf quetzal-translations && pnpm run override-env-local-for-quetzal && quetzal-process-translations && tsx ./scripts/merge-quetzal-translations.ts",
|
|
"quetzal:ignore-errors": "pnpm run quetzal || echo Quetzal failed, probably because the API key is missing. We will just ignore it",
|
|
"quetzal:watch": "chokidar --silent \"src/**/*\" -i \"src/generated/quetzal-translations.ts\" -c 'pnpm run quetzal:ignore-errors' --throttle 2000"
|
|
,"//": "END_PLATFORM"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"dist",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"dependencies": {
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@ai-sdk/react": "^3.0.72",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"ai": "^6.0.0",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stripe/react-stripe-js": "^3.8.1",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stripe/stripe-js": "^7.7.0",
|
|
"@simplewebauthn/browser": "^13.2.2",
|
|
"//": "NEXT_LINE_PLATFORM next",
|
|
"@stackframe/stack-sc": "workspace:*",
|
|
"@stackframe/stack-shared": "workspace:*",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stackframe/stack-ui": "workspace:*",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"browser-image-compression": "^2.0.2",
|
|
"color": "^5.0.3",
|
|
"cookie": "^1.1.1",
|
|
"jose": "^6.1.3",
|
|
"js-cookie": "^3.0.5",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"lucide-react": "^0.378.0",
|
|
"oauth4webapi": "^3.8.3",
|
|
"@oslojs/otp": "^1.1.0",
|
|
"qrcode": "^1.5.4",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-easy-crop": "^5.5.6",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-hook-form": "^7.70.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"rrweb": "^1.1.3",
|
|
"tsx": "^4.21.0",
|
|
"yup": "^1.7.1"
|
|
},
|
|
"//": "IF_PLATFORM react-like",
|
|
"peerDependencies": {
|
|
"@types/react": ">=18.3.0",
|
|
"//": "IF_PLATFORM next",
|
|
"@types/react-dom": ">=18.3.0",
|
|
"react-dom": ">=18.3.0",
|
|
"next": ">=14.1 || >=15.0.0-canary.0 || >=15.0.0-rc.0",
|
|
"//": "END_PLATFORM",
|
|
"//": "IF_PLATFORM tanstack-start",
|
|
"@tanstack/react-router": ">=1.100.0",
|
|
"@tanstack/react-start": ">=1.100.0",
|
|
"//": "END_PLATFORM",
|
|
"react": ">=18.3.0"
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"//": "IF_PLATFORM react-like",
|
|
"peerDependenciesMeta": {
|
|
"//": "IF_PLATFORM next",
|
|
"@types/react-dom": {
|
|
"optional": true
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"devDependencies": {
|
|
"@quetzallabs/i18n": "^0.1.19",
|
|
"@types/color": "^3.0.6",
|
|
"@types/cookie": "^0.6.0",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react-avatar-editor": "^13.0.3",
|
|
"autoprefixer": "^10.4.17",
|
|
"chokidar-cli": "^3.0.0",
|
|
"esbuild": "^0.20.2",
|
|
"i18next": "^23.14.0",
|
|
"i18next-parser": "^9.0.2",
|
|
"//": "NEXT_LINE_PLATFORM next",
|
|
"next": "^14.2.35",
|
|
"//": "NEXT_LINE_PLATFORM template tanstack-start",
|
|
"@tanstack/react-router": "^1.167.4",
|
|
"//": "NEXT_LINE_PLATFORM template tanstack-start",
|
|
"@tanstack/react-start": "^1.166.15",
|
|
"postcss": "^8.4.38",
|
|
"postcss-nested": "^6.0.1",
|
|
"react": "^19.0.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@types/react-dom": "^19.0.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-dom": "^19.0.0",
|
|
"rimraf": "^6.1.2",
|
|
"tailwindcss": "^3.4.4",
|
|
"tsdown": "^0.20.3",
|
|
"convex": "^1.27.0"
|
|
}
|
|
}
|