@naturalcycles/dev-lib 20.65.2 → 20.65.4
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/cfg/tsconfig.e2e.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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}"]
|
package/cfg/tsconfig.src.json
CHANGED
|
@@ -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
|
|
package/cfg/vitest.config.js
CHANGED
|
@@ -12,7 +12,7 @@ const testType = getTestType(runsInIDE)
|
|
|
12
12
|
const silent = getSilent(runsInIDE)
|
|
13
13
|
const { include, exclude } = getIncludeAndExclude(testType)
|
|
14
14
|
const isCI = !!process.env.CI
|
|
15
|
-
const coverageEnabled =
|
|
15
|
+
const coverageEnabled = false // disabled by default
|
|
16
16
|
const junitReporterEnabled = isCI && testType !== 'manual'
|
|
17
17
|
const maxWorkers = getMaxWorkers()
|
|
18
18
|
// threads are tested to be ~10% faster than forks in CI (and no change locally)
|
package/dist/release/git.util.js
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.65.
|
|
4
|
+
"version": "20.65.4",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"prompts": "^2",
|
|
7
7
|
"@naturalcycles/js-lib": "^15",
|
|
8
8
|
"@naturalcycles/nodejs-lib": "^15",
|
|
9
|
-
"@vitest/coverage-v8": "^5",
|
|
10
9
|
"eslint-plugin-oxlint": "^1",
|
|
11
10
|
"globals": "^17",
|
|
12
11
|
"lint-staged": "^17",
|