@patronage/factory-ci 0.1.1 → 0.1.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/README.md CHANGED
@@ -21,7 +21,7 @@ The admission rule is **upstream on repetition**: nothing enters this package un
21
21
  ```ts
22
22
  import {
23
23
  factoryWorkflow,
24
- NODE_PNPM_ACTION_FAMILY_V4,
24
+ NODE_PNPM_ACTION_FAMILY_NODE24,
25
25
  } from "@patronage/factory-ci";
26
26
  ```
27
27
 
@@ -31,11 +31,11 @@ import {
31
31
  - `setupSteps`: checkout → pnpm → Node → install, customizable by named role
32
32
  - `writeOptions`: the provenance banner and `pinDeps: false`, ready to spread into gagen's `writeOrLint`
33
33
 
34
- Every action is validated as `owner/repo@<full sha>`, with its release tag kept separately. A complete `actionFamily` is required; there is no default that could silently move a consumer between action majors. `NODE_PNPM_ACTION_FAMILY_V4` is the family already proven across HQ's workflows. Firedup supplies its own complete v6 family until that family repeats in another project and qualifies for upstream admission.
34
+ Every action is validated as `owner/repo@<full sha>`, with its release tag kept separately. A complete `actionFamily` is required; there is no default that could silently move a consumer between action majors. `NODE_PNPM_ACTION_FAMILY_NODE24` is the canonical family whose checkout, Node setup, and pnpm setup actions all declare a Node 24 JavaScript runtime.
35
35
 
36
36
  ```ts
37
37
  const generated = factoryWorkflow({
38
- actionFamily: NODE_PNPM_ACTION_FAMILY_V4,
38
+ actionFamily: NODE_PNPM_ACTION_FAMILY_NODE24,
39
39
  additionalActions: {
40
40
  pathsFilter: {
41
41
  tag: "v3",
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  * impossible: regenerating a workflow can no longer move a pin.
12
12
  *
13
13
  * `uses` is a bare `owner/repo@<sha>` string, safe to hand straight to a
14
- * gagen step. The tag lives in its own field rather than as a `# v4.4.0`
14
+ * gagen step. The tag lives in its own field rather than as a `# v7.0.1`
15
15
  * suffix on `uses`, because a `#` inside a YAML scalar forces quoting and
16
16
  * gagen's pin pass reads the value with `\S+` — the two together corrupt the
17
17
  * emitted `uses:` line. gagen writes the `# <tag>` comment itself.
@@ -30,25 +30,25 @@ interface NodePnpmActionFamily {
30
30
  readonly setupPnpm: PinnedAction;
31
31
  }
32
32
  /**
33
- * The v4 family already shared by HQ's generated workflows.
33
+ * The canonical Node 24 family shared by factory-project workflows.
34
34
  *
35
35
  * Consumers must pass this (or their own complete family) to
36
- * `factoryWorkflow`; there is deliberately no implicit default. In
37
- * particular, Firedup's v6 action family must stay v6 during adoption.
36
+ * `factoryWorkflow`; there is deliberately no implicit default. Every action
37
+ * in this family declares `runs.using: node24` at the named release.
38
38
  */
39
- declare const NODE_PNPM_ACTION_FAMILY_V4: {
39
+ declare const NODE_PNPM_ACTION_FAMILY_NODE24: {
40
40
  readonly checkout: {
41
- readonly tag: "v4.4.0";
42
- readonly uses: "actions/checkout@11d5960a326750d5838078e36cf38b85af677262";
41
+ readonly tag: "v7.0.1";
42
+ readonly uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1";
43
43
  };
44
- readonly id: "node-pnpm-v4";
44
+ readonly id: "node-pnpm-node24";
45
45
  readonly setupNode: {
46
- readonly tag: "v4.4.0";
47
- readonly uses: "actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020";
46
+ readonly tag: "v7.0.0";
47
+ readonly uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020";
48
48
  };
49
49
  readonly setupPnpm: {
50
- readonly tag: "v4.3.0";
51
- readonly uses: "pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1";
50
+ readonly tag: "v6.0.9";
51
+ readonly uses: "pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271";
52
52
  };
53
53
  };
54
54
  //#endregion
@@ -225,4 +225,4 @@ interface ExecuteAlchemyEntryResult {
225
225
  */
226
226
  declare const executeAlchemyEntry: (options: ExecuteAlchemyEntryOptions) => Promise<ExecuteAlchemyEntryResult>;
227
227
  //#endregion
228
- export { type BundleAlchemyEntryOptions, type CheckoutStepOptions, type ExecuteAlchemyEntryOptions, type ExecuteAlchemyEntryResult, type FactoryWorkflowArtifact, type FactoryWorkflowOptions, type FactoryWorkflowSetupOptions, type InstallStepOptions, type LocalPreviewStage, type LocalPreviewStageOptions, NODE_PNPM_ACTION_FAMILY_V4, type NodePnpmActionFamily, type ParseLocalPreviewStageExpected, type ParsedLocalPreviewStage, type PinnedAction, type SetupNodeStepOptions, type WorkflowStep, bundleAlchemyEntry, executeAlchemyEntry, factoryWorkflow, isLocalPreviewStage, localPreviewStage, parseLocalPreviewStage };
228
+ export { type BundleAlchemyEntryOptions, type CheckoutStepOptions, type ExecuteAlchemyEntryOptions, type ExecuteAlchemyEntryResult, type FactoryWorkflowArtifact, type FactoryWorkflowOptions, type FactoryWorkflowSetupOptions, type InstallStepOptions, type LocalPreviewStage, type LocalPreviewStageOptions, NODE_PNPM_ACTION_FAMILY_NODE24, type NodePnpmActionFamily, type ParseLocalPreviewStageExpected, type ParsedLocalPreviewStage, type PinnedAction, type SetupNodeStepOptions, type WorkflowStep, bundleAlchemyEntry, executeAlchemyEntry, factoryWorkflow, isLocalPreviewStage, localPreviewStage, parseLocalPreviewStage };
package/dist/index.js CHANGED
@@ -5,25 +5,25 @@ import { build } from "esbuild";
5
5
  import { spawnSync } from "node:child_process";
6
6
  //#region src/actions.ts
7
7
  /**
8
- * The v4 family already shared by HQ's generated workflows.
8
+ * The canonical Node 24 family shared by factory-project workflows.
9
9
  *
10
10
  * Consumers must pass this (or their own complete family) to
11
- * `factoryWorkflow`; there is deliberately no implicit default. In
12
- * particular, Firedup's v6 action family must stay v6 during adoption.
11
+ * `factoryWorkflow`; there is deliberately no implicit default. Every action
12
+ * in this family declares `runs.using: node24` at the named release.
13
13
  */
14
- const NODE_PNPM_ACTION_FAMILY_V4 = {
14
+ const NODE_PNPM_ACTION_FAMILY_NODE24 = {
15
15
  checkout: {
16
- tag: "v4.4.0",
17
- uses: "actions/checkout@11d5960a326750d5838078e36cf38b85af677262"
16
+ tag: "v7.0.1",
17
+ uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1"
18
18
  },
19
- id: "node-pnpm-v4",
19
+ id: "node-pnpm-node24",
20
20
  setupNode: {
21
- tag: "v4.4.0",
22
- uses: "actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020"
21
+ tag: "v7.0.0",
22
+ uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020"
23
23
  },
24
24
  setupPnpm: {
25
- tag: "v4.3.0",
26
- uses: "pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1"
25
+ tag: "v6.0.9",
26
+ uses: "pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271"
27
27
  }
28
28
  };
29
29
  //#endregion
@@ -241,4 +241,4 @@ const executeAlchemyEntry = async (options) => {
241
241
  };
242
242
  };
243
243
  //#endregion
244
- export { NODE_PNPM_ACTION_FAMILY_V4, bundleAlchemyEntry, executeAlchemyEntry, factoryWorkflow, isLocalPreviewStage, localPreviewStage, parseLocalPreviewStage };
244
+ export { NODE_PNPM_ACTION_FAMILY_NODE24, bundleAlchemyEntry, executeAlchemyEntry, factoryWorkflow, isLocalPreviewStage, localPreviewStage, parseLocalPreviewStage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patronage/factory-ci",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Deep CI and deploy building blocks for Patronage factory projects: workflow source artifacts, Alchemy entry execution, and disposable-stage semantics",
5
5
  "keywords": [
6
6
  "alchemy",
package/src/actions.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  * impossible: regenerating a workflow can no longer move a pin.
11
11
  *
12
12
  * `uses` is a bare `owner/repo@<sha>` string, safe to hand straight to a
13
- * gagen step. The tag lives in its own field rather than as a `# v4.4.0`
13
+ * gagen step. The tag lives in its own field rather than as a `# v7.0.1`
14
14
  * suffix on `uses`, because a `#` inside a YAML scalar forces quoting and
15
15
  * gagen's pin pass reads the value with `\S+` — the two together corrupt the
16
16
  * emitted `uses:` line. gagen writes the `# <tag>` comment itself.
@@ -31,24 +31,24 @@ export interface NodePnpmActionFamily {
31
31
  }
32
32
 
33
33
  /**
34
- * The v4 family already shared by HQ's generated workflows.
34
+ * The canonical Node 24 family shared by factory-project workflows.
35
35
  *
36
36
  * Consumers must pass this (or their own complete family) to
37
- * `factoryWorkflow`; there is deliberately no implicit default. In
38
- * particular, Firedup's v6 action family must stay v6 during adoption.
37
+ * `factoryWorkflow`; there is deliberately no implicit default. Every action
38
+ * in this family declares `runs.using: node24` at the named release.
39
39
  */
40
- export const NODE_PNPM_ACTION_FAMILY_V4 = {
40
+ export const NODE_PNPM_ACTION_FAMILY_NODE24 = {
41
41
  checkout: {
42
- tag: "v4.4.0",
43
- uses: "actions/checkout@11d5960a326750d5838078e36cf38b85af677262",
42
+ tag: "v7.0.1",
43
+ uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1",
44
44
  },
45
- id: "node-pnpm-v4",
45
+ id: "node-pnpm-node24",
46
46
  setupNode: {
47
- tag: "v4.4.0",
48
- uses: "actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020",
47
+ tag: "v7.0.0",
48
+ uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020",
49
49
  },
50
50
  setupPnpm: {
51
- tag: "v4.3.0",
52
- uses: "pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1",
51
+ tag: "v6.0.9",
52
+ uses: "pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271",
53
53
  },
54
54
  } as const satisfies NodePnpmActionFamily;
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  export {
12
- NODE_PNPM_ACTION_FAMILY_V4,
12
+ NODE_PNPM_ACTION_FAMILY_NODE24,
13
13
  type NodePnpmActionFamily,
14
14
  type PinnedAction,
15
15
  } from "./actions.ts";