mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
- Added support for a new plugin system, allowing users to install, uninstall, and manage plugins through the daemon. - Implemented API endpoints for listing installed plugins, retrieving plugin details, and applying plugins with input validation. - Introduced a plugin doctor feature to validate plugin manifests and check for issues before application. - Established a plugin persistence layer with SQLite migrations for managing installed plugins and their metadata. - Enhanced the CLI with commands for plugin operations, improving user interaction with the plugin ecosystem.
13 lines
259 B
JavaScript
13 lines
259 B
JavaScript
import { build } from 'esbuild';
|
|
|
|
await build({
|
|
bundle: true,
|
|
entryPoints: ['./src/index.ts'],
|
|
format: 'esm',
|
|
outbase: './src',
|
|
outdir: './dist',
|
|
outExtension: { '.js': '.mjs' },
|
|
packages: 'external',
|
|
platform: 'node',
|
|
target: 'node24',
|
|
});
|