zx-bulk-release 3.1.12 → 3.1.13
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/CHANGELOG.md +5 -0
- package/package.json +3 -2
- package/src/main/js/config.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [3.1.13](https://github.com/semrel-extra/zx-bulk-release/compare/v3.1.12...v3.1.13) (2026-04-20)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* fix(config): force using file urls for dynamic import (win issue) ([78d32e6](https://github.com/semrel-extra/zx-bulk-release/commit/78d32e6b5ac8b8dbbe359e829e1b498ef193c2e6))
|
|
5
|
+
|
|
1
6
|
## [3.1.12](https://github.com/semrel-extra/zx-bulk-release/compare/v3.1.11...v3.1.12) (2026-04-13)
|
|
2
7
|
|
|
3
8
|
### Fixes & improvements
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zx-bulk-release",
|
|
3
3
|
"alias": "bulk-release",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.13",
|
|
5
5
|
"description": "zx-based alternative for multi-semantic-release",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"test": "npm run test:unit",
|
|
22
22
|
"test:unit": "vitest run --dir src/test/js --exclude '**/integration*' --exclude '**/fixtures/**' --exclude '**/utils/**'",
|
|
23
23
|
"test:it": "node ./src/test/js/integration.test.js",
|
|
24
|
+
"test:smoke": "node src/test/smoke/api.test.js && node src/test/smoke/cli.test.js",
|
|
24
25
|
"test:cov": "vitest run --coverage --dir src/test/js --exclude '**/fixtures/**' --exclude '**/utils/**'",
|
|
25
26
|
"docs": "mkdir -p docs && cp ./README.md ./docs/README.md",
|
|
26
27
|
"publish:beta": "npm publish --tag beta --no-git-tag-version",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@vitest/coverage-v8": "^4.1.4",
|
|
36
37
|
"esbuild": "^0.28.0",
|
|
37
|
-
"verdaccio": "6.5.
|
|
38
|
+
"verdaccio": "6.5.2",
|
|
38
39
|
"vitest": "^4.1.4"
|
|
39
40
|
},
|
|
40
41
|
"publishConfig": {
|
package/src/main/js/config.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { pathToFileURL } from 'node:url'
|
|
1
2
|
import { fs, path, YAML } from 'zx'
|
|
2
3
|
import { asArray, camelize, memoizeBy } from './util.js'
|
|
3
4
|
import { GH_URL, resolveGhApiUrl } from './post/api/gh.js'
|
|
@@ -32,7 +33,7 @@ export const getPkgConfig = async (cwd, env) =>
|
|
|
32
33
|
export const cosmiconfig = (name, {searchPlaces}) => {
|
|
33
34
|
const load = async (filePath) => {
|
|
34
35
|
if (filePath.endsWith('.js') || filePath.endsWith('.cjs'))
|
|
35
|
-
return (await import(filePath)).default
|
|
36
|
+
return (await import(pathToFileURL(filePath).href)).default
|
|
36
37
|
const raw = await fs.readFile(filePath, 'utf8')
|
|
37
38
|
if (filePath.endsWith('.yaml') || filePath.endsWith('.yml'))
|
|
38
39
|
return YAML.parse(raw)
|