Skip to content

Commit 3b550df

Browse files
authored
chore(ci-cd): missing project.json file for mcp instrumentation (#2874)
1 parent aa2fff6 commit 3b550df

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"name": "opentelemetry-instrumentation-mcp",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"projectType": "library",
5+
"sourceRoot": "packages/opentelemetry-instrumentation-mcp/opentelemetry/instrumentation/mcp",
6+
"targets": {
7+
"lock": {
8+
"executor": "@nxlv/python:run-commands",
9+
"options": {
10+
"command": "poetry lock",
11+
"cwd": "packages/opentelemetry-instrumentation-mcp"
12+
}
13+
},
14+
"add": {
15+
"executor": "@nxlv/python:add",
16+
"options": {}
17+
},
18+
"update": {
19+
"executor": "@nxlv/python:update",
20+
"options": {}
21+
},
22+
"remove": {
23+
"executor": "@nxlv/python:remove",
24+
"options": {}
25+
},
26+
"build": {
27+
"executor": "@nxlv/python:build",
28+
"outputs": ["{projectRoot}/dist"],
29+
"options": {
30+
"outputPath": "packages/opentelemetry-instrumentation-mcp/dist",
31+
"publish": false,
32+
"lockedVersions": true,
33+
"bundleLocalDependencies": true
34+
}
35+
},
36+
"install": {
37+
"executor": "@nxlv/python:install",
38+
"options": {
39+
"silent": false,
40+
"args": "",
41+
"cacheDir": ".cache/pypoetry",
42+
"verbose": false,
43+
"debug": false
44+
}
45+
},
46+
"lint": {
47+
"executor": "@nxlv/python:flake8",
48+
"outputs": [
49+
"{workspaceRoot}/reports/packages/opentelemetry-instrumentation-mcp/pylint.txt"
50+
],
51+
"options": {
52+
"outputFile": "reports/packages/opentelemetry-instrumentation-mcp/pylint.txt"
53+
}
54+
},
55+
"test": {
56+
"executor": "@nxlv/python:run-commands",
57+
"outputs": [
58+
"{workspaceRoot}/reports/packages/opentelemetry-instrumentation-mcp/unittests",
59+
"{workspaceRoot}/coverage/packages/opentelemetry-instrumentation-mcp"
60+
],
61+
"options": {
62+
"command": "poetry run pytest tests/",
63+
"cwd": "packages/opentelemetry-instrumentation-mcp"
64+
}
65+
},
66+
"build-release": {
67+
"executor": "@nxlv/python:run-commands",
68+
"options": {
69+
"commands": [
70+
"chmod +x ../../scripts/build-release.sh",
71+
"../../scripts/build-release.sh"
72+
],
73+
"cwd": "packages/opentelemetry-instrumentation-mcp"
74+
}
75+
}
76+
},
77+
"tags": ["instrumentation"]
78+
}

0 commit comments

Comments
 (0)