@rozenite/vite-plugin 1.13.0 → 2.1.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 (57) hide show
  1. package/README.md +12 -0
  2. package/dist/bundle-dts.d.ts.map +1 -1
  3. package/dist/client-plugin.d.ts.map +1 -1
  4. package/dist/dev-host/assets/index-BgAxGQdD.js +13 -0
  5. package/dist/dev-host/assets/index-ClIYIppU.css +1 -0
  6. package/dist/dev-host/index.html +3 -3
  7. package/dist/dev-host/manifest.json +2 -2
  8. package/dist/index.cjs +34 -63
  9. package/dist/index.d.ts +9 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +34 -63
  12. package/dist/load-config.d.ts.map +1 -1
  13. package/dist/package-json.d.ts.map +1 -1
  14. package/dist/react-native-plugin.d.ts.map +1 -1
  15. package/dist/require-plugin.d.ts.map +1 -1
  16. package/dist/sdk-plugin.d.ts.map +1 -1
  17. package/dist/server-plugin.d.ts.map +1 -1
  18. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  19. package/dist/utils.d.ts.map +1 -1
  20. package/package.json +29 -30
  21. package/src/bundle-dts.ts +6 -14
  22. package/src/client-plugin.ts +13 -36
  23. package/src/dev-host/App.tsx +184 -414
  24. package/src/dev-host/components/DispatchForm.tsx +97 -121
  25. package/src/dev-host/components/FlowList.tsx +70 -102
  26. package/src/dev-host/components/MessageDetailsPane.tsx +50 -83
  27. package/src/dev-host/components/MessageLogPane.tsx +75 -66
  28. package/src/dev-host/components/PanelTabs.tsx +19 -10
  29. package/src/dev-host/constants.ts +0 -19
  30. package/src/dev-host/flow-runtime.ts +15 -12
  31. package/src/dev-host/index.html +1 -1
  32. package/src/dev-host/main.tsx +1 -10
  33. package/src/dev-host/styles.css +162 -830
  34. package/src/dev-host/types.ts +0 -9
  35. package/src/dev-host/utils.ts +1 -7
  36. package/src/dev-host/vite.config.mts +2 -0
  37. package/src/index.ts +16 -16
  38. package/src/load-config.ts +9 -20
  39. package/src/package-json.ts +1 -3
  40. package/src/react-native-plugin.ts +4 -2
  41. package/src/require-plugin.ts +6 -18
  42. package/src/sdk-plugin.ts +3 -0
  43. package/src/server-plugin.ts +3 -0
  44. package/src/utils.ts +1 -4
  45. package/dist/dev-host/assets/index-CkxvBMpp.css +0 -1
  46. package/dist/dev-host/assets/index-cNKHRwej.js +0 -11
  47. package/src/dev-host/components/MessagePayloadDetail.tsx +0 -32
  48. package/src/dev-host/components/ResizeHandle.tsx +0 -33
  49. package/src/dev-host/components/icons.tsx +0 -79
  50. package/src/dev-host/components/ui/Button.tsx +0 -91
  51. package/src/dev-host/components/ui/DropdownMenu.tsx +0 -84
  52. package/src/dev-host/components/ui/IconButton.tsx +0 -41
  53. package/src/dev-host/components/ui/Input.tsx +0 -73
  54. package/src/dev-host/components/ui/ScrollArea.tsx +0 -20
  55. package/src/dev-host/components/ui/Tabs.tsx +0 -166
  56. package/src/dev-host/components/ui/Textarea.tsx +0 -79
  57. package/src/dev-host/components/ui/ToggleGroup.tsx +0 -120
@@ -0,0 +1 @@
1
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--radius-sm:calc(var(--radius) * .6);--radius-md:calc(var(--radius) * .8);--radius-lg:var(--radius);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring) 50%,transparent)}}body{background-color:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--border);border-radius:var(--radius-lg);background-clip:padding-box;border:2px solid #0000}::-webkit-scrollbar-thumb:hover{background-color:var(--muted-foreground)}html,body,#root{height:100%;margin:0}body{overflow:hidden}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.bottom-4{bottom:calc(var(--spacing) * 4)}.left-0\.5{left:calc(var(--spacing) * .5)}.left-2\.5{left:calc(var(--spacing) * 2.5)}.z-10{z-index:10}.z-50{z-index:50}.row-0{grid-row:0}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-auto{margin-top:auto}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.ml-3\.5{margin-left:calc(var(--spacing) * 3.5)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-12{height:calc(var(--spacing) * 12)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-64{max-height:calc(var(--spacing) * 64)}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-56{min-height:calc(var(--spacing) * 56)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-56{width:calc(var(--spacing) * 56)}.w-80{width:calc(var(--spacing) * 80)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-160{max-width:calc(var(--spacing) * 160)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-\[--anchor-width\]{min-width:--anchor-width}.min-w-full{min-width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-90{rotate:90deg}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-y{resize:vertical}.grid-cols-\[minmax\(7rem\,25\%\)_minmax\(3rem\,1fr\)\]{grid-template-columns:minmax(7rem,25%) minmax(3rem,1fr)}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-sm{border-radius:calc(var(--radius) * .6)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border)}.border-destructive\/50{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.border-destructive\/50{border-color:color-mix(in oklab,var(--destructive) 50%,transparent)}}.border-input{border-color:var(--input)}.border-ring{border-color:var(--ring)}.border-sidebar-border{border-color:var(--sidebar-border)}.bg-background,.bg-background\/70{background-color:var(--background)}@supports (color:color-mix(in lab,red,red)){.bg-background\/70{background-color:color-mix(in oklab,var(--background) 70%,transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground{background-color:var(--foreground)}.bg-muted{background-color:var(--muted)}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-transparent{background-color:#0000}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-10{padding-block:calc(var(--spacing) * 10)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-14{padding-right:calc(var(--spacing) * 14)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent-foreground{color:var(--accent-foreground)}.text-background{color:var(--background)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-destructive-foreground{color:var(--destructive-foreground)}.text-foreground{color:var(--foreground)}.text-muted-foreground,.text-muted-foreground\/60{color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\/60{color:color-mix(in oklab,var(--muted-foreground) 60%,transparent)}}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/60{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab,red,red)){.text-sidebar-foreground\/60{color:color-mix(in oklab,var(--sidebar-foreground) 60%,transparent)}}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-\[transform\,opacity\]{transition-property:transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[transform\,scale\,opacity\]{transition-property:transform,scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.running{animation-play-state:running}@media(hover:hover){.group-hover\:translate-x-0\.5:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\:-translate-y-0\.5:is(:where(.group):hover *){--tw-translate-y:calc(var(--spacing) * -.5);translate:var(--tw-translate-x) var(--tw-translate-y)}}.group-aria-\[orientation\=horizontal\]\/split-handle\:h-3:is(:where(.group\/split-handle)[aria-orientation=horizontal] *){height:calc(var(--spacing) * 3)}.group-aria-\[orientation\=horizontal\]\/split-handle\:w-4:is(:where(.group\/split-handle)[aria-orientation=horizontal] *){width:calc(var(--spacing) * 4)}.group-aria-\[orientation\=horizontal\]\/split-handle\:rotate-90:is(:where(.group\/split-handle)[aria-orientation=horizontal] *){rotate:90deg}.group-aria-\[orientation\=vertical\]\/split-handle\:h-4:is(:where(.group\/split-handle)[aria-orientation=vertical] *){height:calc(var(--spacing) * 4)}.group-aria-\[orientation\=vertical\]\/split-handle\:w-3:is(:where(.group\/split-handle)[aria-orientation=vertical] *){width:calc(var(--spacing) * 3)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:calc(var(--spacing) * 1)}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}@media(hover:hover){.hover\:bg-accent:hover,.hover\:bg-accent\/50:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/50:hover{background-color:color-mix(in oklab,var(--accent) 50%,transparent)}}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive) 90%,transparent)}}.hover\:bg-muted-foreground:hover{background-color:var(--muted-foreground)}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-primary:hover{color:var(--primary)}.hover\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible,.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:ring-sidebar-ring:focus-visible{--tw-ring-color:var(--sidebar-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--background)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.aria-\[orientation\=horizontal\]\:h-px[aria-orientation=horizontal]{height:1px}.aria-\[orientation\=horizontal\]\:cursor-row-resize[aria-orientation=horizontal]{cursor:row-resize}.aria-\[orientation\=vertical\]\:w-px[aria-orientation=vertical]{width:1px}.aria-\[orientation\=vertical\]\:cursor-col-resize[aria-orientation=vertical]{cursor:col-resize}.data-\[checked\]\:translate-x-4[data-checked]{--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[checked\]\:border-primary[data-checked]{border-color:var(--primary)}.data-\[checked\]\:bg-primary[data-checked]{background-color:var(--primary)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[ending-style\]\:scale-90[data-ending-style]{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[ending-style\]\:scale-95[data-ending-style]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[ending-style\]\:opacity-0[data-ending-style]{opacity:0}.data-\[highlighted\]\:bg-accent[data-highlighted]{background-color:var(--accent)}.data-\[highlighted\]\:text-accent-foreground[data-highlighted]{color:var(--accent-foreground)}.data-\[selected\]\:bg-background[data-selected]{background-color:var(--background)}.data-\[selected\]\:bg-sidebar-accent[data-selected]{background-color:var(--sidebar-accent)}.data-\[selected\]\:font-medium[data-selected]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[selected\]\:text-foreground[data-selected]{color:var(--foreground)}.data-\[selected\]\:text-sidebar-accent-foreground[data-selected]{color:var(--sidebar-accent-foreground)}.data-\[selected\]\:shadow-xs[data-selected]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[starting-style\]\:scale-90[data-starting-style]{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[starting-style\]\:scale-95[data-starting-style]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[starting-style\]\:opacity-0[data-starting-style]{opacity:0}@media(min-width:40rem){.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-3\.5 svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:h-3\.5 svg{height:calc(var(--spacing) * 3.5)}.\[\&_svg\]\:w-3\.5 svg{width:calc(var(--spacing) * 3.5)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&\:\:-webkit-search-cancel-button\]\:appearance-none::-webkit-search-cancel-button{appearance:none}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--radius:0;--background:#fff;--foreground:#201f24;--card:#fff;--card-foreground:#201f24;--popover:#fff;--popover-foreground:#201f24;--primary:#8232ff;--primary-foreground:#fff;--secondary:#f9f8fd;--secondary-foreground:#201f24;--muted:#f9f8fd;--muted-foreground:#838289;--accent:#8232ff29;--accent-foreground:#201f24;--destructive:#fa7171;--destructive-foreground:#201f24;--border:#cfced5;--input:#cfced5;--ring:#8232ff;--sidebar:#fff;--sidebar-foreground:#201f24;--sidebar-primary:#8232ff;--sidebar-primary-foreground:#fff;--sidebar-accent:#8232ff29;--sidebar-accent-foreground:#201f24;--sidebar-border:#cfced5;--sidebar-ring:#8232ff}.dark{--background:#201f24;--foreground:#fff;--card:#201f24;--card-foreground:#fff;--popover:#2b2a2f;--popover-foreground:#fff;--primary:#8232ff;--primary-foreground:#fff;--secondary:#2b2a2f;--secondary-foreground:#fff;--muted:#2b2a2f;--muted-foreground:#cfced5;--accent:#8232ff33;--accent-foreground:#fff;--destructive:#fa7171;--destructive-foreground:#201f24;--border:#424145;--input:#424145;--ring:#8232ff;--sidebar:#201f24;--sidebar-foreground:#fff;--sidebar-primary:#8232ff;--sidebar-primary-foreground:#fff;--sidebar-accent:#8232ff33;--sidebar-accent-foreground:#fff;--sidebar-border:#424145;--sidebar-ring:#8232ff}.dev-host{height:100dvh;overflow:hidden}.dev-host-body{min-height:0;overflow:hidden!important}.dev-host-header{min-height:3.25rem}.dev-host-header-title{flex-direction:column;gap:.125rem;min-width:0;display:flex}.dev-host-header-subtitle{text-overflow:ellipsis;white-space:nowrap;max-width:30rem;overflow:hidden}.dev-host-panel-select{width:min(16rem,32vw)}.dev-host-main-split{flex:1;min-height:0}.dev-host-preview{background:var(--background);height:100%;min-height:0;position:relative;overflow:hidden}.dev-host-iframe{background:var(--background);border:0;width:100%;height:100%;display:block}.dev-host-devtools{height:100%;min-height:0;overflow:hidden}.dev-host-pane{background:var(--background);flex-direction:column;flex:1;height:100%;min-height:0;display:flex;overflow:hidden}.dev-host-pane-header{border-bottom:1px solid var(--border);background:var(--card);flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;min-height:2.75rem;padding:.625rem .875rem;display:flex}.dev-host-pane-title{color:var(--foreground);letter-spacing:.06em;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.6875rem;font-weight:600}.dev-host-pane-actions{align-items:center;gap:.25rem;display:flex}.dev-host-scroll{flex:1;min-height:0}.dev-host-message-table{min-width:42rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dev-host-direction-in{color:#22c55e}.dev-host-direction-out{color:#f59e0b}.dev-host-form,.dev-host-flow-list,.dev-host-details{flex-direction:column;gap:1rem;min-height:0;padding:1rem;display:flex}.dev-host-form{flex:1}.dev-host-field{gap:.375rem;display:grid}.dev-host-label{color:var(--muted-foreground);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.dev-host-actions{justify-content:flex-end;gap:.5rem;margin-top:auto;display:flex}.dev-host-tabs-header{justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem 0;display:flex}.dev-host-tab-panel{flex:1;min-height:0;overflow:auto}.dev-host-flow-list{padding-top:.75rem}.dev-host-flow-button{text-align:left;justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.dev-host-flow-name,.dev-host-flow-title{align-items:center;gap:.375rem;display:inline-flex}.dev-host-flow-runs{gap:.75rem;display:grid}.dev-host-flow-state{border:1px solid var(--border);border-radius:var(--radius-md);gap:.5rem;padding:.75rem;display:grid}.dev-host-flow-state[data-status=running]{border-color:var(--primary)}.dev-host-flow-state[data-status=failed]{border-color:var(--destructive)}.dev-host-flow-state-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dev-host-flow-state-result,.dev-host-flow-state-error,.dev-host-detail-value,.dev-host-detail-payload{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--muted);white-space:pre-wrap;word-break:break-word;padding:.625rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;line-height:1.5;overflow:auto}.dev-host-flow-state-error{color:var(--destructive)}.dev-host-detail-section{gap:.375rem;display:grid}.dev-host-detail-payload{min-height:4rem}.dev-host-mobile-tabs{flex-direction:column;flex:1;height:100%;min-height:0;display:flex}.dev-host-mobile-tab-list{flex-shrink:0;padding:.5rem .75rem 0}.dev-host-mobile-tab-panel{flex-direction:column;flex:1;min-height:0;display:flex}.dev-host-mobile-tab-panel>.dev-host-pane{display:flex}@media(max-width:960px){.dev-host-header{padding-inline:.75rem}.dev-host-header-subtitle{display:none}.dev-host-panel-select{width:min(12rem,42vw)}.dev-host-message-table{min-width:36rem}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
@@ -1,11 +1,11 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Rozenite Dev Host</title>
7
- <script type="module" crossorigin src="./assets/index-cNKHRwej.js"></script>
8
- <link rel="stylesheet" crossorigin href="./assets/index-CkxvBMpp.css">
7
+ <script type="module" crossorigin src="./assets/index-BgAxGQdD.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-ClIYIppU.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "index.html": {
3
- "file": "assets/index-cNKHRwej.js",
3
+ "file": "assets/index-BgAxGQdD.js",
4
4
  "name": "index",
5
5
  "src": "index.html",
6
6
  "isEntry": true,
7
7
  "css": [
8
- "assets/index-CkxvBMpp.css"
8
+ "assets/index-ClIYIppU.css"
9
9
  ]
10
10
  }
11
11
  }
package/dist/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const tailwindcss = require("@tailwindcss/vite");
3
4
  const react = require("@vitejs/plugin-react");
4
5
  const reactNativeWeb = require("vite-plugin-react-native-web");
5
6
  const path = require("node:path");
@@ -19,6 +20,9 @@ const rozeniteServerPlugin = () => {
19
20
  config(config) {
20
21
  const projectRoot = config.root ?? process$1.cwd();
21
22
  config.build ??= {};
23
+ if (process$1.env.ROZENITE_BUILD === "1") {
24
+ config.build.emptyOutDir = false;
25
+ }
22
26
  config.build.lib = {
23
27
  entry: path.resolve(projectRoot, "metro.ts"),
24
28
  formats: ["es", "cjs"],
@@ -49,19 +53,12 @@ const loadConfig = async (configPath) => {
49
53
  throw new Error(`Configuration file not found: ${absoluteConfigPath}`);
50
54
  }
51
55
  try {
52
- const configContent = await fs.promises.readFile(
53
- absoluteConfigPath,
54
- "utf-8"
55
- );
56
- const result = await vite.transformWithEsbuild(
57
- configContent,
58
- absoluteConfigPath,
59
- {
60
- loader: "ts",
61
- format: "cjs",
62
- target: "esnext"
63
- }
64
- );
56
+ const configContent = await fs.promises.readFile(absoluteConfigPath, "utf-8");
57
+ const result = await vite.transformWithEsbuild(configContent, absoluteConfigPath, {
58
+ loader: "ts",
59
+ format: "cjs",
60
+ target: "esnext"
61
+ });
65
62
  const moduleExports = {};
66
63
  const module2 = { exports: moduleExports };
67
64
  const exports2 = moduleExports;
@@ -75,9 +72,7 @@ const loadConfig = async (configPath) => {
75
72
  return config;
76
73
  } catch (error) {
77
74
  if (error instanceof Error) {
78
- throw new Error(
79
- `Failed to load configuration from ${configPath}: ${error.message}`
80
- );
75
+ throw new Error(`Failed to load configuration from ${configPath}: ${error.message}`);
81
76
  }
82
77
  throw new Error(`Failed to load configuration from ${configPath}`);
83
78
  }
@@ -141,17 +136,8 @@ const loadRozeniteDevConfigModule = (id, projectRoot) => {
141
136
  const configPath = vite.normalizePath(getRozeniteConfigPath(projectRoot));
142
137
  return `export { default } from ${JSON.stringify(`/@fs${configPath}`)};`;
143
138
  };
144
- const TEMPLATES_DIR = path.resolve(
145
- node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index.cjs", document.baseURI).href),
146
- "..",
147
- "..",
148
- "templates"
149
- );
150
- const PACKAGE_DIR = path.resolve(
151
- node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index.cjs", document.baseURI).href),
152
- "..",
153
- ".."
154
- );
139
+ const TEMPLATES_DIR = path.resolve(node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index.cjs", document.baseURI).href), "..", "..", "templates");
140
+ const PACKAGE_DIR = path.resolve(node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index.cjs", document.baseURI).href), "..", "..");
155
141
  const DEV_HOST_SOURCE_ENTRY_FILE = getDevHostSourceEntryFile(PACKAGE_DIR);
156
142
  const PANELS_DIR = "./panels";
157
143
  const DEVTOOLS_DIR = "devtools";
@@ -257,14 +243,14 @@ const rozeniteClientPlugin = () => {
257
243
  config.server.open = config.server.open === true ? DEV_HOST_ROUTE : config.server.open ?? DEV_HOST_ROUTE;
258
244
  config.server.port = 8888;
259
245
  config.build ??= {};
246
+ if (process$1.env.ROZENITE_BUILD === "1") {
247
+ config.build.emptyOutDir = false;
248
+ }
260
249
  config.build.rollupOptions ??= {};
261
250
  config.build.rollupOptions.input = {
262
251
  ...config.build.rollupOptions.input,
263
252
  ...Object.fromEntries(
264
- panels.map((panel) => [
265
- panel.name,
266
- `${DEVTOOLS_DIR}/${panel.htmlFile}`
267
- ])
253
+ panels.map((panel) => [panel.name, `${DEVTOOLS_DIR}/${panel.htmlFile}`])
268
254
  )
269
255
  };
270
256
  config.build.rollupOptions.output = {
@@ -279,9 +265,7 @@ const rozeniteClientPlugin = () => {
279
265
  if (devConfigModuleId) {
280
266
  return devConfigModuleId;
281
267
  }
282
- const isPanel = getPanels().some(
283
- (panel) => `${DEVTOOLS_DIR}/${panel.htmlFile}` === id
284
- );
268
+ const isPanel = getPanels().some((panel) => `${DEVTOOLS_DIR}/${panel.htmlFile}` === id);
285
269
  if (isPanel) {
286
270
  return id;
287
271
  }
@@ -292,9 +276,7 @@ const rozeniteClientPlugin = () => {
292
276
  if (devConfigModule) {
293
277
  return devConfigModule;
294
278
  }
295
- const panel = getPanels().find(
296
- (panel2) => `${DEVTOOLS_DIR}/${panel2.htmlFile}` === id
297
- );
279
+ const panel = getPanels().find((panel2) => `${DEVTOOLS_DIR}/${panel2.htmlFile}` === id);
298
280
  if (panel) {
299
281
  return generatePanelHtmlContent(panel);
300
282
  }
@@ -340,14 +322,8 @@ const rozeniteClientPlugin = () => {
340
322
  const packageJSON = await getPackageJSON(projectRoot);
341
323
  server.middlewares.use((req, res, next) => {
342
324
  res.setHeader("Access-Control-Allow-Origin", "*");
343
- res.setHeader(
344
- "Access-Control-Allow-Methods",
345
- "GET, POST, PUT, DELETE, OPTIONS"
346
- );
347
- res.setHeader(
348
- "Access-Control-Allow-Headers",
349
- "Content-Type, Authorization"
350
- );
325
+ res.setHeader("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
326
+ res.setHeader("Access-Control-Allow-Headers", "Content-Type, Authorization");
351
327
  if (req.method === "OPTIONS") {
352
328
  res.statusCode = 200;
353
329
  res.end();
@@ -381,9 +357,7 @@ const rozeniteClientPlugin = () => {
381
357
  );
382
358
  return;
383
359
  }
384
- const panel = panels.find(
385
- (panel2) => `/${DEVTOOLS_DIR}/` + panel2.htmlFile === url
386
- );
360
+ const panel = panels.find((panel2) => `/${DEVTOOLS_DIR}/` + panel2.htmlFile === url);
387
361
  if (panel) {
388
362
  const htmlContent = generatePanelHtmlContent(panel);
389
363
  server.transformIndexHtml(requestUrl, htmlContent).then((html) => {
@@ -431,6 +405,9 @@ const rozeniteReactNativePlugin = () => {
431
405
  config(config) {
432
406
  const projectRoot = config.root ?? process.cwd();
433
407
  config.build ??= {};
408
+ if (process.env.ROZENITE_BUILD === "1") {
409
+ config.build.emptyOutDir = false;
410
+ }
434
411
  config.build.rollupOptions ??= {};
435
412
  config.build.lib = {
436
413
  entry: path.resolve(projectRoot, "react-native.ts"),
@@ -470,6 +447,9 @@ const rozeniteSdkPlugin = () => {
470
447
  config(config) {
471
448
  const projectRoot = config.root ?? process.cwd();
472
449
  config.build ??= {};
450
+ if (process.env.ROZENITE_BUILD === "1") {
451
+ config.build.emptyOutDir = false;
452
+ }
473
453
  config.build.lib = {
474
454
  entry: path.resolve(projectRoot, "sdk.ts"),
475
455
  formats: ["es", "cjs"],
@@ -553,9 +533,7 @@ const transformRequireToChunkReferences = (code, moduleInfoMap, getFileName) =>
553
533
  return match;
554
534
  }
555
535
  const outFileName = getFileName(moduleInfo.referenceId);
556
- const relPath = vite.normalizePath(
557
- path.posix.relative("react-native", outFileName)
558
- );
536
+ const relPath = vite.normalizePath(path.posix.relative("react-native", outFileName));
559
537
  const requirePath = relPath.startsWith(".") ? relPath : `./${relPath}`;
560
538
  return `require('${requirePath}')`;
561
539
  });
@@ -598,10 +576,7 @@ function requirePlugin() {
598
576
  async buildStart(options) {
599
577
  try {
600
578
  assert(Array.isArray(options.input), "input must be an array");
601
- assert(
602
- options.input.length === 1,
603
- "input must be an array with one entry"
604
- );
579
+ assert(options.input.length === 1, "input must be an array with one entry");
605
580
  input = options.input[0];
606
581
  inputName = extractModuleName(input);
607
582
  moduleInfoMap.clear();
@@ -616,15 +591,10 @@ function requirePlugin() {
616
591
  continue;
617
592
  }
618
593
  this.addWatchFile(resolved.id);
619
- const exportName = sanitizeChunkName(
620
- extractModuleName(resolved.id)
621
- );
594
+ const exportName = sanitizeChunkName(extractModuleName(resolved.id));
622
595
  const wrapperName = `${exportName}${REQUIRE_WRAPPER_SUFFIX}`;
623
596
  const virtualId = `${VIRTUAL_REQUIRE_PREFIX}${wrapperName}`;
624
- virtualModuleSources.set(
625
- virtualId,
626
- `export * from ${JSON.stringify(req)};`
627
- );
597
+ virtualModuleSources.set(virtualId, `export * from ${JSON.stringify(req)};`);
628
598
  const referenceId = this.emitFile({
629
599
  type: "chunk",
630
600
  id: virtualId,
@@ -809,7 +779,7 @@ const getDtsPlugin = (target) => {
809
779
  }
810
780
  });
811
781
  };
812
- const rozenitePlugin = () => {
782
+ const rozenitePlugin = ({ tailwind = true } = {}) => {
813
783
  const isServer = process.env.VITE_ROZENITE_TARGET === "server";
814
784
  const isReactNative = process.env.VITE_ROZENITE_TARGET === "react-native";
815
785
  const isSdk = process.env.VITE_ROZENITE_TARGET === "sdk";
@@ -826,6 +796,7 @@ const rozenitePlugin = () => {
826
796
  return [rozeniteSdkPlugin(), getDtsPlugin("sdk")];
827
797
  }
828
798
  return [
799
+ ...tailwind ? [tailwindcss()] : [],
829
800
  react(),
830
801
  // @ts-expect-error: TypeScript gets confused by the dual export
831
802
  reactNativeWeb(),
package/dist/index.d.ts CHANGED
@@ -1,3 +1,11 @@
1
1
  import { PluginOption } from 'vite';
2
- export declare const rozenitePlugin: () => PluginOption[];
2
+ export type RozenitePluginOptions = {
3
+ /**
4
+ * Configure Tailwind CSS v4 for client panels.
5
+ *
6
+ * @default true
7
+ */
8
+ tailwind?: boolean;
9
+ };
10
+ export declare const rozenitePlugin: ({ tailwind }?: RozenitePluginOptions) => PluginOption[];
3
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAyFzC,eAAO,MAAM,cAAc,QAAO,YAAY,EAwB7C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AA+EzC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,eAAqB,qBAA0B,KAAG,YAAY,EAyB5F,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import tailwindcss from "@tailwindcss/vite";
1
2
  import react from "@vitejs/plugin-react";
2
3
  import reactNativeWeb from "vite-plugin-react-native-web";
3
4
  import path from "node:path";
@@ -16,6 +17,9 @@ const rozeniteServerPlugin = () => {
16
17
  config(config) {
17
18
  const projectRoot = config.root ?? process$1.cwd();
18
19
  config.build ??= {};
20
+ if (process$1.env.ROZENITE_BUILD === "1") {
21
+ config.build.emptyOutDir = false;
22
+ }
19
23
  config.build.lib = {
20
24
  entry: path.resolve(projectRoot, "metro.ts"),
21
25
  formats: ["es", "cjs"],
@@ -46,19 +50,12 @@ const loadConfig = async (configPath) => {
46
50
  throw new Error(`Configuration file not found: ${absoluteConfigPath}`);
47
51
  }
48
52
  try {
49
- const configContent = await fs.promises.readFile(
50
- absoluteConfigPath,
51
- "utf-8"
52
- );
53
- const result = await transformWithEsbuild(
54
- configContent,
55
- absoluteConfigPath,
56
- {
57
- loader: "ts",
58
- format: "cjs",
59
- target: "esnext"
60
- }
61
- );
53
+ const configContent = await fs.promises.readFile(absoluteConfigPath, "utf-8");
54
+ const result = await transformWithEsbuild(configContent, absoluteConfigPath, {
55
+ loader: "ts",
56
+ format: "cjs",
57
+ target: "esnext"
58
+ });
62
59
  const moduleExports = {};
63
60
  const module = { exports: moduleExports };
64
61
  const exports = moduleExports;
@@ -72,9 +69,7 @@ const loadConfig = async (configPath) => {
72
69
  return config;
73
70
  } catch (error) {
74
71
  if (error instanceof Error) {
75
- throw new Error(
76
- `Failed to load configuration from ${configPath}: ${error.message}`
77
- );
72
+ throw new Error(`Failed to load configuration from ${configPath}: ${error.message}`);
78
73
  }
79
74
  throw new Error(`Failed to load configuration from ${configPath}`);
80
75
  }
@@ -138,17 +133,8 @@ const loadRozeniteDevConfigModule = (id, projectRoot) => {
138
133
  const configPath = normalizePath(getRozeniteConfigPath(projectRoot));
139
134
  return `export { default } from ${JSON.stringify(`/@fs${configPath}`)};`;
140
135
  };
141
- const TEMPLATES_DIR = path.resolve(
142
- fileURLToPath(import.meta.url),
143
- "..",
144
- "..",
145
- "templates"
146
- );
147
- const PACKAGE_DIR = path.resolve(
148
- fileURLToPath(import.meta.url),
149
- "..",
150
- ".."
151
- );
136
+ const TEMPLATES_DIR = path.resolve(fileURLToPath(import.meta.url), "..", "..", "templates");
137
+ const PACKAGE_DIR = path.resolve(fileURLToPath(import.meta.url), "..", "..");
152
138
  const DEV_HOST_SOURCE_ENTRY_FILE = getDevHostSourceEntryFile(PACKAGE_DIR);
153
139
  const PANELS_DIR = "./panels";
154
140
  const DEVTOOLS_DIR = "devtools";
@@ -254,14 +240,14 @@ const rozeniteClientPlugin = () => {
254
240
  config.server.open = config.server.open === true ? DEV_HOST_ROUTE : config.server.open ?? DEV_HOST_ROUTE;
255
241
  config.server.port = 8888;
256
242
  config.build ??= {};
243
+ if (process$1.env.ROZENITE_BUILD === "1") {
244
+ config.build.emptyOutDir = false;
245
+ }
257
246
  config.build.rollupOptions ??= {};
258
247
  config.build.rollupOptions.input = {
259
248
  ...config.build.rollupOptions.input,
260
249
  ...Object.fromEntries(
261
- panels.map((panel) => [
262
- panel.name,
263
- `${DEVTOOLS_DIR}/${panel.htmlFile}`
264
- ])
250
+ panels.map((panel) => [panel.name, `${DEVTOOLS_DIR}/${panel.htmlFile}`])
265
251
  )
266
252
  };
267
253
  config.build.rollupOptions.output = {
@@ -276,9 +262,7 @@ const rozeniteClientPlugin = () => {
276
262
  if (devConfigModuleId) {
277
263
  return devConfigModuleId;
278
264
  }
279
- const isPanel = getPanels().some(
280
- (panel) => `${DEVTOOLS_DIR}/${panel.htmlFile}` === id
281
- );
265
+ const isPanel = getPanels().some((panel) => `${DEVTOOLS_DIR}/${panel.htmlFile}` === id);
282
266
  if (isPanel) {
283
267
  return id;
284
268
  }
@@ -289,9 +273,7 @@ const rozeniteClientPlugin = () => {
289
273
  if (devConfigModule) {
290
274
  return devConfigModule;
291
275
  }
292
- const panel = getPanels().find(
293
- (panel2) => `${DEVTOOLS_DIR}/${panel2.htmlFile}` === id
294
- );
276
+ const panel = getPanels().find((panel2) => `${DEVTOOLS_DIR}/${panel2.htmlFile}` === id);
295
277
  if (panel) {
296
278
  return generatePanelHtmlContent(panel);
297
279
  }
@@ -337,14 +319,8 @@ const rozeniteClientPlugin = () => {
337
319
  const packageJSON = await getPackageJSON(projectRoot);
338
320
  server.middlewares.use((req, res, next) => {
339
321
  res.setHeader("Access-Control-Allow-Origin", "*");
340
- res.setHeader(
341
- "Access-Control-Allow-Methods",
342
- "GET, POST, PUT, DELETE, OPTIONS"
343
- );
344
- res.setHeader(
345
- "Access-Control-Allow-Headers",
346
- "Content-Type, Authorization"
347
- );
322
+ res.setHeader("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
323
+ res.setHeader("Access-Control-Allow-Headers", "Content-Type, Authorization");
348
324
  if (req.method === "OPTIONS") {
349
325
  res.statusCode = 200;
350
326
  res.end();
@@ -378,9 +354,7 @@ const rozeniteClientPlugin = () => {
378
354
  );
379
355
  return;
380
356
  }
381
- const panel = panels.find(
382
- (panel2) => `/${DEVTOOLS_DIR}/` + panel2.htmlFile === url
383
- );
357
+ const panel = panels.find((panel2) => `/${DEVTOOLS_DIR}/` + panel2.htmlFile === url);
384
358
  if (panel) {
385
359
  const htmlContent = generatePanelHtmlContent(panel);
386
360
  server.transformIndexHtml(requestUrl, htmlContent).then((html) => {
@@ -428,6 +402,9 @@ const rozeniteReactNativePlugin = () => {
428
402
  config(config) {
429
403
  const projectRoot = config.root ?? process.cwd();
430
404
  config.build ??= {};
405
+ if (process.env.ROZENITE_BUILD === "1") {
406
+ config.build.emptyOutDir = false;
407
+ }
431
408
  config.build.rollupOptions ??= {};
432
409
  config.build.lib = {
433
410
  entry: path.resolve(projectRoot, "react-native.ts"),
@@ -467,6 +444,9 @@ const rozeniteSdkPlugin = () => {
467
444
  config(config) {
468
445
  const projectRoot = config.root ?? process.cwd();
469
446
  config.build ??= {};
447
+ if (process.env.ROZENITE_BUILD === "1") {
448
+ config.build.emptyOutDir = false;
449
+ }
470
450
  config.build.lib = {
471
451
  entry: path.resolve(projectRoot, "sdk.ts"),
472
452
  formats: ["es", "cjs"],
@@ -550,9 +530,7 @@ const transformRequireToChunkReferences = (code, moduleInfoMap, getFileName) =>
550
530
  return match;
551
531
  }
552
532
  const outFileName = getFileName(moduleInfo.referenceId);
553
- const relPath = normalizePath(
554
- path.posix.relative("react-native", outFileName)
555
- );
533
+ const relPath = normalizePath(path.posix.relative("react-native", outFileName));
556
534
  const requirePath = relPath.startsWith(".") ? relPath : `./${relPath}`;
557
535
  return `require('${requirePath}')`;
558
536
  });
@@ -595,10 +573,7 @@ function requirePlugin() {
595
573
  async buildStart(options) {
596
574
  try {
597
575
  assert(Array.isArray(options.input), "input must be an array");
598
- assert(
599
- options.input.length === 1,
600
- "input must be an array with one entry"
601
- );
576
+ assert(options.input.length === 1, "input must be an array with one entry");
602
577
  input = options.input[0];
603
578
  inputName = extractModuleName(input);
604
579
  moduleInfoMap.clear();
@@ -613,15 +588,10 @@ function requirePlugin() {
613
588
  continue;
614
589
  }
615
590
  this.addWatchFile(resolved.id);
616
- const exportName = sanitizeChunkName(
617
- extractModuleName(resolved.id)
618
- );
591
+ const exportName = sanitizeChunkName(extractModuleName(resolved.id));
619
592
  const wrapperName = `${exportName}${REQUIRE_WRAPPER_SUFFIX}`;
620
593
  const virtualId = `${VIRTUAL_REQUIRE_PREFIX}${wrapperName}`;
621
- virtualModuleSources.set(
622
- virtualId,
623
- `export * from ${JSON.stringify(req)};`
624
- );
594
+ virtualModuleSources.set(virtualId, `export * from ${JSON.stringify(req)};`);
625
595
  const referenceId = this.emitFile({
626
596
  type: "chunk",
627
597
  id: virtualId,
@@ -806,7 +776,7 @@ const getDtsPlugin = (target) => {
806
776
  }
807
777
  });
808
778
  };
809
- const rozenitePlugin = () => {
779
+ const rozenitePlugin = ({ tailwind = true } = {}) => {
810
780
  const isServer = process.env.VITE_ROZENITE_TARGET === "server";
811
781
  const isReactNative = process.env.VITE_ROZENITE_TARGET === "react-native";
812
782
  const isSdk = process.env.VITE_ROZENITE_TARGET === "sdk";
@@ -823,6 +793,7 @@ const rozenitePlugin = () => {
823
793
  return [rozeniteSdkPlugin(), getDtsPlugin("sdk")];
824
794
  }
825
795
  return [
796
+ ...tailwind ? [tailwindcss()] : [],
826
797
  react(),
827
798
  // @ts-expect-error: TypeScript gets confused by the dual export
828
799
  reactNativeWeb(),
@@ -1 +1 @@
1
- {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../src/load-config.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,GAAG,KAAK,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,CAAC,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,GACtC;IACE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC;CAClD,CAAC;AAEN,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,SAAS,EAAE,CACT,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,KACxC,mBAAmB,CAAC;IACzB,cAAc,EAAE,CACd,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,KACE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7B,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,qBAAqB,KAAK,cAAc,EAAE,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,YAAY,MAAM,KACjB,OAAO,CAAC,cAAc,CA8CxB,CAAC"}
1
+ {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../src/load-config.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,IAAI,GAAG,KAAK,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,CAAC,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,GACtC;IACE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC;CAClD,CAAC;AAEN,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,SAAS,EAAE,CACT,OAAO,EAAE,qBAAqB,EAC9B,QAAQ,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,KACxC,mBAAmB,CAAC;IACzB,cAAc,EAAE,CACd,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,KACE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7B,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,qBAAqB,KAAK,cAAc,EAAE,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,YAAY,MAAM,KAAG,OAAO,CAAC,cAAc,CAqC3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../src/package-json.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,CAIrB,CAAC"}
1
+ {"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../src/package-json.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,WAAW,CAI7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-native-plugin.d.ts","sourceRoot":"","sources":["../src/react-native-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG9B,eAAO,MAAM,yBAAyB,QAAO,MA6C5C,CAAC"}
1
+ {"version":3,"file":"react-native-plugin.d.ts","sourceRoot":"","sources":["../src/react-native-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG9B,eAAO,MAAM,yBAAyB,QAAO,MA+C5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"require-plugin.d.ts","sourceRoot":"","sources":["../src/require-plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiB,MAAM,EAAE,MAAM,MAAM,CAAC;AA8F7C,MAAM,CAAC,OAAO,UAAU,aAAa,IAAI,MAAM,CA2H9C"}
1
+ {"version":3,"file":"require-plugin.d.ts","sourceRoot":"","sources":["../src/require-plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiB,MAAM,EAAE,MAAM,MAAM,CAAC;AA4F7C,MAAM,CAAC,OAAO,UAAU,aAAa,IAAI,MAAM,CAiH9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"sdk-plugin.d.ts","sourceRoot":"","sources":["../src/sdk-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAGnC,eAAO,MAAM,iBAAiB,QAAO,MAwCpC,CAAC"}
1
+ {"version":3,"file":"sdk-plugin.d.ts","sourceRoot":"","sources":["../src/sdk-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAGnC,eAAO,MAAM,iBAAiB,QAAO,MA2CpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"server-plugin.d.ts","sourceRoot":"","sources":["../src/server-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAInC,eAAO,MAAM,oBAAoB,QAAO,MA+BvC,CAAC"}
1
+ {"version":3,"file":"server-plugin.d.ts","sourceRoot":"","sources":["../src/server-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAInC,eAAO,MAAM,oBAAoB,QAAO,MAkCvC,CAAC"}