Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanpicado/verdaccio-with-bun
Example how to run verdaccio with Bun
https://github.com/juanpicado/verdaccio-with-bun
Last synced: 17 days ago
JSON representation
Example how to run verdaccio with Bun
- Host: GitHub
- URL: https://github.com/juanpicado/verdaccio-with-bun
- Owner: juanpicado
- Created: 2024-06-02T13:30:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T14:07:09.000Z (5 months ago)
- Last Synced: 2024-08-17T08:06:03.994Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Verdaccio with Bun (>1.1.12)
Small example how to install dependencies from a private registry using verdaccio with [bun](https://bun.sh/).
- Install dependencies (verdaccio itself) from a private registry `bun install`
- Run verdaccio with `bun````bash
bun main.js
``````javascript
// main.js
import {runServer} from 'verdaccio';
(async () => {
const app = await runServer(); // default configuration
app.listen(4000, (event) => {
// do something
});
})();
``````
// bunfig.toml
[install]
registry = "http://localhost:4873"
```- [Override the default npm registry for bun install](https://bun.sh/guides/install/custom-registry)
- [Configure a private registry for an organization scope with bun install](https://bun.sh/guides/install/registry-scope)> Juan Picado, 2024.