ludic/changes/package-scripts.md
Orkuncakilkaya f92d7f89c6 feat(tooling): JetBrains IDE support, LSP navigation, barrel imports, package scripts and hooks
- JetBrains plugin 1.4.0: semantic colours (builtin / vendor / own), template strings,
  brace handling, run configurations and a test console, package.ludic and
  package.lock.ludic editing (completion, docs, app preview, colour previews, asset
  navigation), External Libraries for the runtime and packages, doc pages for built-ins
- ludic-lsp: go to definition for imports, document links, hover with inferred types,
  type definition, signature help with parameters, docs from docs/language
- `import "dir"` resolves a barrel `dir/index.ludic`
- package.ludic `entry`, `script` and `hook before|after <command>`; `ludic <script>`,
  `ludic script`, `ludic scripts`
- `ludic test --verbose` and `--test NAME`; the test runner filters by name

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 16:13:31 +03:00

649 B

bump: minor type: feat package.ludic gains entry, scripts and lifecycle hooks:

  • entry "src/game.ludic" names the program ludic run/build/bundle compile. Without it, the one file under src/ that declares a program is used.
  • script "dev" "ludic run --headless" defines a command: ludic dev (or ludic script dev) runs it with any extra arguments, and ludic scripts lists them.
  • hook before|after <command> "…" wraps build, run, test, bundle, pack, get, … or a script. A failing before hook stops the command; after hooks run only on success.
  • Quoted manifest values accept \" and \\ escapes.