@imenam/mcp-github 1.1.58 → 1.1.59

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.
Files changed (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +49 -46
package/README.md CHANGED
@@ -267,13 +267,11 @@ cp .env.example .env
267
267
  npm run build
268
268
  ```
269
269
 
270
- ## 📦 Publication Automatisée
270
+ ## Publication
271
271
 
272
- Ce projet est configuré pour être publié sur npm via **GitHub Actions** à chaque nouvelle Release :
272
+ Chaque push sur `main`, merge de pull request compris, publie une nouvelle version de `@imenam/mcp-github` sur npm (`.github/workflows/publish.yml`) : `npm ci`, build et tests, puis `npm version patch`, dont le commit et le tag sont poussés sur `main`, et `npm publish`. La publication passe par le trusted publishing de npm (OIDC, sans token), avec attestation de provenance. Un échec du build ou des tests arrête le workflow avant la montée de version.
273
273
 
274
- 1. Mettez à jour la version dans `package.json`.
275
- 2. Poussez sur GitHub et créez une Release.
276
- 3. Le workflow OIDC publie automatiquement sur npm.
274
+ Sur npmjs.com, le paquet déclare ce workflow comme publieur de confiance (Settings → Trusted publishing → GitHub Actions : `Matthieu-Pesnot-Pin`, `restricted-github-mcp`, `publish.yml`, avec `npm publish` dans les actions autorisées). Le commit de version est poussé avec `GITHUB_TOKEN` : si `main` est protégée, la règle doit autoriser GitHub Actions à y pousser.
277
275
 
278
276
  ## 📄 Licence
279
277
 
package/package.json CHANGED
@@ -1,46 +1,49 @@
1
- {
2
- "name": "@imenam/mcp-github",
3
- "version": "1.1.58",
4
- "main": "index.js",
5
- "type": "module",
6
- "files": [
7
- "dist",
8
- "public",
9
- "README.md",
10
- "LICENSE"
11
- ],
12
- "bin": "dist/index.js",
13
- "scripts": {
14
- "start": "tsx src/index.ts",
15
- "dev": "tsx src/index.ts",
16
- "build": "tsc",
17
- "test": "vitest run",
18
- "test:watch": "vitest",
19
- "test:coverage": "vitest run --coverage",
20
- "inspect": "mcp-inspector npx tsx src/index.ts",
21
- "inspect:dev": "mcp-inspector --config mcp-config.json",
22
- "inspect:no-auth": "mcp-inspector -e DANGEROUSLY_OMIT_AUTH=true --config mcp-config.json",
23
- "release": "npm version patch && npm run build && npm publish --access public && git push origin main --follow-tags"
24
- },
25
- "keywords": [],
26
- "author": "",
27
- "license": "ISC",
28
- "description": "Un serveur MCP GitHub contrôlé et sécurisé pour les agents IA.",
29
- "dependencies": {
30
- "@imenam/mcp-gui-interface": "^1.0.14",
31
- "@modelcontextprotocol/sdk": "^1.25.3",
32
- "dotenv": "^17.2.3",
33
- "express": "^5.2.1",
34
- "node-ssh": "^13.2.1",
35
- "octokit": "^5.0.5"
36
- },
37
- "devDependencies": {
38
- "@modelcontextprotocol/inspector": "^2.12.0",
39
- "@types/express": "^5.0.6",
40
- "@types/node": "^25.0.10",
41
- "@vitest/coverage-v8": "^4.1.12",
42
- "tsx": "^4.21.0",
43
- "typescript": "^5.9.3",
44
- "vitest": "^4.1.12"
45
- }
46
- }
1
+ {
2
+ "name": "@imenam/mcp-github",
3
+ "version": "1.1.59",
4
+ "main": "index.js",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "public",
9
+ "README.md",
10
+ "LICENSE"
11
+ ],
12
+ "bin": "dist/index.js",
13
+ "scripts": {
14
+ "start": "tsx src/index.ts",
15
+ "dev": "tsx src/index.ts",
16
+ "build": "tsc",
17
+ "test": "vitest run",
18
+ "test:watch": "vitest",
19
+ "test:coverage": "vitest run --coverage",
20
+ "inspect": "mcp-inspector npx tsx src/index.ts",
21
+ "inspect:dev": "mcp-inspector --config mcp-config.json",
22
+ "inspect:no-auth": "mcp-inspector -e DANGEROUSLY_OMIT_AUTH=true --config mcp-config.json"
23
+ },
24
+ "keywords": [],
25
+ "author": "",
26
+ "license": "ISC",
27
+ "description": "Un serveur MCP GitHub contrôlé et sécurisé pour les agents IA.",
28
+ "dependencies": {
29
+ "@imenam/mcp-gui-interface": "^1.0.14",
30
+ "@modelcontextprotocol/sdk": "^1.25.3",
31
+ "dotenv": "^17.2.3",
32
+ "express": "^5.2.1",
33
+ "node-ssh": "^13.2.1",
34
+ "octokit": "^5.0.5"
35
+ },
36
+ "devDependencies": {
37
+ "@modelcontextprotocol/inspector": "^2.12.0",
38
+ "@types/express": "^5.0.6",
39
+ "@types/node": "^25.0.10",
40
+ "@vitest/coverage-v8": "^4.1.12",
41
+ "tsx": "^4.21.0",
42
+ "typescript": "^5.9.3",
43
+ "vitest": "^4.1.12"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/Matthieu-Pesnot-Pin/restricted-github-mcp.git"
48
+ }
49
+ }