lumascript-monorepo
v1.0.0
Published
Production-ready TypeScript monorepo for the LumaScript ecosystem.
Readme
LumaScript Monorepo
Production-ready TypeScript monorepo for the LumaScript ecosystem.
Structure
repo/
├── package.json # Root workspace configuration
├── tsconfig.json # Project references
├── packages/
│ ├── compiler/ # @lumascript/compiler (no dependencies)
│ ├── lpm/ # @lumascript/lpm (no internal deps)
│ └── cli/ # @lumascript/cli (depends on compiler + lpm)Development
# Install all dependencies
npm install
# Build all packages
npm run build
# Build specific package
cd packages/cli && npm run buildPackage Details
@lumascript/compiler
- Dependencies: None
- Purpose: LS → JS compilation
- Entry:
dist/index.js
@lumascript/lpm
- Dependencies: None (internal)
- Purpose: Package management
- Entry:
dist/index.js - Binary:
bin/lpm.js
@lumascript/cli
- Dependencies:
@lumascript/compiler,@lumascript/lpm - Purpose: CLI toolchain
- Entry:
dist/index.js - Binary:
bin/luma.js
Key Fixes Applied
✅ Commander.js proper Command class extension ✅ Removed invalid error() overrides ✅ Fixed private method access issues ✅ Package imports instead of relative paths ✅ Project reference TypeScript configuration ✅ Proper type definitions (no {} types) ✅ Workspace dependency resolution ✅ Composite build configuration
Publishing
# Publish in dependency order
cd packages/compiler && npm publish --access public
cd packages/lpm && npm publish --access public
cd packages/cli && npm publish --access publicLicense
MIT
