-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 7.31 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 7.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "mobbdev",
"version": "1.4.0",
"description": "Automated secure code remediation tool",
"repository": "git+https://github.com/mobb-dev/bugsy.git",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"scripts": {
"clean": "rm -rf build",
"env": "dotenv -e ./.env",
"postinstall": "node ./src/post_install/cx_install.mjs",
"build": "tsc && tsup-node --env.NODE_ENV production",
"build:dev": "tsup-node --env.NODE_ENV development",
"increment-version": "./src/scripts/increment-version.sh",
"test:unit:mcp": "vitest run __tests__/mcp/",
"test:unit:mcp:ci": "vitest run --bail=1 __tests__/mcp/",
"test:mcp:watch": "vitest watch __tests__/mcp/",
"test:mcp:verbose": "pnpm run build && NODE_ENV=test VERBOSE=true vitest run __tests__/mcp/",
"test:mcp:all": "pnpm run test:unit:mcp && pnpm run test:integration:mcp && pnpm run test:e2e:mcp",
"test:unit": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --exclude='**/__tests__/integration.test.ts' --exclude='**/__tests__/integration.mcp.test.ts' --exclude='**/__tests__/mcp/**'",
"test:unit:ci": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --bail=1 --exclude='**/__tests__/integration.test.ts' --exclude='**/__tests__/integration.mcp.test.ts' --exclude='**/__tests__/mcp/**'",
"test:integration": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --sequence.concurrent=false false __tests__/integration.test.ts",
"test:integration:ci": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --bail=1 --sequence.concurrent=false false __tests__/integration.test.ts",
"test:integration:mcp": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --sequence.concurrent=false false __tests__/integration.mcp.test.ts",
"test:integration:mcp:ci": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --bail=1 --sequence.concurrent=false false __tests__/integration.mcp.test.ts",
"test:integration:watch": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest watch run __tests__/integration.test.ts",
"test": "pnpm run test:unit && pnpm run test:integration",
"test:ci": "pnpm run test:unit:ci -- --coverage && pnpm run test:integration:ci -- --coverage",
"test:ado": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run ado.test",
"test:github": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run github.test",
"test:gitlab": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run gitlab.test",
"test:github:repo": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run github-repo.test",
"test:cli:main": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run cli-main.test",
"test:coverage": "GIT_PROXY_HOST=http://tinyproxy:8888 TOKEN=$(../../scripts/login_auth0.sh) vitest run --coverage",
"test:watch": "TOKEN=$(../../scripts/login_auth0.sh) vitest",
"test:integration:proxy": "GIT_PROXY_HOST=http://tinyproxy:8888 HTTP_PROXY=http://localhost:8888 API_URL=http://app-api:8080/v1/graphql TOKEN=$(../../scripts/login_auth0.sh) vitest run --sequence.concurrent=false false integration.test.ts",
"lint": "eslint --cache --max-warnings 0 --ignore-path .eslintignore --ext .ts,.tsx,.jsx,.graphql .",
"lint:fix": "eslint --fix --cache --max-warnings 0 --ignore-path .eslintignore --ext .js,.ts,.tsx,.jsx,.graphql . && prettier --write \"src/**/*.graphql\"",
"lint:fix:files": "eslint --fix --cache --max-warnings 0 --ignore-path .eslintignore --ext .js,.ts,.tsx,.jsx,.graphql",
"prepack": "dotenv-vault pull production .env && pnpm build",
"dev:mcp": "pnpm run build && node dist/index.mjs mcp",
"debug:mcp": "pnpm run build && node dist/index.mjs mcp --debug",
"generate": "pnpm run env -- graphql-codegen -r dotenv/config --config client_codegen.ts",
"test:e2e": "cd ./__e2e__ && npm i && npm run test",
"test:e2e:mcp": "pnpm run build && cd ./__e2e__ && npm i && npm run test:mcp",
"test:e2e:mcp:ci": "pnpm run build && cd ./__e2e__ && npm i && npm run test:mcp"
},
"bin": {
"mobbdev": "bin/cli.mjs"
},
"author": "",
"license": "MIT",
"dependencies": {
"@gitbeaker/requester-utils": "43.8.0",
"@gitbeaker/rest": "43.8.0",
"@grpc/grpc-js": "1.14.3",
"@grpc/proto-loader": "0.8.0",
"@modelcontextprotocol/sdk": "1.29.0",
"@octokit/core": "5.2.0",
"@octokit/request-error": "5.1.1",
"@openredaction/openredaction": "1.0.4",
"adm-zip": "0.5.16",
"axios": "1.13.5",
"azure-devops-node-api": "15.1.2",
"bitbucket": "2.12.0",
"chalk": "5.6.2",
"chalk-animation": "2.0.3",
"configstore": "7.1.0",
"cross-fetch": "4.1.0",
"debug": "4.4.3",
"dotenv": "16.6.1",
"extract-zip": "2.0.1",
"fs-extra": "11.3.4",
"globby": "14.1.0",
"graphql": "16.13.2",
"graphql-request": "6.1.0",
"graphql-ws": "5.16.2",
"hash-wasm": "4.12.0",
"http-proxy-agent": "7.0.2",
"https-proxy-agent": "7.0.6",
"ignore": "7.0.5",
"inquirer": "9.3.8",
"isomorphic-ws": "5.0.0",
"istextorbinary": "9.5.0",
"jsonc-parser": "3.3.1",
"libsodium-wrappers": "0.7.15",
"multimatch": "7.0.0",
"nanospinner": "1.1.0",
"node-fetch": "3.3.2",
"node-stream-zip": "1.15.0",
"octokit": "3.2.1",
"open": "8.4.2",
"p-limit": "3.1.0",
"parse-diff": "0.11.1",
"pino": "9.7.0",
"sax": "1.6.0",
"semver": "7.7.4",
"simple-git": "3.33.0",
"snyk": "1.1303.2",
"tar": "7.5.13",
"tmp": "0.2.5",
"tmp-promise": "3.0.3",
"undici": "6.24.0",
"uuid": "11.1.0",
"ws": "8.20.0",
"xml2js": "0.6.2",
"yargs": "17.7.2",
"zod": "3.25.76"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.7",
"@graphql-codegen/typescript": "4.1.6",
"@graphql-codegen/typescript-graphql-request": "6.4.0",
"@graphql-codegen/typescript-operations": "4.6.1",
"@graphql-eslint/eslint-plugin": "4.4.0",
"@octokit/types": "13.10.0",
"@types/adm-zip": "0.5.7",
"@types/chalk-animation": "1.6.3",
"@types/configstore": "6.0.2",
"@types/debug": "4.1.13",
"@types/fs-extra": "11.0.4",
"@types/inquirer": "9.0.9",
"@types/libsodium-wrappers": "0.7.14",
"@types/node": "18.19.130",
"@types/sax": "1.2.7",
"@types/semver": "7.7.1",
"@types/tar": "6.1.13",
"@types/tmp": "0.2.6",
"@types/ws": "8.18.1",
"@types/xml2js": "0.4.14",
"@types/yargs": "17.0.35",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/parser": "7.17.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/ui": "3.2.4",
"eslint": "8.57.0",
"eslint-plugin-graphql": "4.0.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-simple-import-sort": "12.1.1",
"msw": "2.10.5",
"nock": "14.0.11",
"prettier": "3.8.1",
"tsup": "8.5.1",
"typescript": "5.9.3",
"vitest": "3.2.4"
},
"engines": {
"node": ">=18.20.0"
},
"files": [
"bin/cli.mjs",
"dist",
".env",
"src/post_install",
"src/features/codeium_intellij/proto/**/*.proto"
]
}