Open-source marketplace for AI Agent skills. Features: - Next.js 15 web app with i18n (en/fa) - CLI tool for skill installation (npx skillhub) - GitHub crawler/indexer with multi-strategy discovery - Security scanning for all indexed skills - Self-hostable with Docker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
696 B
TypeScript
40 lines
696 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts', 'src/worker.ts', 'src/crawl.ts'],
|
|
format: ['cjs'],
|
|
target: 'node20',
|
|
platform: 'node',
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
// Bundle all dependencies into the output
|
|
noExternal: [/.*/],
|
|
// Exclude Node.js built-in modules
|
|
external: [
|
|
'node:*',
|
|
'fs',
|
|
'path',
|
|
'crypto',
|
|
'os',
|
|
'url',
|
|
'util',
|
|
'stream',
|
|
'events',
|
|
'buffer',
|
|
'http',
|
|
'https',
|
|
'net',
|
|
'tls',
|
|
'dns',
|
|
'child_process',
|
|
'cluster',
|
|
'worker_threads',
|
|
'assert',
|
|
'async_hooks',
|
|
'string_decoder',
|
|
'querystring',
|
|
'zlib',
|
|
],
|
|
});
|