@dbx-tools/projen 0.6.150 → 0.6.151

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/package.json CHANGED
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@clack/prompts": "^1.7.0",
29
- "@dbx-tools/core": "0.6.150",
30
- "@dbx-tools/path": "0.6.150",
31
- "@dbx-tools/shared-core": "0.6.150",
29
+ "@dbx-tools/core": "0.6.151",
30
+ "@dbx-tools/path": "0.6.151",
31
+ "@dbx-tools/shared-core": "0.6.151",
32
32
  "commander": "^15.0.0",
33
33
  "concurrently": "^10.0.3",
34
34
  "constructs": "^10.6.0",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "main": "index.ts",
50
50
  "license": "Apache-2.0",
51
- "version": "0.6.150",
51
+ "version": "0.6.151",
52
52
  "types": "index.ts",
53
53
  "type": "module",
54
54
  "exports": {
package/src/project-py.ts CHANGED
@@ -515,7 +515,7 @@ export class DBXToolsPythonWorkspace extends Component {
515
515
  "",
516
516
  `- Confirm that the active PyPI account is ${repository.owner}.`,
517
517
  "- Start at https://pypi.org/manage/projects/ and determine which listed projects exist.",
518
- "- Inspect every existing GitHub publisher for each project and compare its repository owner, repository name, workflow filename, and environment with the desired values below.",
518
+ "- Inspect every existing GitHub publisher for each project and compare its owner, repository name, workflow name, and environment name with the desired values below.",
519
519
  "- Identify duplicate and mismatched trusted publishers that must be replaced by removing the publisher entry and adding the correct one.",
520
520
  "- For projects that do not exist, identify the pending publisher that must be created.",
521
521
  "- Report the active account and a proposed reconciliation plan grouped by publishers that will be left unchanged, updated, replaced, created, or removed.",
@@ -556,13 +556,10 @@ export class DBXToolsPythonWorkspace extends Component {
556
556
  const workflowName = `${publication.workflowName}.yml`;
557
557
  return [
558
558
  `## ${publication.distribution}`,
559
- `- PyPI project: ${publication.distribution}`,
560
- `- GitHub repository: ${repository.owner}/${repository.name}`,
561
- `- Repository owner: ${repository.owner}`,
559
+ `- Owner: ${repository.owner}`,
562
560
  `- Repository name: ${repository.name}`,
563
- `- GitHub environment: ${publication.environment}`,
564
- `- Workflow filename: ${workflowName}`,
565
- `- Workflow path: .github/workflows/${workflowName}`,
561
+ `- Workflow name: ${workflowName}`,
562
+ `- Environment name: ${publication.environment}`,
566
563
  ...(publication.artifacts ? [`- Artifacts: ${publication.artifacts}`] : []),
567
564
  "",
568
565
  ];
package/src/project-rs.ts CHANGED
@@ -413,7 +413,7 @@ export class DBXToolsRustWorkspace {
413
413
  private: true,
414
414
  trustedPublisher: {
415
415
  workflowName: options.releaseWorkflowName ?? "rust-release",
416
- environment: `native-${pkg.crateName}`,
416
+ environment: `pypi-${pkg.crateName}`,
417
417
  artifacts: `platform-specific wheels for ${releaseTargets(options)
418
418
  .map((target) => `${target.os}-${target.cpu}`)
419
419
  .join(", ")}; all architectures publish to this one PyPI project`,
@@ -684,7 +684,7 @@ export class DBXToolsRustWorkspace {
684
684
  "runs-on": "ubuntu-latest",
685
685
  strategy: { matrix: { binding: bindings } },
686
686
  permissions: { contents: "read", "id-token": "write" },
687
- environment: { name: "native-${{ matrix.binding.crate }}" },
687
+ environment: { name: "pypi-${{ matrix.binding.crate }}" },
688
688
  steps: [
689
689
  { name: "Checkout", uses: "actions/checkout@v6" },
690
690
  {