@alicesystems/cli 0.2.0 → 0.2.1
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-CiiY2qJN.mjs";
|
|
3
3
|
import { lineByLineConsoleLogger } from "trpc-cli";
|
|
4
4
|
//#region src/cli.ts
|
|
5
5
|
await createAliceCli().run({ logger: lineByLineConsoleLogger });
|
|
@@ -9402,11 +9402,11 @@ function updateRootPackageJson(vfs, config) {
|
|
|
9402
9402
|
const scripts = pkgJson.scripts;
|
|
9403
9403
|
const dbPackageName = `@${config.projectName}/database`;
|
|
9404
9404
|
const filter = (workspace, script) => `turbo run ${script} -F ${workspace} --`;
|
|
9405
|
-
scripts.dev = "turbo run dev";
|
|
9405
|
+
scripts.dev = "turbo run dev --filter=!native";
|
|
9406
9406
|
scripts.build = "turbo run build";
|
|
9407
9407
|
scripts["check-types"] = "turbo run check-types";
|
|
9408
9408
|
scripts.test = "turbo run test";
|
|
9409
|
-
scripts["dev:native"] = filter
|
|
9409
|
+
scripts["dev:native"] = "pnpm --filter native run dev";
|
|
9410
9410
|
scripts["dev:website"] = filter("website", "dev");
|
|
9411
9411
|
scripts["dev:platform"] = filter("platform", "dev");
|
|
9412
9412
|
scripts["dev:server"] = filter("server", "dev");
|
|
@@ -9924,8 +9924,9 @@ pnpm dev
|
|
|
9924
9924
|
|
|
9925
9925
|
| Script | Description |
|
|
9926
9926
|
| --- | --- |
|
|
9927
|
-
| \`pnpm dev\` | Start
|
|
9928
|
-
| \`pnpm dev:website\` / \`dev:platform\` / \`dev:server\` / \`dev:worker\`
|
|
9927
|
+
| \`pnpm dev\` | Start the website, platform, server, worker and docs (not native) |
|
|
9928
|
+
| \`pnpm dev:website\` / \`dev:platform\` / \`dev:server\` / \`dev:worker\` | Start one app |
|
|
9929
|
+
| \`pnpm dev:native\` | Start the Expo app (run it in its own terminal) |
|
|
9929
9930
|
| \`pnpm build\` | Build all apps |
|
|
9930
9931
|
| \`pnpm check-types\` | Typecheck all packages |
|
|
9931
9932
|
| \`pnpm test\` | Run the tests (Vitest) |
|
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-CiiY2qJN.mjs";
|
|
3
|
+
import { i as VirtualFileSystem, n as GeneratorError, o as generate, r as TEMPLATE_COUNT, t as EMBEDDED_TEMPLATES } from "./dist-772Vq-_E.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-772Vq-_E.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-772Vq-_E.mjs";
|
|
3
3
|
import { Result } from "better-result";
|
|
4
4
|
export { EMBEDDED_TEMPLATES, GeneratorError, Result, TEMPLATE_COUNT, VirtualFileSystem, generate };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicesystems/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Scaffold an opinionated full-stack TypeScript monorepo: Next.js, Expo, Hono, Drizzle, Better Auth",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"better-auth",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"dev": "tsdown --watch",
|
|
61
61
|
"check-types": "tsc --noEmit",
|
|
62
62
|
"check-test-types": "tsc --noEmit -p tsconfig.tests.json",
|
|
63
|
-
"test": "bun test ./test",
|
|
63
|
+
"test": "bun test --timeout 30000 ./test",
|
|
64
64
|
"test:ci": "bun run build && ALICE_SKIP_EXTERNAL_COMMANDS=1 ALICE_TEST_MODE=1 bun run test --bail=5",
|
|
65
65
|
"test:complete": "cd ../.. && bun run build && cd apps/cli && ALICE_BUILD_SAMPLES=1 bun run test --bail=5",
|
|
66
66
|
"prepublishOnly": "npm run build"
|