codygiene 0.9.1-beta.1 → 0.9.1-beta.2
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/bin.cjs +10 -3
- package/package.json +40 -40
package/dist/bin.cjs
CHANGED
|
@@ -228660,9 +228660,16 @@ Waiting for approval... (expires in ${authResponse.expiresIn}s)
|
|
|
228660
228660
|
`);
|
|
228661
228661
|
if (!opts.noBrowser) {
|
|
228662
228662
|
try {
|
|
228663
|
-
const {
|
|
228664
|
-
const
|
|
228665
|
-
|
|
228663
|
+
const { spawn } = await import("node:child_process");
|
|
228664
|
+
const approvalUrl = authResponse.approvalUrl;
|
|
228665
|
+
if (/^https:\/\//i.test(approvalUrl) && !/[\r\n"]/.test(approvalUrl)) {
|
|
228666
|
+
if (process.platform === "win32") {
|
|
228667
|
+
spawn("cmd", ["/c", "start", "", approvalUrl], { detached: true, stdio: "ignore" }).unref();
|
|
228668
|
+
} else {
|
|
228669
|
+
const opener = process.platform === "darwin" ? "open" : "xdg-open";
|
|
228670
|
+
spawn(opener, [approvalUrl], { detached: true, stdio: "ignore" }).unref();
|
|
228671
|
+
}
|
|
228672
|
+
}
|
|
228666
228673
|
} catch {
|
|
228667
228674
|
}
|
|
228668
228675
|
}
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "codygiene",
|
|
3
|
-
"version": "0.9.1-beta.
|
|
4
|
-
"description": "Independent quality control for modern software. Local-first static analysis for TypeScript, Next.js, Supabase, Prisma, and Drizzle.",
|
|
5
|
-
"homepage": "https://codygiene.nexinov.ma",
|
|
6
|
-
"bugs": {
|
|
7
|
-
"url": "https://codygiene.nexinov.ma/feedback"
|
|
8
|
-
},
|
|
9
|
-
"keywords": [
|
|
10
|
-
"code-quality",
|
|
11
|
-
"security",
|
|
12
|
-
"linting",
|
|
13
|
-
"static-analysis",
|
|
14
|
-
"nextjs",
|
|
15
|
-
"supabase",
|
|
16
|
-
"typescript",
|
|
17
|
-
"sarif",
|
|
18
|
-
"developer-tools"
|
|
19
|
-
],
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"type": "commonjs",
|
|
22
|
-
"engines": {
|
|
23
|
-
"node": ">=20"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"README.md",
|
|
28
|
-
"LICENSE",
|
|
29
|
-
"THIRD_PARTY_LICENSES.txt"
|
|
30
|
-
],
|
|
31
|
-
"private": false,
|
|
32
|
-
"dependencies": {},
|
|
33
|
-
"bin": {
|
|
34
|
-
"codygiene": "dist/bin.cjs"
|
|
35
|
-
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"codygiene": "node ./dist/bin.cjs",
|
|
38
|
-
"build": "node ../../scripts/bundle-cli.mjs"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "codygiene",
|
|
3
|
+
"version": "0.9.1-beta.2",
|
|
4
|
+
"description": "Independent quality control for modern software. Local-first static analysis for TypeScript, Next.js, Supabase, Prisma, and Drizzle.",
|
|
5
|
+
"homepage": "https://codygiene.nexinov.ma",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://codygiene.nexinov.ma/feedback"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"code-quality",
|
|
11
|
+
"security",
|
|
12
|
+
"linting",
|
|
13
|
+
"static-analysis",
|
|
14
|
+
"nextjs",
|
|
15
|
+
"supabase",
|
|
16
|
+
"typescript",
|
|
17
|
+
"sarif",
|
|
18
|
+
"developer-tools"
|
|
19
|
+
],
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"type": "commonjs",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE",
|
|
29
|
+
"THIRD_PARTY_LICENSES.txt"
|
|
30
|
+
],
|
|
31
|
+
"private": false,
|
|
32
|
+
"dependencies": {},
|
|
33
|
+
"bin": {
|
|
34
|
+
"codygiene": "dist/bin.cjs"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"codygiene": "node ./dist/bin.cjs",
|
|
38
|
+
"build": "node ../../scripts/bundle-cli.mjs"
|
|
39
|
+
}
|
|
40
|
+
}
|