staklink 0.3.49 → 0.3.51
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/proxy-server.cjs +12 -3
- package/dist/staklink-cli.cjs +1 -1
- package/package.json +1 -1
package/dist/proxy-server.cjs
CHANGED
|
@@ -56941,7 +56941,7 @@ var SSEManager = class {
|
|
|
56941
56941
|
var sseManager = new SSEManager();
|
|
56942
56942
|
|
|
56943
56943
|
// src/proxy/version.ts
|
|
56944
|
-
var VERSION = "0.3.
|
|
56944
|
+
var VERSION = "0.3.51";
|
|
56945
56945
|
|
|
56946
56946
|
// node_modules/uuid/dist/esm/stringify.js
|
|
56947
56947
|
var byteToHex = [];
|
|
@@ -111678,7 +111678,16 @@ Stderr: ${error85.stderr}`
|
|
|
111678
111678
|
return this.branch;
|
|
111679
111679
|
}
|
|
111680
111680
|
async addLabelToPR(prNumber, label) {
|
|
111681
|
-
|
|
111681
|
+
try {
|
|
111682
|
+
await this.execGH(`pr edit ${prNumber} --add-label ${label}`);
|
|
111683
|
+
} catch (error85) {
|
|
111684
|
+
if (error85 instanceof Error && error85.message.includes("label") && error85.message.includes("does not exist")) {
|
|
111685
|
+
await this.execGH(`label create ${label}`);
|
|
111686
|
+
await this.execGH(`pr edit ${prNumber} --add-label ${label}`);
|
|
111687
|
+
} else {
|
|
111688
|
+
throw error85;
|
|
111689
|
+
}
|
|
111690
|
+
}
|
|
111682
111691
|
}
|
|
111683
111692
|
};
|
|
111684
111693
|
|
|
@@ -111997,7 +112006,7 @@ ${testResultsEntry}
|
|
|
111997
112006
|
}
|
|
111998
112007
|
async function runPlaywrightTest(repoLocation, testFilePath) {
|
|
111999
112008
|
const runner = new Runner(repoLocation, console.log);
|
|
112000
|
-
const testCommand = `npx -y playwright test ${testFilePath}`;
|
|
112009
|
+
const testCommand = `npx -y @playwright/test test ${testFilePath}`;
|
|
112001
112010
|
console.log(`Running: ${testCommand}`);
|
|
112002
112011
|
try {
|
|
112003
112012
|
const result = await runner.executeCommand(
|
package/dist/staklink-cli.cjs
CHANGED
|
@@ -10948,7 +10948,7 @@ var glob = Object.assign(glob_, {
|
|
|
10948
10948
|
glob.glob = glob;
|
|
10949
10949
|
|
|
10950
10950
|
// src/proxy/version.ts
|
|
10951
|
-
var VERSION = "0.3.
|
|
10951
|
+
var VERSION = "0.3.51";
|
|
10952
10952
|
|
|
10953
10953
|
// src/cli.ts
|
|
10954
10954
|
var STAKLINK_PROXY = "staklink-proxy";
|