@flakiness/sdk 0.121.7 → 0.121.8
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/lib/cli/cli.js +4 -1
- package/package.json +4 -4
- package/types/tsconfig.tsbuildinfo +1 -1
package/lib/cli/cli.js
CHANGED
|
@@ -2207,7 +2207,10 @@ program.command("logout").description("Logout from current session").action(asyn
|
|
|
2207
2207
|
program.command("whoami").description("Show current logged in user information").action(async () => runCommand(async () => {
|
|
2208
2208
|
await cmdWhoami();
|
|
2209
2209
|
}));
|
|
2210
|
-
program.command("link").description("Link repository to the flakiness project").argument("org/project", 'An org and project slugs, e.g. "facebook/react"').action(async (slug) => runCommand(async () => {
|
|
2210
|
+
program.command("link").description("Link repository to the flakiness project").addOption(optEndpoint).argument("org/project", 'An org and project slugs, e.g. "facebook/react"').action(async (slug, options) => runCommand(async () => {
|
|
2211
|
+
const session2 = await FlakinessSession.load();
|
|
2212
|
+
if (!session2)
|
|
2213
|
+
await cmdLogin(options.endpoint);
|
|
2211
2214
|
await cmdLink(slug);
|
|
2212
2215
|
}));
|
|
2213
2216
|
program.command("unlink").description("Unlink repository from the flakiness project").action(async () => runCommand(async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flakiness/sdk",
|
|
3
|
-
"version": "0.121.
|
|
3
|
+
"version": "0.121.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"flakiness": "./lib/cli/cli.js"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"author": "Degu Labs, Inc",
|
|
46
46
|
"license": "Fair Source 100",
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@flakiness/server": "0.121.
|
|
48
|
+
"@flakiness/server": "0.121.8",
|
|
49
49
|
"@playwright/test": "^1.54.0",
|
|
50
50
|
"@types/babel__code-frame": "^7.0.6",
|
|
51
51
|
"@types/compression": "^1.8.1",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@babel/code-frame": "^7.26.2",
|
|
56
56
|
"@flakiness/flakiness-report": "^0.11.1",
|
|
57
|
-
"@flakiness/report": "0.121.
|
|
58
|
-
"@flakiness/shared": "0.121.
|
|
57
|
+
"@flakiness/report": "0.121.8",
|
|
58
|
+
"@flakiness/shared": "0.121.8",
|
|
59
59
|
"@rgrove/parse-xml": "^4.2.0",
|
|
60
60
|
"body-parser": "^1.20.3",
|
|
61
61
|
"chalk": "^5.6.2",
|