@mmapp/react-compiler 0.1.0-alpha.3 → 0.1.0-alpha.4

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 (117) hide show
  1. package/dist/auth-3UK75242.mjs +17 -0
  2. package/dist/babel/index.d.mts +2 -2
  3. package/dist/babel/index.d.ts +2 -2
  4. package/dist/babel/index.js +2736 -306
  5. package/dist/babel/index.mjs +1 -1
  6. package/dist/chunk-52XHYD2V.mjs +214 -0
  7. package/dist/chunk-5FTDWKHH.mjs +244 -0
  8. package/dist/chunk-5GUFFFGL.mjs +148 -0
  9. package/dist/chunk-7JRAEFRB.mjs +7510 -0
  10. package/dist/chunk-7T6Q5KAA.mjs +7506 -0
  11. package/dist/chunk-ABYPKRSB.mjs +215 -0
  12. package/dist/chunk-BZEXUPDH.mjs +175 -0
  13. package/dist/chunk-EO6SYNCG.mjs +175 -0
  14. package/dist/chunk-HRYR54PT.mjs +175 -0
  15. package/dist/chunk-J3M4GUS7.mjs +161 -0
  16. package/dist/chunk-J7JUAHS4.mjs +186 -0
  17. package/dist/chunk-JRGFBWTN.mjs +2918 -0
  18. package/dist/chunk-NTB7OEX2.mjs +2918 -0
  19. package/dist/chunk-O4AUS7EU.mjs +148 -0
  20. package/dist/chunk-OPJKP747.mjs +7506 -0
  21. package/dist/chunk-R2DD5GTY.mjs +186 -0
  22. package/dist/chunk-THFYE5ZX.mjs +244 -0
  23. package/dist/chunk-UDDTWG5J.mjs +734 -0
  24. package/dist/chunk-VLTKQDJ3.mjs +244 -0
  25. package/dist/chunk-WBYMW4NQ.mjs +3450 -0
  26. package/dist/chunk-WVYY32LD.mjs +939 -0
  27. package/dist/chunk-XDVM4YHX.mjs +3450 -0
  28. package/dist/chunk-Z2G5RZ4H.mjs +186 -0
  29. package/dist/chunk-ZE3KCHBM.mjs +2918 -0
  30. package/dist/cli/index.js +10378 -4107
  31. package/dist/cli/index.mjs +224 -183
  32. package/dist/codemod/cli.js +1 -1
  33. package/dist/codemod/cli.mjs +1 -1
  34. package/dist/codemod/index.d.mts +3 -3
  35. package/dist/codemod/index.d.ts +3 -3
  36. package/dist/codemod/index.js +1 -1
  37. package/dist/codemod/index.mjs +1 -1
  38. package/dist/config-PL24KEWL.mjs +219 -0
  39. package/dist/deploy-YAJGW6II.mjs +9 -0
  40. package/dist/dev-server-CrQ041KP.d.mts +79 -0
  41. package/dist/dev-server-CrQ041KP.d.ts +79 -0
  42. package/dist/dev-server.d.mts +2 -2
  43. package/dist/dev-server.d.ts +2 -2
  44. package/dist/dev-server.js +4319 -421
  45. package/dist/dev-server.mjs +4 -4
  46. package/dist/envelope-ChEkuHij.d.mts +265 -0
  47. package/dist/envelope-ChEkuHij.d.ts +265 -0
  48. package/dist/envelope.d.mts +2 -2
  49. package/dist/envelope.d.ts +2 -2
  50. package/dist/envelope.js +2734 -304
  51. package/dist/envelope.mjs +2 -2
  52. package/dist/index-CEKyyazf.d.mts +104 -0
  53. package/dist/index-CEKyyazf.d.ts +104 -0
  54. package/dist/index.d.mts +164 -9
  55. package/dist/index.d.ts +164 -9
  56. package/dist/index.js +4730 -734
  57. package/dist/index.mjs +216 -8
  58. package/dist/init-7FJENUDK.mjs +407 -0
  59. package/dist/init-DQDX3QK6.mjs +369 -0
  60. package/dist/project-compiler-NNK32MPG.mjs +10 -0
  61. package/dist/project-compiler-OP2VVGJQ.mjs +10 -0
  62. package/dist/project-compiler-ZB4RUYVL.mjs +10 -0
  63. package/dist/project-decompiler-U55HQUHW.mjs +7 -0
  64. package/dist/project-decompiler-US7GAVIC.mjs +7 -0
  65. package/dist/pull-KOL2QAYQ.mjs +109 -0
  66. package/dist/pull-P44LDRWB.mjs +109 -0
  67. package/dist/seed-KOGEPGOJ.mjs +154 -0
  68. package/dist/server-VW6UPCHO.mjs +277 -0
  69. package/dist/testing/index.d.mts +8 -8
  70. package/dist/testing/index.d.ts +8 -8
  71. package/dist/testing/index.js +2744 -314
  72. package/dist/testing/index.mjs +1 -1
  73. package/dist/verify-BYHUKARQ.mjs +1833 -0
  74. package/dist/verify-OQDEQYMS.mjs +1833 -0
  75. package/dist/verify-SEIXUGN4.mjs +1833 -0
  76. package/dist/vite/index.d.mts +1 -1
  77. package/dist/vite/index.d.ts +1 -1
  78. package/dist/vite/index.js +2735 -305
  79. package/dist/vite/index.mjs +2 -2
  80. package/examples/authentication/main.workflow.tsx +1 -1
  81. package/examples/authentication/mm.config.ts +1 -1
  82. package/examples/authentication/pages/LoginPage.tsx +2 -2
  83. package/examples/authentication/pages/SignupPage.tsx +2 -2
  84. package/examples/counter.workflow.tsx +1 -1
  85. package/examples/dashboard.workflow.tsx +1 -1
  86. package/examples/invoice-approval/actions/invoice.server.ts +1 -1
  87. package/examples/invoice-approval/main.workflow.tsx +1 -1
  88. package/examples/invoice-approval/mm.config.ts +1 -1
  89. package/examples/invoice-approval/pages/InvoiceDetailPage.tsx +1 -1
  90. package/examples/invoice-approval/pages/InvoiceFormPage.tsx +1 -1
  91. package/examples/invoice-approval/pages/InvoiceListPage.tsx +1 -1
  92. package/examples/todo-app.workflow.tsx +1 -1
  93. package/examples/uber-app/actions/matching.server.ts +1 -1
  94. package/examples/uber-app/actions/notifications.server.ts +1 -1
  95. package/examples/uber-app/actions/payments.server.ts +1 -1
  96. package/examples/uber-app/actions/pricing.server.ts +1 -1
  97. package/examples/uber-app/app/admin/analytics.tsx +2 -2
  98. package/examples/uber-app/app/admin/fleet.tsx +2 -2
  99. package/examples/uber-app/app/admin/surge-pricing.tsx +2 -2
  100. package/examples/uber-app/app/driver/dashboard.tsx +2 -2
  101. package/examples/uber-app/app/driver/earnings.tsx +2 -2
  102. package/examples/uber-app/app/driver/navigation.tsx +2 -2
  103. package/examples/uber-app/app/driver/ride-acceptance.tsx +2 -2
  104. package/examples/uber-app/app/rider/home.tsx +2 -2
  105. package/examples/uber-app/app/rider/payment-methods.tsx +2 -2
  106. package/examples/uber-app/app/rider/ride-history.tsx +2 -2
  107. package/examples/uber-app/app/rider/ride-tracking.tsx +2 -2
  108. package/examples/uber-app/components/DriverCard.tsx +1 -1
  109. package/examples/uber-app/components/MapView.tsx +3 -3
  110. package/examples/uber-app/components/RatingStars.tsx +2 -2
  111. package/examples/uber-app/components/RideCard.tsx +1 -1
  112. package/examples/uber-app/mm.config.ts +1 -1
  113. package/examples/uber-app/workflows/dispute-resolution.workflow.tsx +2 -2
  114. package/examples/uber-app/workflows/driver-onboarding.workflow.tsx +2 -2
  115. package/examples/uber-app/workflows/payment-processing.workflow.tsx +2 -2
  116. package/examples/uber-app/workflows/ride-request.workflow.tsx +2 -2
  117. package/package.json +8 -3
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  mindmatrixReact
3
- } from "../chunk-72QWL54I.mjs";
4
- import "../chunk-FYT47UBU.mjs";
3
+ } from "../chunk-BZEXUPDH.mjs";
4
+ import "../chunk-7T6Q5KAA.mjs";
5
5
  import "../chunk-CIESM3BP.mjs";
6
6
  export {
7
7
  mindmatrixReact
@@ -20,7 +20,7 @@ import {
20
20
  Show,
21
21
  useOnEnter,
22
22
  useTransition,
23
- } from '@mindmatrix/react';
23
+ } from '@mmapp/react';
24
24
  import { useState } from 'react';
25
25
  import { LoginPage } from './pages/LoginPage';
26
26
  import { SignupPage } from './pages/SignupPage';
@@ -5,7 +5,7 @@
5
5
  * login/signup pages with configurable layout, routing, and features.
6
6
  */
7
7
 
8
- import { defineBlueprint } from '@mindmatrix/react';
8
+ import { defineBlueprint } from '@mmapp/react';
9
9
 
10
10
  export default defineBlueprint({
11
11
  slug: 'mod-authentication',
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * LoginPage — login form with email/password fields and action buttons.
3
3
  *
4
- * Uses @mindmatrix/react atoms: Stack, Heading, Text, TextInput, Button.
4
+ * Uses @mmapp/react atoms: Stack, Heading, Text, TextInput, Button.
5
5
  * Bindings connect to workflow fields; transition fires move through auth states.
6
6
  */
7
7
  import {
@@ -12,7 +12,7 @@ import {
12
12
  Button,
13
13
  Show,
14
14
  Link,
15
- } from '@mindmatrix/react';
15
+ } from '@mmapp/react';
16
16
 
17
17
  interface LoginPageProps {
18
18
  appName: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * SignupPage — registration form with name, email, password fields.
3
3
  *
4
- * Uses @mindmatrix/react atoms: Stack, Row, Heading, Text, TextInput, Button.
4
+ * Uses @mmapp/react atoms: Stack, Row, Heading, Text, TextInput, Button.
5
5
  * Bindings connect to workflow fields; transition fires move through auth states.
6
6
  */
7
7
  import {
@@ -13,7 +13,7 @@ import {
13
13
  Button,
14
14
  Show,
15
15
  Link,
16
- } from '@mindmatrix/react';
16
+ } from '@mmapp/react';
17
17
 
18
18
  interface SignupPageProps {
19
19
  appName: string;
@@ -3,7 +3,7 @@
3
3
  * @description A simple counter demonstrating state, transitions, hooks, and sx styling.
4
4
  */
5
5
  import { useState } from 'react';
6
- import { useOnEnter, useTransition, useOnChange } from '@mindmatrix/react';
6
+ import { useOnEnter, useTransition, useOnChange } from '@mmapp/react';
7
7
 
8
8
  export function Counter() {
9
9
  const [count, setCount] = useState(0);
@@ -14,7 +14,7 @@ import {
14
14
  useQuery,
15
15
  useMutation,
16
16
  useRole,
17
- } from '@mindmatrix/react';
17
+ } from '@mmapp/react';
18
18
 
19
19
  export function Dashboard() {
20
20
  // --- Fields ---
@@ -5,7 +5,7 @@
5
5
  * Each receives a TransitionContext with instance data and utilities.
6
6
  */
7
7
 
8
- import type { TransitionContext } from '@mindmatrix/react';
8
+ import type { TransitionContext } from '@mmapp/react';
9
9
 
10
10
  /** Send approval notification to the invoice submitter. */
11
11
  export async function sendApprovalNotification(ctx: TransitionContext): Promise<void> {
@@ -18,7 +18,7 @@ import {
18
18
  useOnExit,
19
19
  useTransition,
20
20
  useRole,
21
- } from '@mindmatrix/react';
21
+ } from '@mmapp/react';
22
22
  import { useState } from 'react';
23
23
  import type { Invoice } from './models/invoice';
24
24
  import { sendApprovalNotification, sendRejectionNotification } from './actions/invoice.server';
@@ -2,7 +2,7 @@
2
2
  * Blueprint configuration for "Invoice Approval".
3
3
  */
4
4
 
5
- import { defineBlueprint } from '@mindmatrix/react';
5
+ import { defineBlueprint } from '@mmapp/react';
6
6
 
7
7
  export default defineBlueprint({
8
8
  slug: 'invoice-approval',
@@ -17,7 +17,7 @@ import {
17
17
  Each,
18
18
  Divider,
19
19
  useQuery,
20
- } from '@mindmatrix/react';
20
+ } from '@mmapp/react';
21
21
  import type { Invoice, InvoiceLineItem } from '../models/invoice';
22
22
 
23
23
  interface InvoiceDetailPageProps {
@@ -17,7 +17,7 @@ import {
17
17
  Show,
18
18
  Each,
19
19
  Divider,
20
- } from '@mindmatrix/react';
20
+ } from '@mmapp/react';
21
21
  import { useState } from 'react';
22
22
  import type { InvoiceLineItem } from '../models/invoice';
23
23
 
@@ -18,7 +18,7 @@ import {
18
18
  Each,
19
19
  Card,
20
20
  useQuery,
21
- } from '@mindmatrix/react';
21
+ } from '@mmapp/react';
22
22
  import { useState } from 'react';
23
23
  import type { Invoice, InvoiceState } from '../models/invoice';
24
24
 
@@ -12,7 +12,7 @@ import {
12
12
  useMutation,
13
13
  useRole,
14
14
  useWhileIn,
15
- } from '@mindmatrix/react';
15
+ } from '@mmapp/react';
16
16
 
17
17
  export function TodoApp() {
18
18
  const [title, setTitle] = useState('');
@@ -3,7 +3,7 @@
3
3
  * @description Driver matching algorithm — finds optimal driver based on proximity, rating, and vehicle type
4
4
  */
5
5
 
6
- import type { TransitionContext, ActionResult } from '@mindmatrix/react';
6
+ import type { TransitionContext, ActionResult } from '@mmapp/react';
7
7
 
8
8
  /** Haversine distance in kilometers between two lat/lng points */
9
9
  function haversineKm(lat1: number, lon1: number, lat2: number, lon2: number): number {
@@ -3,7 +3,7 @@
3
3
  * @description Push notification delivery for ride lifecycle events
4
4
  */
5
5
 
6
- import type { TransitionContext, ActionResult } from '@mindmatrix/react';
6
+ import type { TransitionContext, ActionResult } from '@mmapp/react';
7
7
 
8
8
  type NotificationChannel = 'push' | 'sms' | 'email' | 'in_app';
9
9
 
@@ -3,7 +3,7 @@
3
3
  * @description Payment processing — authorization, capture, settlement, refund, and payout
4
4
  */
5
5
 
6
- import type { TransitionContext, ActionResult } from '@mindmatrix/react';
6
+ import type { TransitionContext, ActionResult } from '@mmapp/react';
7
7
 
8
8
  /** Authorize a payment hold before ride starts */
9
9
  export async function authorizePayment(ctx: TransitionContext): Promise<ActionResult> {
@@ -3,7 +3,7 @@
3
3
  * @description Fare calculation engine — base fare, distance, time, surge, promos, and vehicle multipliers
4
4
  */
5
5
 
6
- import type { TransitionContext, ActionResult } from '@mindmatrix/react';
6
+ import type { TransitionContext, ActionResult } from '@mmapp/react';
7
7
 
8
8
  /** Per-vehicle-type rate configuration */
9
9
  const VEHICLE_RATES = {
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mmapp/react';
3
3
  import { RideStats, RevenueBreakdown } from '../../models/analytics';
4
4
 
5
5
  type TimePeriod = 'today' | 'week' | 'month';
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mmapp/react';
3
3
  import { Vehicle, Driver } from '../../models/fleet';
4
4
 
5
5
  type VehicleType = 'sedan' | 'suv' | 'van' | 'luxury';
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useTransition, useField, useComputed, useRole, useQuery, useOnEnter, useOnEvent } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading, Input } from '@mmapp/react';
3
3
  import { SurgeZone, SurgeConfig } from '../../models/surge';
4
4
 
5
5
  export default function SurgePricing() {
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useField, useComputed, useRole, useOnEnter } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Card, Badge, Heading } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useField, useComputed, useRole, useOnEnter } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Card, Badge, Heading } from '@mmapp/react';
3
3
  import { RideRequest } from '../models/ride';
4
4
  import { DriverStats } from '../models/driver';
5
5
  import { ActiveRideCard } from '../components/ActiveRideCard';
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useField, useComputed, useQuery } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useField, useComputed, useQuery } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
3
3
  import { EarningsRecord, PayoutEntry } from '../models/earnings';
4
4
 
5
5
  type Period = 'daily' | 'weekly' | 'monthly';
@@ -1,5 +1,5 @@
1
- import { useWorkflow, useTransition, useField, useComputed, useOnChange } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
1
+ import { useWorkflow, useTransition, useField, useComputed, useOnChange } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
3
3
  import { RideRequest, RidePhase } from '../models/ride';
4
4
  import { MapView } from '../components/MapView';
5
5
  import { DirectionStep } from '../models/navigation';
@@ -1,5 +1,5 @@
1
- import { useState, useWorkflow, useTransition, useField, useOnEvent, useComputed } from '@mindmatrix/react';
2
- import { Stack, Row, Text, Button, Show, Card, Badge, Heading } from '@mindmatrix/react';
1
+ import { useState, useWorkflow, useTransition, useField, useOnEvent, useComputed } from '@mmapp/react';
2
+ import { Stack, Row, Text, Button, Show, Card, Badge, Heading } from '@mmapp/react';
3
3
  import { RideRequest } from '../models/ride';
4
4
  import { PassengerInfo } from '../models/passenger';
5
5
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useState, useWorkflow, useTransition, useField,
3
3
  useComputed, useRole, useQuery, useOnEnter, useOnEvent,
4
- } from '@mindmatrix/react';
4
+ } from '@mmapp/react';
5
5
  import {
6
6
  Stack, Row, Text, Button, Show, Each, Card, Badge,
7
7
  Heading, Input,
8
- } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
9
  import { Ride, VehicleType } from '../models/ride.model';
10
10
  import { MapView } from '../components/MapView';
11
11
  import { estimateFare } from '../actions/pricing.server';
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useState, useWorkflow, useTransition, useField,
3
3
  useComputed, useRole, useQuery, useOnEnter, useOnEvent,
4
- } from '@mindmatrix/react';
4
+ } from '@mmapp/react';
5
5
  import {
6
6
  Stack, Row, Text, Button, Show, Each, Card, Badge,
7
7
  Heading, Input,
8
- } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
9
  import { PaymentMethod } from '../models/payment.model';
10
10
  import { addPaymentMethod, removePaymentMethod, setDefaultPayment } from '../actions/payments.server';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useState, useWorkflow, useTransition, useField,
3
3
  useComputed, useRole, useQuery, useOnEnter, useOnEvent,
4
- } from '@mindmatrix/react';
4
+ } from '@mmapp/react';
5
5
  import {
6
6
  Stack, Row, Text, Button, Show, Each, Card, Badge,
7
7
  Heading, Input,
8
- } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
9
  import { Ride } from '../models/ride.model';
10
10
  import { RideCard } from '../components/RideCard';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useState, useWorkflow, useTransition, useField,
3
3
  useComputed, useRole, useQuery, useOnEnter, useOnEvent,
4
- } from '@mindmatrix/react';
4
+ } from '@mmapp/react';
5
5
  import {
6
6
  Stack, Row, Text, Button, Show, Each, Card, Badge,
7
7
  Heading, Input,
8
- } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
9
  import { Ride, DriverLocation, TripStatus } from '../models/ride.model';
10
10
  import { MapView } from '../components/MapView';
11
11
  import { DriverCard } from '../components/DriverCard';
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import React from 'react';
6
- import { Stack, Row, Text, Badge, Icon, Image } from '@mindmatrix/react';
6
+ import { Stack, Row, Text, Badge, Icon, Image } from '@mmapp/react';
7
7
 
8
8
  interface DriverCardProps {
9
9
  name: string;
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * MapView — Interactive map component with markers, routes, and live tracking
3
- * Uses useMapView + useGeolocation from @mindmatrix/react
3
+ * Uses useMapView + useGeolocation from @mmapp/react
4
4
  */
5
5
 
6
6
  import React, { useState } from 'react';
7
- import { useMapView, useGeolocation, useOnChange } from '@mindmatrix/react';
8
- import { Stack, Row, Text, Badge, Button, Icon } from '@mindmatrix/react';
7
+ import { useMapView, useGeolocation, useOnChange } from '@mmapp/react';
8
+ import { Stack, Row, Text, Badge, Button, Icon } from '@mmapp/react';
9
9
 
10
10
  interface MapMarkerConfig {
11
11
  id: string;
@@ -3,8 +3,8 @@
3
3
  */
4
4
 
5
5
  import React, { useState } from 'react';
6
- import { useForm, useToast } from '@mindmatrix/react';
7
- import { Stack, Row, Text, Button, Icon, Badge, TextInput } from '@mindmatrix/react';
6
+ import { useForm, useToast } from '@mmapp/react';
7
+ import { Stack, Row, Text, Button, Icon, Badge, TextInput } from '@mmapp/react';
8
8
 
9
9
  interface RatingStarsProps {
10
10
  maxStars?: number;
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import React from 'react';
6
- import { Stack, Row, Text, Badge, Icon, Divider } from '@mindmatrix/react';
6
+ import { Stack, Row, Text, Badge, Icon, Divider } from '@mmapp/react';
7
7
 
8
8
  interface RideCardProps {
9
9
  rideId: string;
@@ -1,4 +1,4 @@
1
- import { defineBlueprint } from '@mindmatrix/react';
1
+ import { defineBlueprint } from '@mmapp/react';
2
2
 
3
3
  export default defineBlueprint({
4
4
  slug: 'uber-rideshare',
@@ -5,8 +5,8 @@ import {
5
5
  useTransition,
6
6
  useOnEvent,
7
7
  useOnChange,
8
- } from '@mindmatrix/react';
9
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
10
10
  import { Payment } from '../models/payment.model';
11
11
  import { Rating } from '../models/rating.model';
12
12
  import { processRefund } from '../actions/payments.server';
@@ -5,8 +5,8 @@ import {
5
5
  useTransition,
6
6
  useOnEvent,
7
7
  useOnChange,
8
- } from '@mindmatrix/react';
9
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
10
10
  import { User } from '../models/user.model';
11
11
  import { Vehicle } from '../models/vehicle.model';
12
12
 
@@ -5,8 +5,8 @@ import {
5
5
  useTransition,
6
6
  useOnEvent,
7
7
  useOnChange,
8
- } from '@mindmatrix/react';
9
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
8
+ } from '@mmapp/react';
9
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
10
10
  import { Payment } from '../models/payment.model';
11
11
  import { authorizePayment, capturePayment, settlePayment, processRefund, processDriverPayout } from '../actions/payments.server';
12
12
 
@@ -6,8 +6,8 @@ import {
6
6
  useWhileIn,
7
7
  useOnEvent,
8
8
  useOnChange,
9
- } from '@mindmatrix/react';
10
- import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mindmatrix/react';
9
+ } from '@mmapp/react';
10
+ import { Stack, Row, Text, Button, Show, Each, Card, Badge, Heading } from '@mmapp/react';
11
11
  import { Ride } from '../models/ride.model';
12
12
  import { findBestDriver } from '../actions/matching.server';
13
13
  import { calculateEstimatedFare, calculateActualFare, calculateCancellationFee } from '../actions/pricing.server';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmapp/react-compiler",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "Babel plugin + Vite integration for compiling React workflows to Pure Form IR",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -66,12 +66,17 @@
66
66
  "@babel/plugin-syntax-typescript": "^7.24.0",
67
67
  "@babel/traverse": "^7.24.0",
68
68
  "@babel/types": "^7.24.0",
69
- "glob": "^10.3.10",
70
- "@mmapp/player-core": "^0.1.0-alpha.3"
69
+ "@mmapp/player-core": "workspace:*",
70
+ "glob": "^10.3.10"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "vite": ">=5.0.0"
74
74
  },
75
+ "peerDependenciesMeta": {
76
+ "vite": {
77
+ "optional": true
78
+ }
79
+ },
75
80
  "publishConfig": {
76
81
  "access": "public"
77
82
  }