@pmate/cli 0.4.2 → 0.5.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/dist/commands/DeployCommandHandler.js +1 -1
- package/dist/commands/DeployCommandHandler.js.map +1 -1
- package/dist/commands/EnvCommandHandler.js +3 -0
- package/dist/commands/EnvCommandHandler.js.map +1 -1
- package/dist/commands/InitCommandHandler.js +1 -1
- package/dist/commands/InitCommandHandler.js.map +1 -1
- package/dist/commands/LinearCommandHandler.d.ts +8 -0
- package/dist/commands/LinearCommandHandler.js +273 -25
- package/dist/commands/LinearCommandHandler.js.map +1 -1
- package/dist/commands/PrCommandHandler.d.ts +3 -1
- package/dist/commands/PrCommandHandler.js +100 -3
- package/dist/commands/PrCommandHandler.js.map +1 -1
- package/dist/index.js +190 -9
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +48 -10
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
export
|
|
2
|
-
type: "vite"
|
|
1
|
+
export type ViteProjectConfig = {
|
|
2
|
+
type: "vite";
|
|
3
3
|
app: string;
|
|
4
|
-
bucket
|
|
4
|
+
bucket: string;
|
|
5
5
|
subdomain?: string;
|
|
6
|
+
};
|
|
7
|
+
export type StaticProjectConfig = {
|
|
8
|
+
type: "static";
|
|
9
|
+
app: string;
|
|
10
|
+
bucket: string;
|
|
11
|
+
subdomain?: string;
|
|
12
|
+
};
|
|
13
|
+
export type NodeProjectConfig = {
|
|
14
|
+
type: "node";
|
|
15
|
+
app: string;
|
|
16
|
+
subdomain: string;
|
|
17
|
+
server: string;
|
|
18
|
+
port: number;
|
|
6
19
|
repository?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
20
|
+
};
|
|
21
|
+
export type ProjectConfig = ViteProjectConfig | NodeProjectConfig | StaticProjectConfig;
|
|
10
22
|
export interface PmateConfig {
|
|
11
23
|
apps: ProjectConfig[];
|
|
12
24
|
domain: string;
|
|
@@ -78,13 +90,39 @@ export type EnvCommandArgs = {
|
|
|
78
90
|
};
|
|
79
91
|
export type PrCommandArgs = {
|
|
80
92
|
type: Command.Pr;
|
|
93
|
+
commitOnly?: boolean;
|
|
94
|
+
};
|
|
95
|
+
export type LinearPrCommandArgs = {
|
|
96
|
+
type: Command.Linear;
|
|
97
|
+
action: "pr";
|
|
98
|
+
cwd: string;
|
|
99
|
+
};
|
|
100
|
+
export type LinearCreateCommandArgs = {
|
|
101
|
+
type: Command.Linear;
|
|
102
|
+
action: "create";
|
|
103
|
+
mode: "repl" | "direct";
|
|
104
|
+
title?: string;
|
|
105
|
+
description?: string;
|
|
106
|
+
teamId?: string;
|
|
107
|
+
teamKey?: string;
|
|
108
|
+
priority: number;
|
|
109
|
+
parentId?: string;
|
|
110
|
+
stateId?: string;
|
|
111
|
+
cwd: string;
|
|
112
|
+
};
|
|
113
|
+
export type LinearViewCommandArgs = {
|
|
114
|
+
type: Command.Linear;
|
|
115
|
+
action: "view";
|
|
116
|
+
issueRef: string;
|
|
117
|
+
cwd: string;
|
|
81
118
|
};
|
|
82
|
-
export type
|
|
119
|
+
export type LinearSubIssuesCommandArgs = {
|
|
83
120
|
type: Command.Linear;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
121
|
+
action: "sub-issues";
|
|
122
|
+
issueRef: string;
|
|
123
|
+
cwd: string;
|
|
87
124
|
};
|
|
125
|
+
export type LinearCommandArgs = LinearPrCommandArgs | LinearCreateCommandArgs | LinearViewCommandArgs | LinearSubIssuesCommandArgs;
|
|
88
126
|
export type OssCommandArgs = {
|
|
89
127
|
type: Command.Oss;
|
|
90
128
|
action: "list";
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAiCA,IAAY,OAcX;AAdD,WAAY,OAAO;IACjB,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,6BAAkB,CAAA;IAClB,sBAAW,CAAA;IACX,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,wBAAa,CAAA;IACb,sBAAW,CAAA;IACX,sBAAW,CAAA;IACX,oBAAS,CAAA;IACT,4BAAiB,CAAA;IACjB,sBAAW,CAAA;AACb,CAAC,EAdW,OAAO,uBAAP,OAAO,QAclB"}
|