dejared-mcp 1.2.0 → 1.2.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.
@@ -12,7 +12,7 @@
12
12
  "name": "dejared",
13
13
  "source": "./",
14
14
  "description": "Java decompiler and JAR analyzer. Decompile classes, search bytecode, and read resources embedded in JAR, WAR, EAR, and AAR archives.",
15
- "version": "1.2.0",
15
+ "version": "1.2.2",
16
16
  "author": {
17
17
  "name": "hqkh4nh"
18
18
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dejared",
3
3
  "description": "Java decompiler and JAR analyzer. Decompile classes, search bytecode, and read resources embedded in JAR, WAR, EAR, and AAR archives.",
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "author": {
6
6
  "name": "hqkh4nh"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dejared",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Java decompiler and JAR analyzer. Decompile classes, search bytecode, and read resources embedded in JAR, WAR, EAR, and AAR archives.",
5
5
  "author": {
6
6
  "name": "hqkh4nh"
package/README.md CHANGED
@@ -369,15 +369,26 @@ with `java -jar`. See the "Pure Java" section under
369
369
 
370
370
  Contributions are welcome. Please follow these guidelines:
371
371
 
372
- 1. Fork the repository and create a feature branch from `master`.
372
+ 1. Fork the repository and create a feature branch from `main`.
373
373
  2. Ensure your changes compile and pass existing tests.
374
374
  3. Write clear commit messages describing the purpose of each change.
375
- 4. Open a pull request against `master` with a description of what
375
+ 4. Open a pull request against `main` with a description of what
376
376
  the change does and why.
377
377
 
378
- Every manifest listed under [Project Structure](#project-structure) carries a
379
- `version` field, and CI fails the build if any of them drifts from
380
- `package.json`. Bump them together.
378
+ The release version is maintained in `package.json`. Gradle and the JAR runner
379
+ read it directly. To bump the version and synchronize the plugin and registry
380
+ manifests, run:
381
+
382
+ ```sh
383
+ npm version patch --no-git-tag-version
384
+ # Or use minor, major, or an explicit version instead of patch.
385
+ npm run check-versions
386
+ ```
387
+
388
+ Review and commit all changed manifests together. Create the matching `vX.Y.Z`
389
+ tag only when ready to publish: pushing that tag starts the release workflow.
390
+ If you edit `package.json` manually, run `npm run sync-version` afterward.
391
+ CI and the release workflow reject mismatched versions without modifying files.
381
392
 
382
393
  ### Project Structure
383
394
 
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "dejared-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
+ "scripts": {
5
+ "sync-version": "node scripts/sync-version.cjs",
6
+ "check-versions": "node scripts/sync-version.cjs --check",
7
+ "preversion": "npm run check-versions",
8
+ "version": "npm run sync-version"
9
+ },
4
10
  "mcpName": "io.github.hqkh4nh/dejared",
5
11
  "description": "Java decompiler MCP server for AI coding agents. Explore, search, and decompile JAR, WAR, EAR, and AAR bytecode with CFR, Vineflower, or Procyon.",
6
12
  "bin": {