@dbx-tools/projen 0.9.64 → 0.9.65

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
@@ -493,13 +493,15 @@ publication it runs `bun run demo:deploy`, which stages the AppKit demo
493
493
  and deploys it to the FEVM workspace. That step is local only and is not
494
494
  recorded in the annotated tag.
495
495
 
496
- After bump, release writes `docs/releases/vX.Y.Z.md` with `dbx genie exec -C
497
- "$PWD" --sandbox read-only --ephemeral -o`. If Genie fails or writes an empty
498
- file, the step keeps going with a short git-log summary. `--no-release-notes`
499
- skips the file. `--release-notes-instructions` appends run-specific guidance to
500
- the standard Genie prompt. Notes are committed with the version bump and are not
501
- recorded in the annotated tag. They are skipped on `--no-bump` because that
502
- path requires an already committed tree.
496
+ After bump and configured validation, release writes
497
+ `docs/releases/vX.Y.Z.md` with `dbx genie exec -C "$PWD" --sandbox read-only
498
+ --ephemeral -o`. The standard prompt forbids running tests or other validation
499
+ commands. If Genie fails or writes an empty file, the step keeps going with a
500
+ short git-log summary. `--no-release-notes` skips the file.
501
+ `--release-notes-instructions` appends run-specific guidance to the standard
502
+ Genie prompt. Notes are committed with the version bump and are not recorded in
503
+ the annotated tag. They are skipped on `--no-bump` because that path requires an
504
+ already committed tree.
503
505
 
504
506
  `--install auto` keeps Projen's normal local dependency-install behavior;
505
507
  `always` performs a manifest-resolved install first, and `never` uses dependencies already
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // Hand edits are overwritten on the next watch; this file is read-only.
4
4
 
5
5
  export const PACKAGE_IDENTIFIER = "@dbx-tools/projen";
6
- export const PACKAGE_VERSION = "0.9.64";
6
+ export const PACKAGE_VERSION = "0.9.65";
7
7
  export * as barrels from "./src/barrels.ts";
8
8
  export * as bunApp from "./src/bun-app.ts";
9
9
  export * as bunWorkflow from "./src/bun-workflow.ts";
package/package.json CHANGED
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@clack/prompts": "^1.7.0",
33
- "@dbx-tools/core": "^0.9.64",
34
- "@dbx-tools/path": "^0.9.64",
35
- "@dbx-tools/shared-core": "^0.9.64",
33
+ "@dbx-tools/core": "^0.9.65",
34
+ "@dbx-tools/path": "^0.9.65",
35
+ "@dbx-tools/shared-core": "^0.9.65",
36
36
  "commander": "^15.0.0",
37
37
  "concurrently": "^10.0.3",
38
38
  "constructs": "^10.6.0",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "main": "index.ts",
56
56
  "license": "Apache-2.0",
57
- "version": "0.9.64",
57
+ "version": "0.9.65",
58
58
  "types": "index.ts",
59
59
  "type": "module",
60
60
  "exports": {
@@ -16,7 +16,7 @@ import { captureTaskCommand, tryTaskCommand } from "../src/_task-command.ts";
16
16
  const logger = log.logger("projen:release-notes");
17
17
 
18
18
  const GENIE_PROMPT =
19
- "Compare HEAD and the working tree against the latest v* tag. Produce concise user-facing release notes. Ignore generated-file churn and test-only changes. Include breaking changes, fixes, and validation results. Do not modify files.";
19
+ "Compare HEAD and the working tree against the latest v* tag. Produce concise user-facing release notes. Ignore generated-file churn and test-only changes. Include breaking changes, fixes, and validation results. The configured release validation phase has already completed, so do not run tests or other validation commands and do not invent validation counts. Do not modify files.";
20
20
 
21
21
  /** Inputs for one notes write. */
22
22
  export interface WriteReleaseNotesOptions {
package/tasks/release.ts CHANGED
@@ -146,14 +146,6 @@ export async function runRelease(
146
146
  const version = readWorkspaceVersion(root);
147
147
  const tag = `${prefix}${version}`;
148
148
  assertReleaseVersion(version, { root, prefixes: [prefix], assertNext: true });
149
- if ((options.releaseNotes ?? true) && (options.bump ?? true)) {
150
- (options.writeReleaseNotes ?? writeReleaseNotes)({
151
- prefix,
152
- root,
153
- version,
154
- instructions: options.releaseNotesInstructions,
155
- });
156
- }
157
149
 
158
150
  if (taskCommandSucceeds(root, "git", ["rev-parse", "--verify", `refs/tags/${tag}`])) {
159
151
  throw new Error(`release tag ${tag} already exists`);
@@ -163,6 +155,14 @@ export async function runRelease(
163
155
  for (const task of selection.validation ? (options.validationTasks ?? []) : []) {
164
156
  runTaskCommand(root, "bun", ["run", task]);
165
157
  }
158
+ if ((options.releaseNotes ?? true) && (options.bump ?? true)) {
159
+ (options.writeReleaseNotes ?? writeReleaseNotes)({
160
+ prefix,
161
+ root,
162
+ version,
163
+ instructions: options.releaseNotesInstructions,
164
+ });
165
+ }
166
166
  const status = captureTaskCommand(
167
167
  root,
168
168
  "git",