@codyswann/lisa 2.181.0 → 2.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/configs/eslint/phaser.d.ts.map +1 -1
  2. package/dist/configs/eslint/phaser.js +5 -0
  3. package/dist/configs/eslint/phaser.js.map +1 -1
  4. package/package.json +1 -1
  5. package/phaser/copy-overwrite/.github/workflows/ci.yml +3 -0
  6. package/phaser/create-only/tsconfig.local.json +4 -0
  7. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  9. package/plugins/lisa-agy/plugin.json +1 -1
  10. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  11. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  12. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  13. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  15. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  19. package/plugins/lisa-expo-agy/plugin.json +1 -1
  20. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  25. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  29. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  30. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  34. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  35. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  39. package/plugins/lisa-phaser/skills/phaser-build-deploy/SKILL.md +9 -4
  40. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  41. package/plugins/lisa-phaser-agy/skills/phaser-build-deploy/SKILL.md +9 -4
  42. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-phaser-copilot/skills/phaser-build-deploy/SKILL.md +9 -4
  44. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-phaser-cursor/skills/phaser-build-deploy/SKILL.md +9 -4
  46. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-rails-agy/plugin.json +1 -1
  49. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  53. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  54. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  58. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  59. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  61. package/plugins/src/phaser/skills/phaser-build-deploy/SKILL.md +9 -4
  62. package/tsconfig/phaser.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"phaser.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/phaser.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EACL,cAAc,EACd,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAM7C,QAAA,MAAM,YAAY,KAIjB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,oBAAoB,UAKhC,CAAC;AA4MF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,cAAqC,EACrC,UAA8B,GAC/B,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,iBAAiB,CAAC;CACvC,GAAG,MAAM,CAAC,MAAM,EAAE,CAKlB"}
1
+ {"version":3,"file":"phaser.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/phaser.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EACL,cAAc,EACd,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAM7C,QAAA,MAAM,YAAY,KAIjB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,oBAAoB,UAKhC,CAAC;AAiNF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,cAAqC,EACrC,UAA8B,GAC/B,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,iBAAiB,CAAC;CACvC,GAAG,MAAM,CAAC,MAAM,EAAE,CAKlB"}
@@ -159,6 +159,11 @@ const PHASER_OVERRIDES = [
159
159
  "phaser/no-create-in-update": "error",
160
160
  "phaser/no-allocation-in-update": "error",
161
161
  "phaser/require-shutdown-cleanup": "error",
162
+ // Game hot loops want the zero-allocation indexed for-loop
163
+ // (`for (let i = 0; …)`), which otherwise conflicts with
164
+ // no-allocation-in-update (for...of/.entries() allocate an iterator).
165
+ // Keep no-let everywhere else; allow it only in for-loop init.
166
+ "functional/no-let": ["error", { allowInForLoopInit: true }],
162
167
  },
163
168
  },
164
169
  // The architecture boundary: pure logic may not import Phaser.
@@ -1 +1 @@
1
- {"version":3,"file":"phaser.js","sourceRoot":"","sources":["../../../src/configs/eslint/phaser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAGpC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAE7C,gFAAgF;AAChF,iFAAiF;AACjF,2EAA2E;AAC3E,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,Y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 -93,7 +93,7 @@
93
93
  "ws": ">=8.20.1"
94
94
  },
95
95
  "name": "@codyswann/lisa",
96
- "version": "2.181.0",
96
+ "version": "2.183.0",
97
97
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
98
98
  "main": "dist/index.js",
99
99
  "exports": {
@@ -15,6 +15,9 @@ jobs:
15
15
  node_version: '22.21.1'
16
16
  package_manager: 'bun'
17
17
  skip_jobs: ''
18
+ # Verification IS UAT: a feat/fix must ship a tests/e2e verification spec
19
+ # (an agent playing the game), unless labeled verification-exempt.
20
+ verify_enforced: true
18
21
  secrets:
19
22
  SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20
23
  SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
@@ -0,0 +1,4 @@
1
+ {
2
+ "include": ["src/**/*", "tests/**/*"],
3
+ "exclude": ["node_modules", "dist", "coverage"]
4
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -31,7 +31,10 @@ export default defineConfig({
31
31
  terserOptions: { compress: { passes: 2, drop_console: true }, format: { comments: false } },
32
32
  rollupOptions: {
33
33
  output: {
34
- manualChunks: { phaser: ["phaser"] }, // engine in its own long-lived chunk
34
+ // Vite 8's rolldown bundler requires the FUNCTION form (the object form
35
+ // `{ phaser: ["phaser"] }` throws "manualChunks is not a function").
36
+ manualChunks: id =>
37
+ id.includes("node_modules/phaser") ? "phaser" : undefined,
35
38
  entryFileNames: "assets/[name]-[hash].js", // content hash on everything
36
39
  chunkFileNames: "assets/[name]-[hash].js",
37
40
  assetFileNames: "assets/[name]-[hash][extname]",
@@ -41,9 +44,11 @@ export default defineConfig({
41
44
  });
42
45
  ```
43
46
 
44
- `manualChunks: { phaser: ["phaser"] }` is the single highest-value line: Phaser is
45
- hundreds of KB and rarely changes, so isolating it means a gameplay tweak only
46
- busts the small app chunk. Two-pass terser squeezes meaningfully more than one.
47
+ The `manualChunks` function is the single highest-value line: Phaser is hundreds
48
+ of KB and rarely changes, so isolating it means a gameplay tweak only busts the
49
+ small app chunk. Use the **function** form Vite 8 ships the rolldown bundler,
50
+ which requires it (the classic object form throws `manualChunks is not a
51
+ function`). Two-pass terser squeezes meaningfully more than one.
47
52
 
48
53
  ## Asset hashing and immutable caching
49
54
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -31,7 +31,10 @@ export default defineConfig({
31
31
  terserOptions: { compress: { passes: 2, drop_console: true }, format: { comments: false } },
32
32
  rollupOptions: {
33
33
  output: {
34
- manualChunks: { phaser: ["phaser"] }, // engine in its own long-lived chunk
34
+ // Vite 8's rolldown bundler requires the FUNCTION form (the object form
35
+ // `{ phaser: ["phaser"] }` throws "manualChunks is not a function").
36
+ manualChunks: id =>
37
+ id.includes("node_modules/phaser") ? "phaser" : undefined,
35
38
  entryFileNames: "assets/[name]-[hash].js", // content hash on everything
36
39
  chunkFileNames: "assets/[name]-[hash].js",
37
40
  assetFileNames: "assets/[name]-[hash][extname]",
@@ -41,9 +44,11 @@ export default defineConfig({
41
44
  });
42
45
  ```
43
46
 
44
- `manualChunks: { phaser: ["phaser"] }` is the single highest-value line: Phaser is
45
- hundreds of KB and rarely changes, so isolating it means a gameplay tweak only
46
- busts the small app chunk. Two-pass terser squeezes meaningfully more than one.
47
+ The `manualChunks` function is the single highest-value line: Phaser is hundreds
48
+ of KB and rarely changes, so isolating it means a gameplay tweak only busts the
49
+ small app chunk. Use the **function** form Vite 8 ships the rolldown bundler,
50
+ which requires it (the classic object form throws `manualChunks is not a
51
+ function`). Two-pass terser squeezes meaningfully more than one.
47
52
 
48
53
  ## Asset hashing and immutable caching
49
54
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -31,7 +31,10 @@ export default defineConfig({
31
31
  terserOptions: { compress: { passes: 2, drop_console: true }, format: { comments: false } },
32
32
  rollupOptions: {
33
33
  output: {
34
- manualChunks: { phaser: ["phaser"] }, // engine in its own long-lived chunk
34
+ // Vite 8's rolldown bundler requires the FUNCTION form (the object form
35
+ // `{ phaser: ["phaser"] }` throws "manualChunks is not a function").
36
+ manualChunks: id =>
37
+ id.includes("node_modules/phaser") ? "phaser" : undefined,
35
38
  entryFileNames: "assets/[name]-[hash].js", // content hash on everything
36
39
  chunkFileNames: "assets/[name]-[hash].js",
37
40
  assetFileNames: "assets/[name]-[hash][extname]",
@@ -41,9 +44,11 @@ export default defineConfig({
41
44
  });
42
45
  ```
43
46
 
44
- `manualChunks: { phaser: ["phaser"] }` is the single highest-value line: Phaser is
45
- hundreds of KB and rarely changes, so isolating it means a gameplay tweak only
46
- busts the small app chunk. Two-pass terser squeezes meaningfully more than one.
47
+ The `manualChunks` function is the single highest-value line: Phaser is hundreds
48
+ of KB and rarely changes, so isolating it means a gameplay tweak only busts the
49
+ small app chunk. Use the **function** form Vite 8 ships the rolldown bundler,
50
+ which requires it (the classic object form throws `manualChunks is not a
51
+ function`). Two-pass terser squeezes meaningfully more than one.
47
52
 
48
53
  ## Asset hashing and immutable caching
49
54
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -31,7 +31,10 @@ export default defineConfig({
31
31
  terserOptions: { compress: { passes: 2, drop_console: true }, format: { comments: false } },
32
32
  rollupOptions: {
33
33
  output: {
34
- manualChunks: { phaser: ["phaser"] }, // engine in its own long-lived chunk
34
+ // Vite 8's rolldown bundler requires the FUNCTION form (the object form
35
+ // `{ phaser: ["phaser"] }` throws "manualChunks is not a function").
36
+ manualChunks: id =>
37
+ id.includes("node_modules/phaser") ? "phaser" : undefined,
35
38
  entryFileNames: "assets/[name]-[hash].js", // content hash on everything
36
39
  chunkFileNames: "assets/[name]-[hash].js",
37
40
  assetFileNames: "assets/[name]-[hash][extname]",
@@ -41,9 +44,11 @@ export default defineConfig({
41
44
  });
42
45
  ```
43
46
 
44
- `manualChunks: { phaser: ["phaser"] }` is the single highest-value line: Phaser is
45
- hundreds of KB and rarely changes, so isolating it means a gameplay tweak only
46
- busts the small app chunk. Two-pass terser squeezes meaningfully more than one.
47
+ The `manualChunks` function is the single highest-value line: Phaser is hundreds
48
+ of KB and rarely changes, so isolating it means a gameplay tweak only busts the
49
+ small app chunk. Use the **function** form Vite 8 ships the rolldown bundler,
50
+ which requires it (the classic object form throws `manualChunks is not a
51
+ function`). Two-pass terser squeezes meaningfully more than one.
47
52
 
48
53
  ## Asset hashing and immutable caching
49
54
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.181.0",
3
+ "version": "2.183.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -31,7 +31,10 @@ export default defineConfig({
31
31
  terserOptions: { compress: { passes: 2, drop_console: true }, format: { comments: false } },
32
32
  rollupOptions: {
33
33
  output: {
34
- manualChunks: { phaser: ["phaser"] }, // engine in its own long-lived chunk
34
+ // Vite 8's rolldown bundler requires the FUNCTION form (the object form
35
+ // `{ phaser: ["phaser"] }` throws "manualChunks is not a function").
36
+ manualChunks: id =>
37
+ id.includes("node_modules/phaser") ? "phaser" : undefined,
35
38
  entryFileNames: "assets/[name]-[hash].js", // content hash on everything
36
39
  chunkFileNames: "assets/[name]-[hash].js",
37
40
  assetFileNames: "assets/[name]-[hash][extname]",
@@ -41,9 +44,11 @@ export default defineConfig({
41
44
  });
42
45
  ```
43
46
 
44
- `manualChunks: { phaser: ["phaser"] }` is the single highest-value line: Phaser is
45
- hundreds of KB and rarely changes, so isolating it means a gameplay tweak only
46
- busts the small app chunk. Two-pass terser squeezes meaningfully more than one.
47
+ The `manualChunks` function is the single highest-value line: Phaser is hundreds
48
+ of KB and rarely changes, so isolating it means a gameplay tweak only busts the
49
+ small app chunk. Use the **function** form Vite 8 ships the rolldown bundler,
50
+ which requires it (the classic object form throws `manualChunks is not a
51
+ function`). Two-pass terser squeezes meaningfully more than one.
47
52
 
48
53
  ## Asset hashing and immutable caching
49
54
 
@@ -2,8 +2,8 @@
2
2
  "extends": "./typescript.json",
3
3
  "compilerOptions": {
4
4
  "lib": ["ES2022", "DOM", "DOM.Iterable"],
5
- "rootDir": ".",
6
- "outDir": "dist",
5
+ "module": "ESNext",
6
+ "moduleResolution": "Bundler",
7
7
  "resolveJsonModule": true,
8
8
  "allowJs": false,
9
9
  "skipLibCheck": true,