@akanjs/devkit 3.0.0-alpha.78 → 3.0.0-alpha.79

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 (2) hide show
  1. package/fleetConfig.ts +2 -30
  2. package/package.json +2 -2
package/fleetConfig.ts CHANGED
@@ -1,37 +1,9 @@
1
1
  import path from "node:path";
2
+ import type { FleetConfigInput, FleetGuardConfig, FleetSpokeDeclaration } from "akanjs";
2
3
  import type { WorkspaceExecutor } from "./executors";
3
4
  import { FileSys } from "./fileSys";
4
5
 
5
- export interface FleetSpokeDeclaration {
6
- /** Short name used on the command line and as the git remote suffix. */
7
- name: string;
8
- repo: string;
9
- /** Apps this spoke serves. Libraries are never listed — they are derived from each app's closure. */
10
- apps: string[];
11
- }
12
-
13
- export interface FleetGuardConfig {
14
- /** CI system the guard job is written for. `"none"` leaves it out — wire `akan fleet check` yourself. */
15
- ci: "github" | "none";
16
- /** Add the `akan fleet check` line to the spoke's pre-commit hook. */
17
- preCommit: boolean;
18
- }
19
-
20
- export interface FleetConfigInput {
21
- /**
22
- * Branches a push may target. A hub feature branch is refused, because pushing it would copy the hub's
23
- * branch namespace into every customer repo.
24
- */
25
- pushableBranches?: string[];
26
- /**
27
- * Workspace-root entries to keep out of every spoke, on top of the ones that always are. Top-level
28
- * names or `dir/` prefixes — a hub's own release and benchmark trees are the usual entries.
29
- */
30
- exclude?: string[];
31
- /** What a push installs in each spoke to keep hub-owned files from being edited there. */
32
- guard?: Partial<FleetGuardConfig>;
33
- spokes: FleetSpokeDeclaration[];
34
- }
6
+ export type { FleetConfigInput, FleetGuardConfig, FleetSpokeDeclaration };
35
7
 
36
8
  /**
37
9
  * `akan.fleet.ts` at the workspace root: which customer repo each app is mirrored to.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "3.0.0-alpha.78",
3
+ "version": "3.0.0-alpha.79",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -45,7 +45,7 @@
45
45
  "@langchain/openai": "^1.4.6",
46
46
  "@tailwindcss/node": "^4.3.0",
47
47
  "@trapezedev/project": "^7.1.4",
48
- "akanjs": "3.0.0-alpha.78",
48
+ "akanjs": "3.0.0-alpha.79",
49
49
  "chalk": "^5.6.2",
50
50
  "commander": "^14.0.3",
51
51
  "dayjs": "^1.11.20",