|
| 1 | +# TODO Checklist |
| 2 | + |
| 3 | +- [x] **Fix all TypeScript build errors and warnings** |
| 4 | + - [x] Remove duplicate/unused functions and variables |
| 5 | + - [x] Correct all type/interface issues (especially optional properties) |
| 6 | + - [x] Ensure all imports are correct and used |
| 7 | +- [x] **Implement real Lua/Luau parsing in `generateTypeScript`** |
| 8 | + - [x] Integrate or stub a parser for Lua/Luau AST generation |
| 9 | +- [x] **Add proper plugin loading and application in CLI processor** |
| 10 | + - [x] Remove duplicate `applyPlugins` and implement dynamic plugin loading |
| 11 | +- [x] **Expand CLI validation logic beyond placeholder** |
| 12 | + - [x] Add real validation for Lua/Luau files |
| 13 | +- [ ] **Write unit tests for CLI and processor modules** |
| 14 | + - [ ] Cover CLI commands and processor logic |
| 15 | +- [ ] **Improve error handling and user feedback in CLI** |
| 16 | + - [ ] Make CLI output clear and actionable |
| 17 | +- [x] **Document configuration options and CLI usage** |
| 18 | + - [x] Add README and CLI help improvements |
| 19 | +- [ ] **Add support for more CLI commands (e.g., format, lint)** |
| 20 | +- [ ] **Ensure cross-platform compatibility (Windows, Linux, macOS)** |
| 21 | + - [ ] Replace `rm -rf` with cross-platform alternatives (e.g., `rimraf`) |
| 22 | +- [ ] **Set up CI for automated builds and tests** |
| 23 | + - [ ] Add GitHub Actions or similar workflow |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Additional Ideas & Improvements |
| 28 | + |
| 29 | +- [ ] **Publish TypeScript declaration files (`.d.ts`) for all public APIs** |
| 30 | +- [ ] **Add ESM and CJS dual support with proper `"exports"` field** |
| 31 | +- [ ] **Provide a VSCode extension for Lua/Luau → TypeScript conversion** |
| 32 | +- [ ] **Add support for custom output templates (e.g., for JSDoc, TSDoc, etc.)** |
| 33 | +- [ ] **Enable incremental builds for large codebases** |
| 34 | +- [ ] **Support for Lua 5.4 and future Luau features** |
| 35 | +- [ ] **Add a web playground (REPL) for live conversion and preview** |
| 36 | +- [ ] **Add a `luats init` command to scaffold config and example files** |
| 37 | +- [ ] **Support for YAML config files in addition to JSON** |
| 38 | +- [ ] **Add CLI auto-completion scripts for bash/zsh/fish** |
| 39 | +- [ ] **Improve error messages with code frames and suggestions** |
| 40 | +- [ ] **Add a `luats watch` mode for live conversion in dev workflows** |
| 41 | +- [ ] **Provide migration guides for legacy Lua codebases** |
| 42 | +- [ ] **Add benchmarking and performance tests** |
| 43 | +- [ ] **Support for sourcemaps or code mapping back to Lua** |
| 44 | +- [ ] **Add a logo/banner to npm and GitHub README** |
| 45 | +- [ ] **Add badges for test coverage, bundle size, etc.** |
| 46 | +- [ ] **Publish example projects and templates** |
| 47 | +- [ ] **Add a `luats doctor` command for troubleshooting environment/config issues** |
| 48 | +- [ ] **Support for monorepo setups and workspace-aware config** |
| 49 | +- [ ] **Add support for extern types/classes (typically ending in a .d.lua file)** |
| 50 | +- [ ] **Add ability to reverse logic (ie: transform typescript into lua)** |
0 commit comments