Skip to content

Commit 355882a

Browse files
just-be-devclaude
andauthored
Fix npm package repository URLs and deploy bin configuration (#188)
- Update repository URLs to use git+ prefix for proper npm publishing - Fix typo in repository URLs (justbejyk → just-be-dev) - Change deploy package bin from string to object format for proper CLI registration - Remove --provenance flag from npm publish to improve compatibility Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 8c8d7b7 commit 355882a

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.1",
44
"repository": {
55
"type": "git",
6-
"url": "https://github.com/just-be-dev/just-be.dev.git"
6+
"url": "git+https://github.com/just-be-dev/just-be.dev.git"
77
},
88
"workspaces": {
99
"packages": [

packages/deploy/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.2.0",
44
"description": "Deploy static files to Cloudflare R2 and configure subdomain routing",
55
"type": "module",
6-
"bin": "./index.ts",
6+
"bin": {
7+
"deploy": "index.ts"
8+
},
79
"files": [
810
"index.ts"
911
],
@@ -17,7 +19,7 @@
1719
"license": "MIT",
1820
"repository": {
1921
"type": "git",
20-
"url": "https://github.com/justbejyk/just-be.dev.git",
22+
"url": "git+https://github.com/just-be-dev/just-be.dev.git",
2123
"directory": "packages/deploy"
2224
},
2325
"engines": {

packages/wildcard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"license": "MIT",
2626
"repository": {
2727
"type": "git",
28-
"url": "https://github.com/justbejyk/just-be.dev.git",
28+
"url": "git+https://github.com/just-be-dev/just-be.dev.git",
2929
"directory": "packages/wildcard"
3030
},
3131
"peerDependencies": {

scripts/publish-package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async function publishPackage(packageName: string, packagePath: string): Promise
9090
const tarball = files[0];
9191

9292
// Publish using npm with provenance
93-
await $`cd ${packagePath} && bunx npm publish ${tarball} --access public --provenance`;
93+
await $`cd ${packagePath} && bunx npm publish ${tarball} --access public`;
9494

9595
// Create GitHub release (this creates the tag and release atomically)
9696
const tag = `${packageName}@${localVersion}`;

0 commit comments

Comments
 (0)