@alicesystems/cli 0.2.1 → 0.2.2
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.
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as createAliceCli } from "./src-
|
|
2
|
+
import { a as createAliceCli } from "./src-D7QghBiE.mjs";
|
|
3
3
|
import { lineByLineConsoleLogger } from "trpc-cli";
|
|
4
4
|
//#region src/cli.ts
|
|
5
5
|
await createAliceCli().run({ logger: lineByLineConsoleLogger });
|
|
@@ -12528,10 +12528,31 @@ services:
|
|
|
12528
12528
|
depends_on:
|
|
12529
12529
|
postgres:
|
|
12530
12530
|
condition: service_healthy
|
|
12531
|
+
migrate:
|
|
12532
|
+
condition: service_completed_successfully
|
|
12531
12533
|
floci:
|
|
12532
12534
|
condition: service_started
|
|
12533
12535
|
restart: unless-stopped
|
|
12534
12536
|
|
|
12537
|
+
# Creates or updates the database tables, then exits. The server and worker wait for it.
|
|
12538
|
+
# With no committed migrations it pushes the schema; once \`pnpm db:generate\` has produced
|
|
12539
|
+
# migrations in packages/database/src/migrations it applies those instead.
|
|
12540
|
+
migrate:
|
|
12541
|
+
extends:
|
|
12542
|
+
service: server
|
|
12543
|
+
working_dir: /app/packages/database
|
|
12544
|
+
command:
|
|
12545
|
+
- sh
|
|
12546
|
+
- -c
|
|
12547
|
+
- if ls src/migrations/*.sql >/dev/null 2>&1; then ./node_modules/.bin/drizzle-kit migrate; else ./node_modules/.bin/drizzle-kit push --force; fi
|
|
12548
|
+
ports: !reset []
|
|
12549
|
+
healthcheck:
|
|
12550
|
+
disable: true
|
|
12551
|
+
depends_on: !override
|
|
12552
|
+
postgres:
|
|
12553
|
+
condition: service_healthy
|
|
12554
|
+
restart: "no"
|
|
12555
|
+
|
|
12535
12556
|
worker:
|
|
12536
12557
|
build:
|
|
12537
12558
|
context: .
|
|
@@ -12547,6 +12568,8 @@ services:
|
|
|
12547
12568
|
depends_on:
|
|
12548
12569
|
postgres:
|
|
12549
12570
|
condition: service_healthy
|
|
12571
|
+
migrate:
|
|
12572
|
+
condition: service_completed_successfully
|
|
12550
12573
|
restart: unless-stopped
|
|
12551
12574
|
|
|
12552
12575
|
# Floci emulates AWS locally, including S3. In production, drop this service and the S3_*
|
|
@@ -17374,11 +17397,9 @@ import {
|
|
|
17374
17397
|
SidebarFooter,
|
|
17375
17398
|
SidebarHeader,
|
|
17376
17399
|
SidebarMenu,
|
|
17377
|
-
SidebarMenuButton,
|
|
17378
17400
|
SidebarMenuItem,
|
|
17379
17401
|
useSidebar,
|
|
17380
17402
|
} from "@{{projectName}}/user-interface/components/sidebar";
|
|
17381
|
-
import Link from "next/link";
|
|
17382
17403
|
import { usePathname } from "next/navigation";
|
|
17383
17404
|
import * as React from "react";
|
|
17384
17405
|
import { useEffect } from "react";
|
|
@@ -17408,14 +17429,10 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
|
|
|
17408
17429
|
<SidebarHeader>
|
|
17409
17430
|
<SidebarMenu>
|
|
17410
17431
|
<SidebarMenuItem>
|
|
17411
|
-
|
|
17412
|
-
|
|
17413
|
-
|
|
17414
|
-
>
|
|
17415
|
-
<Link href="/dashboard">
|
|
17416
|
-
<Logo />
|
|
17417
|
-
</Link>
|
|
17418
|
-
</SidebarMenuButton>
|
|
17432
|
+
{/* Logo is already a link home; wrapping it in a button or link would nest anchors. */}
|
|
17433
|
+
<div className="flex h-10 items-center px-2 group-data-[collapsible=icon]:px-0">
|
|
17434
|
+
<Logo />
|
|
17435
|
+
</div>
|
|
17419
17436
|
</SidebarMenuItem>
|
|
17420
17437
|
</SidebarMenu>
|
|
17421
17438
|
</SidebarHeader>
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as createAliceCli, c as router, d as CompatibilityError, f as DatabaseSetupError, g as ValidationError, h as UserCancelledError, i as create, l as ProjectLauncherSchema, m as ProjectCreationError, n as SchemaNameSchema, o as createVirtual, p as DirectoryConflictError, r as add, s as getSchemaResult, t as Result, u as CLIError } from "./src-
|
|
3
|
-
import { i as VirtualFileSystem, n as GeneratorError, o as generate, r as TEMPLATE_COUNT, t as EMBEDDED_TEMPLATES } from "./dist-
|
|
2
|
+
import { a as createAliceCli, c as router, d as CompatibilityError, f as DatabaseSetupError, g as ValidationError, h as UserCancelledError, i as create, l as ProjectLauncherSchema, m as ProjectCreationError, n as SchemaNameSchema, o as createVirtual, p as DirectoryConflictError, r as add, s as getSchemaResult, t as Result, u as CLIError } from "./src-D7QghBiE.mjs";
|
|
3
|
+
import { i as VirtualFileSystem, n as GeneratorError, o as generate, r as TEMPLATE_COUNT, t as EMBEDDED_TEMPLATES } from "./dist-CWkT5Epw.mjs";
|
|
4
4
|
export { CLIError, CompatibilityError, DatabaseSetupError, DirectoryConflictError, EMBEDDED_TEMPLATES, GeneratorError, ProjectCreationError, ProjectLauncherSchema, Result, SchemaNameSchema, TEMPLATE_COUNT, UserCancelledError, ValidationError, VirtualFileSystem, add, create, createAliceCli, createVirtual, generate, getSchemaResult, router };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as dependencyVersionMap, c as processAddonTemplates, d as processPnpmWorkspaceConfig, f as processTemplateString, h as join, i as VirtualFileSystem, l as processAddonsDeps, m as dirname, n as GeneratorError, o as generate, p as processTurboConfig, s as generateReproducibleCommand, t as EMBEDDED_TEMPLATES, u as processPackageConfigs } from "./dist-
|
|
2
|
+
import { a as dependencyVersionMap, c as processAddonTemplates, d as processPnpmWorkspaceConfig, f as processTemplateString, h as join, i as VirtualFileSystem, l as processAddonsDeps, m as dirname, n as GeneratorError, o as generate, p as processTurboConfig, s as generateReproducibleCommand, t as EMBEDDED_TEMPLATES, u as processPackageConfigs } from "./dist-CWkT5Epw.mjs";
|
|
3
3
|
import z, { z as z$1 } from "zod";
|
|
4
4
|
import { os } from "@orpc/server";
|
|
5
5
|
import { Result, Result as Result$1, TaggedError } from "better-result";
|
package/dist/virtual.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as VirtualFileSystem, n as GeneratorError, o as generate, r as TEMPLATE_COUNT, t as EMBEDDED_TEMPLATES } from "./dist-
|
|
2
|
+
import { i as VirtualFileSystem, n as GeneratorError, o as generate, r as TEMPLATE_COUNT, t as EMBEDDED_TEMPLATES } from "./dist-CWkT5Epw.mjs";
|
|
3
3
|
import { Result } from "better-result";
|
|
4
4
|
export { EMBEDDED_TEMPLATES, GeneratorError, Result, TEMPLATE_COUNT, VirtualFileSystem, generate };
|