mirror of
https://github.com/penpot/penpot.git
synced 2026-03-15 15:05:58 +00:00
* 🎉 Prepare npm package for MCP server * 🐛 Re-establish Windows compatibility of MCP server build script Use node instead of cp to copy files * ✨ Set version for MCP npm tarball based on git tag * Add scripts/set-version to set the version in package.json based on git describe information * Add scripts/pack to perform the packaging
6 lines
177 B
JavaScript
6 lines
177 B
JavaScript
import { cpSync } from "fs";
|
|
|
|
// copy static assets and data to dist
|
|
cpSync("src/static", "dist/static", { recursive: true });
|
|
cpSync("data", "dist/data", { recursive: true });
|