Skip to content

Conversation

mrloop
Copy link

@mrloop mrloop commented Aug 17, 2025

The PR uses a relative path for symbolic link

See #197

Fix verified locally by running local npm registry:

npx verdaccio@latest --listen 4873

And publishing opencode to that:

OPENCODE_VERSION="1.0.0-local" OPENCODE_DRY="false" bun run script/publish.ts

The script/publish.ts was updated to publish to local registry by appending --registry http://localhost:4873 to the bun install commands.

Volta was then used to install from the local registry:

NPM_CONFIG_REGISTRY=http://localhost:4873 npm_config_registry=http://localhost:4873 volta install [email protected]

…tmp file

The PR uses a relative path for symbolic link

See sst#197

Fix verified locally by running local npm registry:

```
npx verdaccio@latest --listen 4873
```

And publishing opencode to that:

```
OPENCODE_VERSION="1.0.0-local" OPENCODE_DRY="false" bun run script/publish.ts
```

The `script/publish.ts` was updated to publish to local registry by appending
`--registry http://localhost:4873` to the `bun install` commands.

Volta was then used to install from the local registry:

```
NPM_CONFIG_REGISTRY=http://localhost:4873 npm_config_registry=http://localhost:4873 volta install [email protected]
```
@mrloop
Copy link
Author

mrloop commented Aug 17, 2025

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants