@nuraly/runtime 0.1.4 → 0.1.5

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 (48) hide show
  1. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.d.ts +0 -1
  2. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.d.ts +0 -2
  3. package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.d.ts +0 -1
  4. package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.d.ts +0 -1
  5. package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.d.ts +0 -1
  6. package/components/ui/nuraly-ui/packages/common/dist/shared/themes.d.ts +0 -1
  7. package/components/ui/nuraly-ui/packages/common/dist/shared/utils.d.ts +60 -0
  8. package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.d.ts +108 -0
  9. package/components/ui/nuraly-ui/src/components/radio-group/radio-group.component.ts +1 -1
  10. package/components/ui/nuraly-ui/src/components/radio-group/radio-group.types.ts +1 -0
  11. package/dist/CodeEditor-BiNku87K.js +808 -0
  12. package/dist/{CodeEditor-Ch2tv9BE.js → CodeEditor-G6E8PUI7.js} +14593 -14607
  13. package/dist/{SmartAttributeHandler-hoSLpm1Y.js → SmartAttributeHandler-C9vS-cHW.js} +1 -1
  14. package/dist/SmartAttributeHandler-u-ZHGueR.js +193 -0
  15. package/dist/assets/editor.worker-C_S4Avdt.js +11 -0
  16. package/dist/assets/{html.worker-BSmGlhXp.js → html.worker-DfuQASUV.js} +18 -18
  17. package/dist/assets/json.worker-Cucz4wxY.js +42 -0
  18. package/dist/assets/{ts.worker-DyHHPhrh.js → ts.worker-Dme6S0YK.js} +78 -78
  19. package/dist/cssMode-B7NVlrDV.js +1443 -0
  20. package/dist/{freemarker2-DNc2IxPf.js → freemarker2-DS_7G9b8.js} +1 -1
  21. package/dist/{handlebars-CIbFckEw.js → handlebars-BDyyLkzw.js} +1 -1
  22. package/dist/{html-nRs_fneU.js → html-DphGFjig.js} +1 -1
  23. package/dist/{htmlMode-BjehA1YF.js → htmlMode-4zNnSWFo.js} +278 -281
  24. package/dist/index-B4yIOSMd.js +3847 -0
  25. package/dist/{javascript-Bn0HduZA.js → javascript-CC1jWyQy.js} +1 -1
  26. package/dist/{jsonMode-CfGfcJRX.js → jsonMode-Bfzb6wZf.js} +369 -372
  27. package/dist/{liquid-m4D_LCnC.js → liquid-lTBpqagR.js} +1 -1
  28. package/dist/{mdx-CakMRbCr.js → mdx-DX66Bp07.js} +1 -1
  29. package/dist/{micro-app-entry-CI1Rupdh.js → micro-app-entry-DDsAWUJh.js} +5138 -5322
  30. package/dist/micro-app.bundle.js +1 -1
  31. package/dist/micro-app.js +9775 -0
  32. package/dist/{python-oJwaiPUY.js → python-BGUhyO4G.js} +1 -1
  33. package/dist/{razor-u_dd4rqc.js → razor-DEVWQFSa.js} +1 -1
  34. package/dist/runtime.js +401 -0
  35. package/dist/style.css +1 -1
  36. package/dist/tsMode-CYFi80Jf.js +800 -0
  37. package/dist/{typescript-Bjs2N5Be.js → typescript-B1xIbH_T.js} +1 -1
  38. package/dist/{wgsl-Bv2xeo60.js → wgsl-C9yjop46.js} +1 -1
  39. package/dist/{xml-BCveATLl.js → xml-DmdvyqrE.js} +1 -1
  40. package/dist/{yaml-BfWQPJQi.js → yaml-LGNo48fy.js} +1 -1
  41. package/package.json +2 -2
  42. package/vite.config.ts +8 -8
  43. package/dist/.claude/settings.local.json +0 -9
  44. package/dist/assets/editor.worker-vBWydyGC.js +0 -11
  45. package/dist/assets/json.worker-Dqnoedz4.js +0 -42
  46. package/dist/cssMode-Bt2uK8XM.js +0 -1446
  47. package/dist/micro-app.bundle.umd.cjs +0 -5051
  48. package/dist/tsMode-DlZ38d3D.js +0 -813
@@ -1,4 +1,4 @@
1
- import { m as s } from "./CodeEditor-Ch2tv9BE.js";
1
+ import { m as s } from "./CodeEditor-G6E8PUI7.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
@@ -329,7 +329,7 @@ var s = e("true false"), c = e(`
329
329
  ^=
330
330
  >>=
331
331
  <<=
332
- `), _ = /enable|requires|diagnostic/, n = new RegExp("[_\\p{XID_Start}]\\p{XID_Continue}*", "u"), t = "variable.predefined", h = {
332
+ `), _ = /enable|requires|diagnostic/, n = /[_\p{XID_Start}]\p{XID_Continue}*/u, t = "variable.predefined", h = {
333
333
  tokenPostfix: ".wgsl",
334
334
  defaultToken: "invalid",
335
335
  unicode: !0,
@@ -1,4 +1,4 @@
1
- import { m as r } from "./CodeEditor-Ch2tv9BE.js";
1
+ import { m as r } from "./CodeEditor-G6E8PUI7.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./CodeEditor-Ch2tv9BE.js";
1
+ import { m as l } from "./CodeEditor-G6E8PUI7.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuraly/runtime",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Nuraly Visual App Builder Runtime - State management, handler execution, and component system with bundled micro-app support",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -89,7 +89,7 @@
89
89
  "build": "vite build",
90
90
  "build:bundle": "BUILD_BUNDLE=true vite build",
91
91
  "build:all": "npm run build && npm run build:bundle",
92
- "prepublishOnly": "npm run build"
92
+ "prepublishOnly": "npm run build:all"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "lit": "^3.0.0",
package/vite.config.ts CHANGED
@@ -7,6 +7,8 @@ const isBundleBuild = process.env.BUILD_BUNDLE === 'true';
7
7
  export default defineConfig({
8
8
  build: {
9
9
  target: 'esnext', // Support top-level await
10
+ // Don't empty outDir on bundle build to preserve regular build artifacts
11
+ emptyOutDir: !isBundleBuild,
10
12
  lib: {
11
13
  entry: isBundleBuild
12
14
  ? { 'micro-app.bundle': resolve(__dirname, 'micro-app-entry.ts') }
@@ -18,11 +20,11 @@ export default defineConfig({
18
20
  },
19
21
  rollupOptions: {
20
22
  external: (id) => {
21
- // For bundle build, bundle EVERYTHING including @nuralyui components
22
- // for a truly standalone bundle
23
+ // For bundle build, externalize @nuralyui to avoid broken import issues
24
+ // Users will need to load @nuralyui components separately
23
25
  if (isBundleBuild) {
24
- // Only externalize node built-ins
25
- return /^node:/.test(id);
26
+ // Externalize node built-ins and @nuralyui packages (they have broken internal imports)
27
+ return /^node:/.test(id) || id.startsWith('@nuralyui/');
26
28
  }
27
29
 
28
30
  // For regular builds, externalize all external dependencies and node_modules
@@ -45,10 +47,8 @@ export default defineConfig({
45
47
  id.includes('node_modules');
46
48
  },
47
49
  output: {
48
- // Output to dist folder in the runtime directory or studio-runtime/dist
49
- dir: isBundleBuild
50
- ? resolve(__dirname, 'dist')
51
- : resolve(__dirname, '../../studio-runtime/dist'),
50
+ // Always output to local dist folder for publishing
51
+ dir: resolve(__dirname, 'dist'),
52
52
  format: 'es',
53
53
  globals: isBundleBuild ? {} : {
54
54
  lit: 'Lit',
@@ -1,9 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(ls:*)"
5
- ],
6
- "deny": [],
7
- "ask": []
8
- }
9
- }