From aa38f310eda2abb788aa15cb22493ff3837d6609 Mon Sep 17 00:00:00 2001 From: Aymeric Rabot Date: Tue, 22 Sep 2026 16:08:50 -0400 Subject: [PATCH] chore(packages): normalize repository urls and the mcp bin path npm 11 rewrites these at publish time and warns on every run: repository.url without the git+ prefix and a bin path with a leading ./ (its warning even says the bin was removed, though it keeps the normalized path). Ship the manifests in the form npm publishes so the release log stays clean; @pascal-app/editor gains the same repository field as its siblings. Co-Authored-By: Claude Fable 5.1 --- packages/core/package.json | 2 +- packages/editor/package.json | 5 +++++ packages/ifc-converter/package.json | 2 +- packages/mcp/package.json | 4 ++-- packages/nodes/package.json | 2 +- packages/viewer/package.json | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 1baa1e5afa..460bb50b4b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -118,7 +118,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pascalorg/editor.git", + "url": "git+https://github.com/pascalorg/editor.git", "directory": "packages/core" }, "license": "MIT", diff --git a/packages/editor/package.json b/packages/editor/package.json index 8c1d48b5eb..19a817abca 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -75,5 +75,10 @@ "@types/three": "^0.184.0", "fast-xml-parser": "^5.4.2", "typescript": "6.0.3" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/pascalorg/editor.git", + "directory": "packages/editor" } } diff --git a/packages/ifc-converter/package.json b/packages/ifc-converter/package.json index ceebef60bd..3a1f9a0f26 100644 --- a/packages/ifc-converter/package.json +++ b/packages/ifc-converter/package.json @@ -34,7 +34,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/pascalorg/editor.git", + "url": "git+https://github.com/pascalorg/editor.git", "directory": "packages/ifc-converter" }, "license": "MIT", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 1a2d929c02..89ce45f416 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -38,7 +38,7 @@ } }, "bin": { - "pascal-mcp": "./dist/bin/pascal-mcp.js" + "pascal-mcp": "dist/bin/pascal-mcp.js" }, "files": [ "dist", @@ -80,7 +80,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pascalorg/editor.git", + "url": "git+https://github.com/pascalorg/editor.git", "directory": "packages/mcp" }, "license": "MIT", diff --git a/packages/nodes/package.json b/packages/nodes/package.json index 3b0d7bf800..6d260dba91 100644 --- a/packages/nodes/package.json +++ b/packages/nodes/package.json @@ -60,7 +60,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pascalorg/editor.git", + "url": "git+https://github.com/pascalorg/editor.git", "directory": "packages/nodes" }, "license": "MIT", diff --git a/packages/viewer/package.json b/packages/viewer/package.json index b2bbded927..e22520a97a 100644 --- a/packages/viewer/package.json +++ b/packages/viewer/package.json @@ -67,7 +67,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pascalorg/editor.git", + "url": "git+https://github.com/pascalorg/editor.git", "directory": "packages/viewer" }, "license": "MIT",