@dbx-tools/projen 0.9.54 → 0.9.58

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/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.54";
6
+ export const PACKAGE_VERSION = "0.9.58";
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.54",
34
- "@dbx-tools/path": "^0.9.54",
35
- "@dbx-tools/shared-core": "^0.9.54",
33
+ "@dbx-tools/core": "^0.9.58",
34
+ "@dbx-tools/path": "^0.9.58",
35
+ "@dbx-tools/shared-core": "^0.9.58",
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.54",
57
+ "version": "0.9.58",
58
58
  "types": "index.ts",
59
59
  "type": "module",
60
60
  "exports": {
package/src/vscode.ts CHANGED
@@ -17,12 +17,28 @@ export function configureVsCode(scope: javascript.NodeProject): void {
17
17
  "javascript.preferences.importModuleSpecifier": "non-relative",
18
18
  "editor.formatOnSave": true,
19
19
  "editor.defaultFormatter": "esbenp.prettier-vscode",
20
+ "editor.codeActionsOnSave": {
21
+ "source.fixAll.eslint": "explicit",
22
+ },
23
+ "[python]": {
24
+ "editor.defaultFormatter": "charliermarsh.ruff",
25
+ "editor.formatOnSave": true,
26
+ "editor.codeActionsOnSave": {
27
+ "source.fixAll.ruff": "explicit",
28
+ },
29
+ },
30
+ "notebook.formatOnSave.enabled": true,
31
+ "notebook.defaultFormatter": "charliermarsh.ruff",
20
32
  "files.watcherExclude": {
21
33
  "**/node_modules/**": true,
22
34
  "**/dist/**": true,
23
35
  },
24
36
  });
25
- editor.extensions.addRecommendations("esbenp.prettier-vscode");
37
+ editor.extensions.addRecommendations(
38
+ "esbenp.prettier-vscode",
39
+ "dbaeumer.vscode-eslint",
40
+ "charliermarsh.ruff",
41
+ );
26
42
 
27
43
  new JsonFile(scope, ".vscode/tasks.json", {
28
44
  marker: false,
@@ -463,7 +463,9 @@ export async function main(args: string[] = process.argv.slice(2)): Promise<void
463
463
  "",
464
464
  ...(usesCallable ? ["from collections.abc import Callable"] : []),
465
465
  "from dataclasses import dataclass, field",
466
- "from typing import Any, NotRequired, Protocol, TypedDict",
466
+ "from typing import Any, Protocol, TypedDict",
467
+ "",
468
+ "from typing_extensions import NotRequired",
467
469
  "",
468
470
  "from .._runtime import MISSING as _MISSING",
469
471
  "from .._runtime import invoke_positioned as _invoke_positioned",
package/tasks/release.ts CHANGED
@@ -161,6 +161,7 @@ export async function runRelease(
161
161
  );
162
162
  }
163
163
 
164
+ runTaskCommand(root, "git", ["push", remote, `HEAD:${branch}`]);
164
165
  runTaskCommand(root, "git", [
165
166
  "tag",
166
167
  "--annotate",
@@ -169,7 +170,7 @@ export async function runRelease(
169
170
  releaseTagAnnotation(tag, selection),
170
171
  ]);
171
172
  try {
172
- runTaskCommand(root, "git", ["push", "--atomic", remote, `HEAD:${branch}`, `refs/tags/${tag}`]);
173
+ runTaskCommand(root, "git", ["push", remote, `refs/tags/${tag}`]);
173
174
  } catch (error) {
174
175
  runTaskCommand(root, "git", ["tag", "--delete", tag]);
175
176
  throw error;