@vode-app/create-hono-server (0.1.0-pre.1)
Installation
@vode-app:registry=npm install @vode-app/create-hono-server@0.1.0-pre.1"@vode-app/create-hono-server": "0.1.0-pre.1"About this package
Introduction
<INTRO TEXT>
Table of Contents
Quick Start
# placeholder:
# <TEMPLATE_PACKAGE: @vode-app/create-hono-server
# <TEMPLATE_NAME: @vode-app/hono-server
# <NEW_PACKAGE: <NEW_PACKAGE>
# is used as:
# - the path where the package is created
# - the "name" field in the generated package.json
# <@_VERSION: <@_VERSION>
# pinned version
bun info "@vode-app/create-hono-server" version
bun create --no-install --no-git "@vode-app/hono-server<@_VERSION>" <NEW_PACKAGE>
# latest
# clear the cache to pick up the latest version
bun pm cache rm
bun create --no-install --no-git "@vode-app/hono-server" <NEW_PACKAGE>
# templates only copy files, run install and any setup scripts manually
cd <NEW_PACKAGE>
bun install
Documentation
The following sections explain the configurations and conventions baked into the generated package. Useful when adapting it to fit specific needs.
<DOCUMENTATION>
DevOps
bun update
bun install
bun run clean
bun run build
bun run tests
# see publish section for publish instructions
Change Management
- Create a new branch for the change.
- Make the changes and commit.
- Bump the version in
package.json. - Add an entry for the new version in
CHANGELOG.md. - Pull request the branch.
- Ensure package artifacts are current.
- Publish.
Publish
See the following sources to configure the target registry and authentication.
⚠️ Package Scope and the authentication for the target registry must be aligned.
npmjs.org
Publish to the public npm registry.
# authenticate
npm login
# publish
bun publish --registry https://registry.npmjs.org/ --access public
Custom registry
Publish to a custom registry.
# placeholder:
# <SCOPE_WITHOUT_AT: vode-app
# <REGISTRY_URL: https://git.chimps.quest/api/packages/vode-app/npm/
# <BUN_PUBLISH_AUTH_TOKEN: <BUN_PUBLISH_AUTH_TOKEN>
~/.bunfig.toml or bunfig.toml:
[install.scopes]
"vode-app" = { url = "https://git.chimps.quest/api/packages/vode-app/npm/", token = "$BUN_PUBLISH_AUTH_TOKEN" }
# authenticate
$env:BUN_PUBLISH_AUTH_TOKEN = "<BUN_PUBLISH_AUTH_TOKEN>"
# publish
bun publish
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @types/bun | latest |
| typescript | ^6.0.3 |
Keywords
typescript
bun
template
server
hono
Details
Assets (1)
Versions (3)
View all