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 (#1308)
* 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>
This commit is contained in:
@@ -7,10 +7,14 @@ WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /app/
|
||||
COPY .npmrc /app/.npmrc
|
||||
COPY patches /app/patches
|
||||
COPY packages/ui/package.json /app/packages/ui/package.json
|
||||
COPY ee/packages/utils/package.json /app/ee/packages/utils/package.json
|
||||
COPY ee/apps/den-web/package.json /app/ee/apps/den-web/package.json
|
||||
|
||||
RUN pnpm install --frozen-lockfile --filter @openwork-ee/den-web...
|
||||
|
||||
COPY packages/ui /app/packages/ui
|
||||
COPY ee/packages/utils /app/ee/packages/utils
|
||||
COPY ee/apps/den-web /app/ee/apps/den-web
|
||||
|
||||
WORKDIR /app/ee/apps/den-web
|
||||
|
||||
Reference in New Issue
Block a user