@naturalcycles/dev-lib 20.65.3 → 20.66.0

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.
@@ -5,10 +5,5 @@
5
5
  //
6
6
  {
7
7
  "extends": "./tsconfig.src.json",
8
- "compilerOptions": {
9
- // copy-paste the paths if needed
10
- // "paths": {
11
- // "@src/*": ["./src/*"]
12
- // },
13
- }
8
+ "compilerOptions": {}
14
9
  }
@@ -5,22 +5,11 @@
5
5
  "extends": "./tsconfig.src.json",
6
6
  "compilerOptions": {
7
7
  "rootDir": "${configDir}/..",
8
- // "baseUrl": "${configDir}/..",
9
8
  "outDir": "${configDir}/../dist/e2e",
10
- // copy-paste the paths if needed
11
- // "paths": {
12
- // "@src/*": ["../src/*"]
13
- // },
14
9
  "tsBuildInfoFile": "${configDir}/../node_modules/.cache/e2e.tsbuildinfo",
15
10
  "module": "esnext",
16
11
  "moduleResolution": "bundler",
17
12
  "lib": ["esnext", "dom", "dom.iterable"]
18
- // copy-paste the paths below,
19
- // it's needed, because playwright doesn't support ${configDir} properly
20
- // "baseUrl": ".",
21
- // "paths": {
22
- // "@src/*": ["./src/*"],
23
- // },
24
13
  },
25
14
  "include": ["${configDir}"]
26
15
  }
@@ -10,9 +10,5 @@
10
10
  "lib": ["esnext", "dom", "dom.iterable"],
11
11
  "module": "esnext",
12
12
  "moduleResolution": "bundler"
13
- // copy-paste the paths if needed
14
- // "paths": {
15
- // "@src/*": ["./src/*"]
16
- // },
17
13
  }
18
14
  }
@@ -5,12 +5,7 @@
5
5
  "extends": "./tsconfig.src.json",
6
6
  "compilerOptions": {
7
7
  "rootDir": "${configDir}/..",
8
- // "baseUrl": "${configDir}/..",
9
8
  "outDir": "${configDir}/../dist/scripts",
10
- // copy-paste the paths if needed
11
- // "paths": {
12
- // "@src/*": ["../src/*"]
13
- // },
14
9
  "tsBuildInfoFile": "${configDir}/../node_modules/.cache/scripts.tsbuildinfo"
15
10
  },
16
11
  "include": ["${configDir}"]
@@ -6,7 +6,6 @@
6
6
  {
7
7
  "compilerOptions": {
8
8
  "rootDir": "${configDir}/src",
9
- // "baseUrl": "${configDir}/src",
10
9
  "outDir": "${configDir}/dist",
11
10
  // Target/module
12
11
  "target": "es2024",
@@ -20,9 +19,7 @@
20
19
  "esModuleInterop": true,
21
20
  "allowSyntheticDefaultImports": true,
22
21
  "verbatimModuleSyntax": true,
23
- // Faster compilation in general
24
- // Support for external compilers (e.g esbuild)
25
- // Speedup in Jest by using "isolatedModules" in 'ts-jest' config
22
+ // Faster compilation in general, support for external compilers (e.g esbuild)
26
23
  "isolatedModules": true,
27
24
  "types": ["node"],
28
25
 
@@ -133,7 +133,10 @@ export function getCommitsSince(tag, relativeDir) {
133
133
  * Create the release tag on HEAD and push it to origin.
134
134
  */
135
135
  export function createAndPushTag(tag, repo) {
136
- exec2.exec(`git tag "${tag}"`);
136
+ // Always a lightweight tag: with `tag.gpgsign=true` in the local git config a plain `git tag`
137
+ // would try to create a signed annotated tag and fail with "no tag message?" - after the
138
+ // package was already published, leaving a version on npm without its tag.
139
+ exec2.exec(`git tag --no-sign "${tag}"`);
137
140
  try {
138
141
  exec2.exec(`git push "${getAuthenticatedRemote(repo)}" "refs/tags/${tag}"`);
139
142
  }
@@ -140,7 +140,7 @@ function bumpPackageJsonVersion(dir, version) {
140
140
  const packageJsonPath = `${dir}/package.json`;
141
141
  const pkgJson = fs2.readJson(packageJsonPath);
142
142
  pkgJson['version'] = version;
143
- fs2.writeJson(packageJsonPath, pkgJson, { spaces: 2 });
143
+ fs2.writePrettyJson(packageJsonPath, pkgJson);
144
144
  }
145
145
  /**
146
146
  * Expose the release result to subsequent GitHub Actions steps,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.65.3",
4
+ "version": "20.66.0",
5
5
  "dependencies": {
6
6
  "prompts": "^2",
7
7
  "@naturalcycles/js-lib": "^15",
@@ -83,7 +83,7 @@
83
83
  "dev-lib": "bin/dev-lib.js"
84
84
  },
85
85
  "engines": {
86
- "node": ">=24.10.0"
86
+ "node": ">=26.12.1"
87
87
  },
88
88
  "publishConfig": {
89
89
  "provenance": true,