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>
12 lines
306 B
JavaScript
12 lines
306 B
JavaScript
const path = require("path");
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
skipTrailingSlashRedirect: true,
|
|
transpilePackages: ["@openwork/ui", "@openwork-ee/utils"],
|
|
outputFileTracingRoot: path.join(__dirname, "../../.."),
|
|
};
|
|
|
|
module.exports = nextConfig;
|