@git.zone/cli 12.2.0 → 12.3.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.
- package/assets/templates/npm/.package.json +1 -1
- package/assets/templates/service/.package.json +1 -1
- package/assets/templates/wcc/.package.json +1 -1
- package/assets/templates/website/.package.json +1 -1
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/helpers.versionsource.d.ts +23 -5
- package/dist_ts/helpers.versionsource.js +115 -37
- package/dist_ts/helpers.workflow.d.ts +60 -17
- package/dist_ts/helpers.workflow.js +156 -51
- package/dist_ts/mod_config/index.js +98 -31
- package/dist_ts/mod_release/classes.releasejournal.d.ts +63 -8
- package/dist_ts/mod_release/classes.releasejournal.js +283 -124
- package/dist_ts/mod_release/helpers.cargorelease.d.ts +4 -3
- package/dist_ts/mod_release/helpers.cargorelease.js +5 -4
- package/dist_ts/mod_release/helpers.fossglobalassets.d.ts +61 -0
- package/dist_ts/mod_release/helpers.fossglobalassets.js +580 -0
- package/dist_ts/mod_release/helpers.giteaassets.d.ts +15 -51
- package/dist_ts/mod_release/helpers.giteaassets.js +40 -507
- package/dist_ts/mod_release/helpers.releaseassets.d.ts +40 -0
- package/dist_ts/mod_release/helpers.releaseassets.js +349 -0
- package/dist_ts/mod_release/helpers.releaseassettransfer.d.ts +67 -0
- package/dist_ts/mod_release/helpers.releaseassettransfer.js +239 -0
- package/dist_ts/mod_release/helpers.releasecheck.js +3 -2
- package/dist_ts/mod_release/helpers.releasepreparation.d.ts +7 -6
- package/dist_ts/mod_release/helpers.releasepreparation.js +34 -7
- package/dist_ts/mod_release/helpers.releasepublication.d.ts +8 -2
- package/dist_ts/mod_release/helpers.releasepublication.js +218 -54
- package/dist_ts/mod_release/helpers.releaseversionsource.d.ts +7 -5
- package/dist_ts/mod_release/helpers.releaseversionsource.js +9 -7
- package/dist_ts/mod_release/index.d.ts +1 -1
- package/dist_ts/mod_release/index.js +109 -68
- package/dist_ts/mod_release/interfaces.fossglobalassets.d.ts +108 -0
- package/dist_ts/mod_release/interfaces.fossglobalassets.js +2 -0
- package/dist_ts/mod_release/interfaces.giteaassets.d.ts +9 -43
- package/dist_ts/mod_release/interfaces.releaseassets.d.ts +68 -0
- package/dist_ts/mod_release/interfaces.releaseassets.js +2 -0
- package/dist_ts/plugins.d.ts +1 -0
- package/dist_ts/plugins.js +1 -1
- package/package.json +3 -2
- package/readme.md +338 -40
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/helpers.versionsource.ts +176 -45
- package/ts/helpers.workflow.ts +288 -78
- package/ts/mod_config/index.ts +130 -38
- package/ts/mod_release/classes.releasejournal.ts +499 -180
- package/ts/mod_release/helpers.cargorelease.ts +8 -3
- package/ts/mod_release/helpers.fossglobalassets.ts +886 -0
- package/ts/mod_release/helpers.giteaassets.ts +127 -694
- package/ts/mod_release/helpers.releaseassets.ts +516 -0
- package/ts/mod_release/helpers.releaseassettransfer.ts +339 -0
- package/ts/mod_release/helpers.releasecheck.ts +3 -1
- package/ts/mod_release/helpers.releasepreparation.ts +55 -12
- package/ts/mod_release/helpers.releasepublication.ts +351 -69
- package/ts/mod_release/helpers.releaseversionsource.ts +11 -7
- package/ts/mod_release/index.ts +151 -90
- package/ts/mod_release/interfaces.fossglobalassets.ts +127 -0
- package/ts/mod_release/interfaces.giteaassets.ts +14 -47
- package/ts/mod_release/interfaces.releaseassets.ts +96 -0
- package/ts/plugins.ts +3 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as plugins from "./mod.plugins.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
IResolvedReleaseCargoConfiguration,
|
|
4
|
+
TReleaseCargoWorkspace,
|
|
5
|
+
} from "../helpers.workflow.js";
|
|
3
6
|
import {
|
|
4
7
|
releaseCrateArtifactFile,
|
|
5
8
|
type IReleaseCargoJournal,
|
|
@@ -268,13 +271,15 @@ export const packReleaseCrates = async (optionsArg: {
|
|
|
268
271
|
|
|
269
272
|
/**
|
|
270
273
|
* `cargo publish` runs in a disposable checkout of the release commit, which
|
|
271
|
-
* fetches the locked Cargo dependencies and installs no npm
|
|
274
|
+
* fetches the locked Cargo dependencies of `workspaceArg` and installs no npm
|
|
275
|
+
* packages.
|
|
272
276
|
*/
|
|
273
277
|
export const createCargoPublishCheckout =
|
|
274
278
|
(
|
|
275
279
|
smartshellArg: plugins.smartshell.Smartshell,
|
|
276
280
|
repositoryCwdArg: string,
|
|
277
281
|
mainOidArg: string,
|
|
282
|
+
workspaceArg: TReleaseCargoWorkspace,
|
|
278
283
|
) =>
|
|
279
284
|
<T>(useArg: (checkoutCwdArg: string) => Promise<T>): Promise<T> =>
|
|
280
285
|
withIsolatedReleaseCheckout(
|
|
@@ -282,7 +287,7 @@ export const createCargoPublishCheckout =
|
|
|
282
287
|
smartshell: smartshellArg,
|
|
283
288
|
repositoryCwd: repositoryCwdArg,
|
|
284
289
|
mainOid: mainOidArg,
|
|
285
|
-
cargo:
|
|
290
|
+
cargo: workspaceArg,
|
|
286
291
|
npmInstall: false,
|
|
287
292
|
},
|
|
288
293
|
(checkoutArg) => useArg(checkoutArg.path),
|