mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
* fix(den): parse skill frontmatter when saving skills Keep the full SKILL.md payload in the database, derive title and description from frontmatter, and require a frontmatter name in the API. Also include shared packages in the Den web Docker image so the upload flow can be verified end to end. * fix(den-web): transpile shared utils package Include @openwork-ee/utils in Next's transpilePackages list so the client skill editor resolves the shared frontmatter helpers during production builds. * fix(den-web): keep skill parsing local to the app Move the client-side skill markdown parser into the Den web app so production builds do not depend on resolving a workspace package boundary from a client component. * refactor(den): share skill frontmatter parsing via utils Make Den web and Den API both depend on @openwork-ee/utils for skill frontmatter parsing, refresh the workspace lockfile, and keep the Den web build wiring explicit for CI and Docker. * fix(den-web): build Den from the monorepo root on Vercel Keep the shared utils package setup, but make Vercel install and build from the repo root so workspace dependencies like @openwork-ee/utils are always available when Den web deploys from its app subdirectory. * docs(den-web): keep Vercel workspace settings in the dashboard Remove the app-level Vercel command override from the repo and document the monorepo install/build settings for the dashboard instead. --------- Co-authored-by: src-opn <src-opn@users.noreply.github.com>
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"name": "@openwork-ee/den-web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"dev": "OPENWORK_DEV_MODE=1 NEXT_PUBLIC_POSTHOG_KEY= NEXT_PUBLIC_POSTHOG_API_KEY= next dev --hostname 0.0.0.0 --port 3005",
|
|
"dev:local": "sh -lc 'OPENWORK_DEV_MODE=1 NEXT_PUBLIC_POSTHOG_KEY= NEXT_PUBLIC_POSTHOG_API_KEY= next dev --hostname 0.0.0.0 --port ${DEN_WEB_PORT:-3005}'",
|
|
"prebuild": "pnpm --dir ../../../packages/ui build && pnpm --dir ../../packages/utils build",
|
|
"build": "next build",
|
|
"start": "next start --hostname 0.0.0.0 --port 3005",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@openwork-ee/utils": "workspace:*",
|
|
"@openwork/ui": "workspace:*",
|
|
"@paper-design/shaders-react": "0.0.72",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.2.1",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.12.12",
|
|
"@types/react": "19.2.14",
|
|
"@types/react-dom": "19.2.3",
|
|
"autoprefixer": "10.4.19",
|
|
"postcss": "8.4.38",
|
|
"tailwindcss": "3.4.7",
|
|
"typescript": "5.4.5"
|
|
}
|
|
}
|