Initial release v1.0.0
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>
This commit is contained in:
16
apps/cli/tsup.config.ts
Normal file
16
apps/cli/tsup.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig({
|
||||
entry: ['src/index.ts'],
|
||||
format: ['esm'],
|
||||
target: 'node20',
|
||||
clean: true,
|
||||
// Bundle skillhub-core into the CLI so the published package
|
||||
// doesn't depend on a separate npm package that may be outdated
|
||||
noExternal: ['skillhub-core'],
|
||||
// gray-matter (dep of skillhub-core) uses CJS require('fs') which
|
||||
// breaks in ESM bundles - provide a require shim for Node builtins
|
||||
banner: {
|
||||
js: `import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);`,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user