Logo
Explore Help
Register Sign In
davidl/cloud-code
1
0
Fork 0
You've already forked cloud-code
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b3417e54f803b95ccfe181488ae3fdbdc06abdb7
cloud-code/claude-code-source/stubs/color-diff-napi/index.js

15 lines
301 B
JavaScript
Raw Normal View History

reconstruct and build @anthropic-ai/claude-code source from source map - Extract 4756 source files from cli.js.map (57MB) - Set up Bun build system with bun:bundle feature flag shim - Configure 90+ compile-time feature flags matching production defaults - Inject MACRO constants (VERSION, BUILD_TIME, etc.) - Create stubs for private packages (color-diff-napi, modifiers-napi, etc.) - Install all public dependencies via pnpm - Patch commander v14 to allow multi-char short flags (-d2e) - Build output: dist/cli.js (22MB), verified working
2026-03-31 19:19:50 +08:00
// Stub: color-diff-napi is a private native module for syntax highlighting
export class ColorDiff {
constructor() {}
diff() { return [] }
}
export class ColorFile {
constructor() {}
getColors() { return [] }
}
export function getSyntaxTheme() { return null }
export const SyntaxTheme = {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 31ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API