@multiplatform.one/cli 7.90.6 → 8.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.
@@ -5,22 +5,18 @@
5
5
  // linear-gradient for the colour picker). None of those resolve under
6
6
  // GJS.
7
7
  //
8
- // Re-export the fields the starter ContactForm uses, through deep
9
- // `…/src/*` paths — the bare package name is aliased to this file.
8
+ // Re-export the fields the starter ContactForm uses. From this file the
9
+ // bare package name reaches the package's gnome entry, not this shim.
10
10
  // Adding a field is one line here plus, usually, one granular @tamagui/*
11
11
  // export in ../tamagui-barrel.ts.
12
12
 
13
- export { Button } from "@multiplatform.one/forms/src/Button";
14
- export type { ButtonProps } from "@multiplatform.one/forms/src/Button";
15
- export { Input } from "@multiplatform.one/forms/src/fields/Input";
16
- export { TextArea } from "@multiplatform.one/forms/src/fields/TextArea";
17
- export { Spinner } from "@multiplatform.one/forms/src/Spinner";
18
- export { zIndex } from "@multiplatform.one/forms/src/shared/zIndex";
19
- export {
20
- OverlayStackProvider,
21
- useOverlayZIndex,
22
- withOverlayStack,
23
- } from "@multiplatform.one/forms/src/shared/overlayStack";
13
+ export { Button } from "@multiplatform.one/forms";
14
+ export type { ButtonProps } from "@multiplatform.one/forms";
15
+ export { Input } from "@multiplatform.one/forms";
16
+ export { TextArea } from "@multiplatform.one/forms";
17
+ export { Spinner } from "@multiplatform.one/forms";
18
+ export { zIndex } from "@multiplatform.one/forms";
19
+ export { OverlayStackProvider, useOverlayZIndex, withOverlayStack } from "@multiplatform.one/forms";
24
20
 
25
21
  // The first components real screens reach for — status chips, loading
26
22
  // skeletons, a search field. Chip and Skeleton LIVE here in forms
@@ -28,22 +24,18 @@ export {
28
24
  // Chip/Skeleton modules import the bare package name — which is aliased
29
25
  // to this file — so these exports serve both the screens' direct imports
30
26
  // and those internal re-export hops.
31
- export { Chip, ChipFrame, ChipText, chipIconSize } from "@multiplatform.one/forms/src/Chip";
27
+ export { Chip, ChipFrame, ChipText, chipIconSize } from "@multiplatform.one/forms";
32
28
  export type {
33
29
  ChipColor,
34
30
  ChipFrameProps,
35
31
  ChipProps,
36
32
  ChipSize,
37
33
  ChipVariant,
38
- } from "@multiplatform.one/forms/src/Chip";
39
- export { SearchInput } from "@multiplatform.one/forms/src/fields/SearchInput";
40
- export { Skeleton, SkeletonCircle, SkeletonText } from "@multiplatform.one/forms/src/Skeleton";
41
- export type {
42
- SkeletonFrameProps,
43
- SkeletonProps,
44
- SkeletonVariant,
45
- } from "@multiplatform.one/forms/src/Skeleton";
34
+ } from "@multiplatform.one/forms";
35
+ export { SearchInput } from "@multiplatform.one/forms";
36
+ export { Skeleton, SkeletonCircle, SkeletonText } from "@multiplatform.one/forms";
37
+ export type { SkeletonFrameProps, SkeletonProps, SkeletonVariant } from "@multiplatform.one/forms";
46
38
 
47
39
  // Select stays inside the core + stacks subgraph on the native path.
48
- export { Select } from "@multiplatform.one/forms/src/fields/Select";
49
- export type { SelectOption, SelectProps } from "@multiplatform.one/forms/src/fields/Select";
40
+ export { Select } from "@multiplatform.one/forms";
41
+ export type { SelectOption, SelectProps } from "@multiplatform.one/forms";
@@ -11,7 +11,8 @@
11
11
  // alone. It is GJS-inert — React context plus a type-only import of
12
12
  // @multiplatform.one/frappe.
13
13
  //
14
- // Deep `…/src/*` path rather than the bare package name, which is
15
- // aliased to this file and would loop.
14
+ // The bare package name reaches the package's gnome entry from this file,
15
+ // not this shim, so it cannot loop.
16
16
 
17
- export * from "@multiplatform.one/frappe-ui/src/FrappeProvider";
17
+ export { FrappeProvider, useFrappeConfig, useFrappeContext } from "@multiplatform.one/frappe-ui";
18
+ export type { FrappeConfig, FrappeProviderProps } from "@multiplatform.one/frappe-ui";
@@ -9,38 +9,262 @@
9
9
  // @package/themes needs the theme builders and fonts, and the page-shell
10
10
  // components need the knob resolver.
11
11
  //
12
- // Deep `…/src/*` paths rather than the bare package name, which is
13
- // aliased to this file and would loop.
12
+ // The bare package name reaches the package's gnome entry from this file,
13
+ // not this shim, so it cannot loop.
14
14
 
15
15
  // DEV guardrails (devWarn + warn* helpers). The forms package's shared/
16
16
  // devWarn re-exports these from THIS barrel, and its Button/Input/Chip
17
17
  // import them at module scope. Pure console plumbing, no platform deps.
18
- export * from "@multiplatform.one/theme/src/devWarn";
19
- export * from "@multiplatform.one/theme/src/font";
18
+ export {
19
+ DIALOG_MAX_ACTIONS,
20
+ __resetDevWarnSeen,
21
+ __resetThemeDevWarnSeen,
22
+ devWarn,
23
+ themeDevWarn,
24
+ warnBannedErrorWords,
25
+ warnBareDisabled,
26
+ warnCancelDisabled,
27
+ warnDialogTooManyActions,
28
+ warnOutlineNone,
29
+ warnOutlinedIgnored,
30
+ warnPlaceholderAsLabel,
31
+ warnPositiveTabIndex,
32
+ warnSelectTooFewOptions,
33
+ warnSizeRecipeEscape,
34
+ warnTooltipOnDisabled,
35
+ } from "@multiplatform.one/theme";
36
+ export type {
37
+ DevWarnCode,
38
+ DevWarnDetail,
39
+ GuardrailSpecimenParameter,
40
+ } from "@multiplatform.one/theme";
41
+ export { createDefaultFont } from "@multiplatform.one/theme";
20
42
  // Shared menu-row geometry — DropdownMenu (components shim) reads it at
21
43
  // module scope. Pure.
22
- export * from "@multiplatform.one/theme/src/menuRow";
23
- export * from "@multiplatform.one/theme/src/theme/createDefaultThemeConfig";
24
- export * from "@multiplatform.one/theme/src/theme/createThemes";
44
+ export {
45
+ menuRowCheckGlyph,
46
+ menuRowCheckInk,
47
+ menuRowChecked,
48
+ menuRowFrame,
49
+ menuRowIconGlyph,
50
+ resolveMenuRowCheckInk,
51
+ useMenuRowCheckInk,
52
+ } from "@multiplatform.one/theme";
53
+ export type { MenuRowGlyph } from "@multiplatform.one/theme";
54
+ export {
55
+ TAMAGUI_ERA,
56
+ assertNoPrebuiltThemes,
57
+ createDefaultThemeConfig,
58
+ tamaguiEra,
59
+ } from "@multiplatform.one/theme";
60
+ export type { CreateDefaultThemeConfigOptions } from "@multiplatform.one/theme";
61
+ export {
62
+ createThemesBuilder,
63
+ houseComponentThemes,
64
+ houseGrandChildrenThemes,
65
+ houseTemplates,
66
+ tintHueNames,
67
+ } from "@multiplatform.one/theme";
68
+ export type {
69
+ BaseThemeBuilderDefinition,
70
+ CreateThemesBuilderOptions,
71
+ GetThemeProps,
72
+ Shadows,
73
+ ThemeBuilderDefinition,
74
+ } from "@multiplatform.one/theme";
25
75
  // Focus-visible ring guarantee (pure color math over ./colorRules).
26
- export * from "@multiplatform.one/theme/src/theme/focusState";
76
+ export {
77
+ FOCUS_RING_CLIPPED_OFFSET,
78
+ FOCUS_RING_FLUSH_OFFSET,
79
+ FOCUS_RING_HALO_OFFSET,
80
+ FOCUS_RING_MIN_CONTRAST,
81
+ FOCUS_RING_MIN_WIDTH,
82
+ FOCUS_VISIBLE_RING,
83
+ FOCUS_VISIBLE_RING_HALO,
84
+ FOCUS_VISIBLE_RING_INSET,
85
+ SANCTIONED_FOCUS_RING_OFFSETS,
86
+ STATE_LAYER_HOVER,
87
+ STATE_LAYER_PRESS,
88
+ ensureFocusVisibleRing,
89
+ focusRingColorMeetsContrast,
90
+ isSanctionedFocusRingOffset,
91
+ withDefaultStateLayer,
92
+ } from "@multiplatform.one/theme";
27
93
  // Hairline width — resolves to hairline.native.ts (RN StyleSheet, which
28
94
  // the react-native alias backs with the GTK compat package).
29
- export * from "@multiplatform.one/theme/src/theme/hairline";
95
+ export {
96
+ ensureHairlineFallback,
97
+ hairline,
98
+ hairlineBorderWidth,
99
+ hairlineFallbackCss,
100
+ hairlineWidth,
101
+ } from "@multiplatform.one/theme";
30
102
  // Intent wrapper — DropdownMenu and ConfirmDialog color their rows and
31
103
  // actions through it. Pure.
32
- export * from "@multiplatform.one/theme/src/theme/Intent";
33
- export * from "@multiplatform.one/theme/src/theme/intents";
34
- export * from "@multiplatform.one/theme/src/theme/knobs";
104
+ export { Intent } from "@multiplatform.one/theme";
105
+ export type { IntentProps } from "@multiplatform.one/theme";
106
+ export { defaultIntents } from "@multiplatform.one/theme";
107
+ export {
108
+ BodyFont,
109
+ BorderRadius,
110
+ BorderWidth,
111
+ BulkBarPlacement,
112
+ CornerSmoothing,
113
+ DisabledStyle,
114
+ Elevation,
115
+ FieldLabelPlacement,
116
+ FillStyle,
117
+ FontCategory,
118
+ FontWeight,
119
+ FormAutofocus,
120
+ HeadingFont,
121
+ PageTitleScale,
122
+ RequiredMarking,
123
+ SelectAllScope,
124
+ TableZebra,
125
+ TextAccent,
126
+ TimestampStyle,
127
+ defaultKnobs,
128
+ emptyStateKnobs,
129
+ interactionStates,
130
+ normalizeAnimationKnob,
131
+ } from "@multiplatform.one/theme";
132
+ export type { Animation, InteractionState, Knobs, StateKnobs } from "@multiplatform.one/theme";
35
133
  // Press-target and hairline constants (MIN_PRESS_TARGET, hairline, …) the
36
134
  // forms Chip and SearchInput read at module scope. Pure numbers/objects.
37
- export * from "@multiplatform.one/theme/src/theme/layoutTokens";
38
- export * from "@multiplatform.one/theme/src/theme/PresetContext";
39
- export * from "@multiplatform.one/theme/src/theme/presets";
135
+ export {
136
+ DETAIL_READABLE_WIDTH,
137
+ FORM_READABLE_WIDTH,
138
+ FORM_READABLE_WIDTH_MAX,
139
+ FORM_READABLE_WIDTH_MIN,
140
+ LAYOUT_SIZE_CLASS_ORDER,
141
+ MIN_PRESS_TARGET,
142
+ NARROW_BREAKPOINT,
143
+ OVERLAY_ANCHOR_GAP,
144
+ OVERLAY_ATTACH_GAP,
145
+ OVERLAY_BREAKPOINT,
146
+ READING_WIDTH_BODY_FALLBACK,
147
+ READING_WIDTH_CH,
148
+ READING_WIDTH_CH_EM,
149
+ READING_WIDTH_MAX_CH,
150
+ READING_WIDTH_MIN_CH,
151
+ defaultMaxPanes,
152
+ getLayoutSizeClass,
153
+ isTouchSurface,
154
+ layoutBreakpoints,
155
+ layoutSizeClassAtLeast,
156
+ pressTargetHitSlop,
157
+ pressTargetStyle,
158
+ readingWidthStyle,
159
+ useLayoutSizeClass,
160
+ useMultiPane,
161
+ useReadingWidthStyle,
162
+ useSemanticGaps,
163
+ } from "@multiplatform.one/theme";
164
+ export type {
165
+ HitSlopInsets,
166
+ LayoutBreakpointName,
167
+ LayoutSizeClass,
168
+ PressTargetStyle,
169
+ ReadingWidthStyle,
170
+ } from "@multiplatform.one/theme";
171
+ export { PresetContext, usePresetContext, usePresetTints } from "@multiplatform.one/theme";
172
+ export type { PresetContextValue } from "@multiplatform.one/theme";
173
+ export {
174
+ boldPreset,
175
+ consolePreset,
176
+ defaultPreset,
177
+ densePreset,
178
+ heroPreset,
179
+ roomyPreset,
180
+ storefrontPreset,
181
+ } from "@multiplatform.one/theme";
40
182
  // radiusClassProps — imported by layouts/page and the forms Skeleton at
41
183
  // module scope since the 6.5/6.6 radius-identity wave. Pure.
42
- export * from "@multiplatform.one/theme/src/theme/radiusClass";
43
- export * from "@multiplatform.one/theme/src/theme/recipes";
44
- export * from "@multiplatform.one/theme/src/theme/resolveKnobs";
45
- export * from "@multiplatform.one/theme/src/theme/shared";
46
- export * from "@multiplatform.one/theme/src/theme/useResolvedKnobs";
184
+ export {
185
+ radiusClassProps,
186
+ radiusOverrideFor,
187
+ radiusResolutionProps,
188
+ resolveRadiusClass,
189
+ resolveRadiusForPart,
190
+ } from "@multiplatform.one/theme";
191
+ export type {
192
+ KnobImmuneRadiusClass,
193
+ RadiusClassDeclaration,
194
+ RadiusClassGeometry,
195
+ RadiusResolutionDeclaration,
196
+ ResolveRadiusForPartOptions,
197
+ ResolvedPartRadius,
198
+ ResolvedRadiusSource,
199
+ } from "@multiplatform.one/theme";
200
+ export type {
201
+ CardLiftProps,
202
+ ControlStateProps,
203
+ CornerSmoothingCarrier,
204
+ DisabledAssemblyProps,
205
+ DisabledChromeProps,
206
+ DisabledRecipe,
207
+ DisabledSurfaceProps,
208
+ DisabledTextProps,
209
+ ElevationChromeProps,
210
+ ElevationPaintProps,
211
+ ElevationStateProps,
212
+ KnobProps,
213
+ KnobPropsOverride,
214
+ KnobRecipe,
215
+ PageTitleFragment,
216
+ ResolvedKnobs,
217
+ SelectedRecipe,
218
+ StateRecipes,
219
+ TextRoleFragment,
220
+ TextStateProps,
221
+ } from "@multiplatform.one/theme";
222
+ export {
223
+ borderRadiusMap,
224
+ capContainerRadius,
225
+ capFieldRadius,
226
+ cardElevationMap,
227
+ cardLift,
228
+ containerCapProps,
229
+ containerRadiusMap,
230
+ edgeColorAt,
231
+ elevationMap,
232
+ getHeadingFontFamily,
233
+ labelFontSizeFor,
234
+ nestedControlPx,
235
+ normalizeSizeToken,
236
+ overlayElevationMap,
237
+ paintedCardFill,
238
+ panelPaddingPx,
239
+ radiusStopFromToken,
240
+ railFillRadius,
241
+ resolveKnobs,
242
+ resolvePageTitleScale,
243
+ resolveTextRoles,
244
+ sizeKeyBelow,
245
+ sizedElevation,
246
+ spacingRoles,
247
+ } from "@multiplatform.one/theme";
248
+ export type {
249
+ CappedContainer,
250
+ ColorScheme,
251
+ ContainerCapDeclaration,
252
+ ResolveKnobsEnvironment,
253
+ } from "@multiplatform.one/theme";
254
+ export {
255
+ clearPresets,
256
+ createThemeConfig,
257
+ getPreset,
258
+ getPresetNames,
259
+ registerPreset,
260
+ resolveThemeFromPreset,
261
+ } from "@multiplatform.one/theme";
262
+ export type { ThemeConfig, ThemeConfigScaleOptions } from "@multiplatform.one/theme";
263
+ export {
264
+ IntentContext,
265
+ solidButtonIntents,
266
+ solidPaletteThemes,
267
+ useIntentContext,
268
+ useResolvedKnobs,
269
+ } from "@multiplatform.one/theme";
270
+ export type { UseResolvedKnobsOptions } from "@multiplatform.one/theme";
@@ -17,6 +17,7 @@
17
17
 
18
18
  import {
19
19
  gnomePlatformExtensions,
20
+ gnomeResolve,
20
21
  tamaguiLinkedAliases,
21
22
  tamaguiPlugin,
22
23
  } from "@multiplatform.one/vite-plugin-gnome";
@@ -29,23 +30,13 @@ import {
29
30
  } from "@react-gnome/vite-plugin";
30
31
  import react from "@vitejs/plugin-react";
31
32
  import { existsSync } from "node:fs";
32
- import { createRequire } from "node:module";
33
33
  import { dirname, resolve } from "node:path";
34
34
  import type { Plugin } from "vite";
35
35
  import { defineConfig } from "vite";
36
36
 
37
- const require = createRequire(import.meta.url);
38
37
  const nodeEnv = process.env.RGN_PROD === "1" ? "production" : "development";
39
38
  const gnomeDir = resolve(import.meta.dirname, "gnome");
40
39
 
41
- /** Directory a package resolves to, so aliases point at THIS app's
42
- * installed copy. pnpm's store layout means a bare package name resolved
43
- * from a file outside this app (a linked workspace source, a hoisted
44
- * @tamagui/*) can miss these — absolute paths cannot. */
45
- function pkgDir(id: string): string {
46
- return dirname(require.resolve(`${id}/package.json`));
47
- }
48
-
49
40
  /** The installed @react-gnome scope directory. Under pnpm's default
50
41
  * isolated linker it sits in THIS app's node_modules; under
51
42
  * `node-linker=hoisted` (this scaffold's .npmrc) everything hoists to
@@ -85,7 +76,7 @@ export default defineConfig({
85
76
  // Don't copy public/ (web favicons) or the generated tamagui.css into
86
77
  // the GJS bundle directory.
87
78
  publicDir: false,
88
- plugins: [stubRnLibraries, react(), tamaguiPlugin],
79
+ plugins: [stubRnLibraries, gnomeResolve(), react(), tamaguiPlugin],
89
80
  resolve: {
90
81
  conditions: [...gnomeConditions],
91
82
  alias: [
@@ -107,30 +98,10 @@ export default defineConfig({
107
98
  // granular @tamagui/* packages this app's graph reaches. The full
108
99
  // meta-barrel drags web-only components into the GJS bundle.
109
100
  ...tamaguiLinkedAliases({ tamaguiBarrel: resolve(gnomeDir, "tamagui-barrel.ts") }),
110
- // Barrels narrowed for GJS — see gnome/shims/*.ts for what each
111
- // one drops and why. Exact-name regexes so the shims' own deep
112
- // `…/src/*` imports don't loop back through the alias.
113
- {
114
- find: /^@multiplatform\.one\/components$/,
115
- replacement: resolve(gnomeDir, "shims/components.ts"),
116
- },
117
- { find: /^@multiplatform\.one\/theme$/, replacement: resolve(gnomeDir, "shims/theme.ts") },
118
- { find: /^@multiplatform\.one\/forms$/, replacement: resolve(gnomeDir, "shims/forms.ts") },
119
- {
120
- find: /^@multiplatform\.one\/frappe-ui$/,
121
- replacement: resolve(gnomeDir, "shims/frappe-ui.ts"),
122
- },
123
101
  // One's file router never mounts on GJS (react-native-screens is a
124
102
  // native-fabric dead end). The shim backs the router API the
125
103
  // screens consume with the framework's navigator seam.
126
104
  { find: /^one$/, replacement: resolve(gnomeDir, "shims/one.ts") },
127
- // The seam BARREL also exports the DOM host and the One adapter,
128
- // whose @vxrn/color-scheme import has no GJS story. Resolve the
129
- // navigator source alone.
130
- {
131
- find: /^@multiplatform\.one\/router\/seam$/,
132
- replacement: resolve(pkgDir("@multiplatform.one/router"), "src/seam/navigator.ts"),
133
- },
134
105
  ],
135
106
  // One React instance. The @react-gnome packages carry their own react
136
107
  // and react-reconciler copies; dedupe forces every import (including
@@ -144,6 +115,20 @@ export default defineConfig({
144
115
  // isNative).
145
116
  extensions: [...gnomePlatformExtensions, ...gnomeExtensions],
146
117
  },
118
+ // Barrels narrowed for GJS, by gnomeResolve(): see gnome/shims/*.ts for
119
+ // what each one drops and why. Everything else resolves the package's
120
+ // gnome export condition.
121
+ gnome: {
122
+ shims: {
123
+ dir: resolve(gnomeDir, "shims"),
124
+ packages: {
125
+ "@multiplatform.one/components": "components.ts",
126
+ "@multiplatform.one/forms": "forms.ts",
127
+ "@multiplatform.one/frappe-ui": "frappe-ui.ts",
128
+ "@multiplatform.one/theme": "theme.ts",
129
+ },
130
+ },
131
+ },
147
132
  define: gnomeDefine(nodeEnv),
148
133
  build: {
149
134
  target: "esnext",
@@ -6,7 +6,7 @@ export interface E2EOptions {
6
6
  noBuild?: boolean;
7
7
  filter?: string;
8
8
  }
9
- /** Discover app that has Playwright config (for E2E test cwd). Returns app name (e.g. "one") or null. */
9
+ /** Discover the app whose package.json names it the e2e app (`"mpo": { "e2e": true }`), for E2E test cwd. Returns app name (e.g. "one") or null. */
10
10
  export declare function discoverE2EApp(projectRoot: string): Promise<string | null>;
11
11
  export declare function detectServices(projectRoot: string): Promise<string[]>;
12
12
  export declare function generateCompose(services: string[], portOffset: number, projectRoot: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"e2e.d.ts","sourceRoot":"","sources":["../../src/commands/e2e.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAmDD,yGAAyG;AACzG,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAkBhF;AAED,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAkB3E;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAsBR;AAiHD,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAiH3F"}
1
+ {"version":3,"file":"e2e.d.ts","sourceRoot":"","sources":["../../src/commands/e2e.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAmDD,oJAAoJ;AACpJ,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAehF;AAED,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAkB3E;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAsBR;AAiHD,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA+G3F"}
@@ -6,7 +6,7 @@
6
6
  * command picks the commit, asks what to keep, and finishes the repo.
7
7
  */
8
8
  /** The apps that exist once per project; everything else under apps/ is a product app. */
9
- export declare const SINGLETON_APPS: readonly ["ethereum", "frappe", "keycloak", "solana", "storybook", "storybook-expo", "sui", "uxpin", "vocs"];
9
+ export declare const SINGLETON_APPS: readonly ["ethereum", "frappe", "keycloak", "solana", "storybook", "storybook-expo", "sui", "vocs"];
10
10
  export type SingletonApp = (typeof SINGLETON_APPS)[number];
11
11
  export interface InitOptions {
12
12
  /** Product apps besides the project name (each is a renamed apps/one). */
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,0FAA0F;AAC1F,eAAO,MAAM,cAAc,8GAUjB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAc3D,MAAM,WAAW,WAAW;IAC1B,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,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EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiHhG"}
@@ -27,7 +27,7 @@ export declare class ScaffoldError extends Error {
27
27
  constructor(message: string, request: ScaffoldRequest);
28
28
  }
29
29
  /** Run scaffold.sh and return the provenance it wrote. */
30
- export declare function runScaffold(request: ScaffoldRequest): Promise<MpoProvenance>;
30
+ export declare function runScaffold(request: ScaffoldRequest, script?: string): Promise<MpoProvenance>;
31
31
  export interface TempScaffold {
32
32
  dir: string;
33
33
  provenance: MpoProvenance;
@@ -1 +1 @@
1
- {"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../src/commands/scaffold.ts"],"names":[],"mappings":"AAKA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3E,oFAAoF;AACpF,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,uCAAuC;IACvC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,aAAc,SAAQ,KAAK;IACtC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;gBACtB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe;CAItD;AAcD,0DAA0D;AAC1D,wBAAsB,WAAW,C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,OAAO,EAAE,eAAe,CAAC;gBACtB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe;CAItD;AAcD,0DAA0D;AAC1D,wBAAsB,WAAW,CAC/B,OAAO,EAAE,eAAe,EACxB,MAAM,SAAmB,GACxB,OAAO,CAAC,aAAa,CAAC,CA2BxB;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,aAAa,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAmDD,kDAAkD;AAClD,wBAAsB,cAAc,CAClC,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAC,GAChD,OAAO,CAAC,YAAY,CAAC,CAgBvB;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAClC,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC,CAiBf"}
@@ -6,9 +6,9 @@ export declare const testTiers: readonly ["unit", "integration", "e2e", "visual"
6
6
  export type TestTier = (typeof testTiers)[number];
7
7
  /** The tiers `mpo test` was asked for (comma or space separated); unit when none is named. */
8
8
  export declare function parseTestTiers(args: string[]): TestTier[];
9
- /** The unit tier: turbo test minus missing services and the e2e app, then the bench's non-integration tests. */
9
+ /** The unit tier: turbo test minus missing services, then the bench's non-integration tests. */
10
10
  export declare function runUnitTests(projectRoot: string, spawn?: Spawn): Promise<void>;
11
- /** The integration tier: the bench's integration-marked tests only; the JS suite belongs to unit. */
11
+ /** The integration tier: turbo test:integration, then the bench's integration-marked tests; a missing service fails it. */
12
12
  export declare function runIntegrationTests(projectRoot: string, spawn?: Spawn): Promise<void>;
13
13
  /** `mpo build`: the packages, then every present app with a build script, each once. */
14
14
  export declare function runBuild(args: string[], projectRoot: string, spawn?: Spawn): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"verbs.d.ts","source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