@kumikijs/compiler 0.4.0 → 0.5.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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ function codegen(program, opts) {
101
101
  if (opts.exportApp) {
102
102
  lines.push("export default App;");
103
103
  lines.push("export { createApp };");
104
- } else lines.push(`mount(App, document.getElementById("root"), { providers: globalThis.__kumikiProviders });`);
104
+ } else lines.push(`mount(App, document.getElementById("root"), { providers: globalThis.__kumikiProviders, ...globalThis.__kumikiMount });`);
105
105
  return lines.join("\n");
106
106
  }
107
107
  function recordField(e, name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumikijs/compiler",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "Kumiki compiler — lexer, parser, typechecker, and code generator.",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "provenance": true
42
42
  },
43
43
  "dependencies": {
44
- "@kumikijs/runtime": "0.4.0"
44
+ "@kumikijs/runtime": "0.5.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^25.9.1",