dc-publish 0.7.16 → 0.8.2-alpha.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/README.md +2 -2
- package/es/cli.mjs +1 -1
- package/es/{index-4ae7ae20.js → index-a0abd716.js} +1 -1
- package/es/index.mjs +4 -4
- package/package.json +4 -4
- package/types/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -249,10 +249,10 @@ node es/cli.mjs --help
|
|
|
249
249
|
|
|
250
250
|
## 许可证
|
|
251
251
|
|
|
252
|
-
MIT © [
|
|
252
|
+
MIT © [done-coding](https://github.com/done-coding)
|
|
253
253
|
|
|
254
254
|
## 相关链接
|
|
255
255
|
|
|
256
256
|
- [主 CLI 工具](https://www.npmjs.com/package/@done-coding/cli)
|
|
257
|
-
- [
|
|
257
|
+
- [Github 仓库](https://github.com/done-coding/done-coding-cli)
|
|
258
258
|
- [更新日志](./CHANGELOG.md)
|
package/es/cli.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import S, { rmSync as K } from "node:fs";
|
|
|
6
6
|
var I = /* @__PURE__ */ ((e) => (e.INIT = "init", e.EXEC = "exec", e.ALIAS = "alias", e))(I || {}), r = /* @__PURE__ */ ((e) => (e.MAJOR = "major", e.MINOR = "minor", e.PATCH = "patch", e.PREMAJOR = "premajor", e.PREMINOR = "preminor", e.PREPATCH = "prepatch", e.PRERELEASE = "prerelease", e.CUSTOM_VERSION = "custom version", e))(r || {}), f = /* @__PURE__ */ ((e) => (e.LATEST = "latest", e.NEXT = "next", e.ALPHA = "alpha", e.BETA = "beta", e.RC = "rc", e))(f || {}), c = /* @__PURE__ */ ((e) => (e.NPM = "npm", e.WEB = "web", e))(c || {});
|
|
7
7
|
const R = {
|
|
8
8
|
name: "@done-coding/cli-publish",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.8.2-alpha.0",
|
|
10
10
|
description: "项目发布命令行工具",
|
|
11
11
|
bin: {
|
|
12
12
|
"dc-publish": "es/cli.mjs"
|
package/es/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { d as u, b as
|
|
2
|
+
import { d as u, b as e, P as i, S as b, a as d, h as p } from "./index-a0abd716.js";
|
|
3
3
|
import "@done-coding/cli-utils";
|
|
4
4
|
import "semver";
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:fs";
|
|
7
7
|
export {
|
|
8
8
|
u as PublishModeEnum,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
e as PublishTagEnum,
|
|
10
|
+
i as PublishVersionTypeEnum,
|
|
11
11
|
b as SubcommandEnum,
|
|
12
|
-
d as
|
|
12
|
+
d as createAsSubcommand,
|
|
13
13
|
p as handler
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dc-publish",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.2-alpha.0",
|
|
4
4
|
"description": "项目发布命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@done-coding/cli-inject": "0.
|
|
34
|
+
"@done-coding/cli-inject": "0.6.2-alpha.0",
|
|
35
35
|
"@types/node": "^18.0.0",
|
|
36
36
|
"@types/semver": "^7.5.3",
|
|
37
37
|
"@types/yargs": "^17.0.28",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"vite-plugin-dts": "^3.6.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@done-coding/cli-utils": "0.
|
|
43
|
+
"@done-coding/cli-utils": "0.9.2-alpha.0",
|
|
44
44
|
"semver": "^7.5.4"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=18.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "74e5c9a43a622ed90e64e8c9a67b110c22c89887",
|
|
50
50
|
"scripts": {}
|
|
51
51
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare interface ConfigInfoWeb extends GetGitLastCommitParams {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/** 作为子命令创建 */
|
|
43
|
-
export declare const
|
|
43
|
+
export declare const createAsSubcommand: () => CommandModule<{}, {}>;
|
|
44
44
|
|
|
45
45
|
export declare interface ExecOptions extends ReadConfigFileOptions {
|
|
46
46
|
/** 发布模式 */
|