zx-bulk-release 1.9.0 → 1.9.1
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 +1 -1
- package/src/main/js/build.js +1 -1
- package/src/main/js/index.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [1.9.1](https://github.com/semrel-extra/zx-bulk-release/compare/v1.9.0...v1.9.1) (2022-06-26)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* refactor: replace postbuild hook with postupdate ([b7d68a5](https://github.com/semrel-extra/zx-bulk-release/commit/b7d68a5a2b9dec6516204f3fcbbc3c08db9c6d90))
|
|
5
|
+
|
|
1
6
|
## [1.9.0](https://github.com/semrel-extra/zx-bulk-release/compare/v1.8.0...v1.9.0) (2022-06-26)
|
|
2
7
|
|
|
3
8
|
### Features
|
package/package.json
CHANGED
package/src/main/js/build.js
CHANGED
|
@@ -20,7 +20,7 @@ export const build = (pkg, packages) => ctx(async ($) => {
|
|
|
20
20
|
console.log(`built '${pkg.name}'`)
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
if (config.postbuildCmd) await $.raw`${config.postbuildCmd}`
|
|
23
|
+
// if (config.postbuildCmd) await $.raw`${config.postbuildCmd}`
|
|
24
24
|
|
|
25
25
|
if (!pkg.fetched && config.testCmd) {
|
|
26
26
|
await $.raw`${config.testCmd}`
|
package/src/main/js/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {fs,
|
|
1
|
+
import {fs, $} from 'zx-extra'
|
|
2
2
|
import {topo} from '@semrel-extra/topo'
|
|
3
3
|
import {updateDeps} from './deps.js'
|
|
4
4
|
import {getSemanticChanges, resolvePkgVersion} from './analyze.js'
|
|
@@ -26,6 +26,7 @@ export const run = async ({cwd = process.cwd(), env = process.env, flags = {}} =
|
|
|
26
26
|
if (changes.length === 0) continue
|
|
27
27
|
console.log(`semantic changes of '${name}'`, changes)
|
|
28
28
|
|
|
29
|
+
$.o({cwd: pkg.absPath})`yarn install`
|
|
29
30
|
pkg.build = await build(pkg, packages, cwd)
|
|
30
31
|
|
|
31
32
|
if (dryRun) continue
|