Skip to content

Commit b097a64

Browse files
authored
chore(deps): install void@0.7.1 from public npm (#19)
## Summary - Bump `void` to `0.7.1` from the public npm registry (no more `@void-sdk/void` GitHub Packages alias). - Delete the project `.npmrc` registry override. - Drop the `NODE_AUTH_TOKEN` env from the `setup-vp` steps in `ci.yml` and `deploy.yml`. - Update `CLAUDE.md` to reflect that Void now installs straight from npm. ## Test plan - [x] `vp install` - [x] `vp check` - [x] `vp test` (22/22 pass) - [x] `vp build` - [x] CI green on this PR 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 283d238 commit b097a64

6 files changed

Lines changed: 300 additions & 1511 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
- uses: voidzero-dev/setup-vp@4f5aa3e38c781f1b01e78fb9255527cee8a6efa6 # v1.8.0
1818
with:
1919
cache: true
20-
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
2220
- run: vp check
2321
- run: vp build
2422
- run: vp test
@@ -32,8 +30,6 @@ jobs:
3230
- uses: voidzero-dev/setup-vp@4f5aa3e38c781f1b01e78fb9255527cee8a6efa6 # v1.8.0
3331
with:
3432
cache: true
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
3733
- run: vpx void deploy
3834
env:
3935
VOID_TOKEN: ${{ secrets.VOID_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
- uses: voidzero-dev/setup-vp@4f5aa3e38c781f1b01e78fb9255527cee8a6efa6 # v1.8.0
1313
with:
1414
cache: true
15-
env:
16-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
1715
- run: vpx void deploy
1816
env:
1917
VOID_TOKEN: ${{ secrets.VOID_TOKEN }}

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For GitHub Actions, consider using [`voidzero-dev/setup-vp`](https://github.com/
9191

9292
## Void
9393

94-
This project uses [Void](https://void.cloud) — a fullstack Vite plugin + deployment platform for Cloudflare. `voidPlugin()` in `vite.config.ts` gives you file-based API routing on Hono (`routes/`), Inertia-inspired server-rendered pages with co-located loaders/actions (`pages/` + `@void/vue` or `@void/react`), auto-provisioned D1/KV/R2 bindings, first-class Drizzle ORM integration (schema in `db/schema.ts` -> `void/db` Drizzle instance -> typed routes -> typed fetch client), built-in auth, queues, cron jobs, edge caching (ISR), and one-command deploys via `npx void deploy`. For first-time setup, prefer `npx void init`; the interactive flow can scaffold the app, configure project files, handle auth, and link or create the deploy project before the first deploy. During the private beta, installation may use GitHub Packages aliases such as `void@npm:@void-sdk/void`, but source imports stay on `void` and `@void/*`. The checked-in project `.npmrc` should only contain `@void-sdk:registry=https://npm.pkg.github.com`; installation auth belongs in the user's `~/.npmrc` via `//npm.pkg.github.com/:_authToken=YOUR_GITHUB_PAT` using a classic GitHub PAT with `read:packages`.
94+
This project uses [Void](https://void.cloud) — a fullstack Vite plugin + deployment platform for Cloudflare. `voidPlugin()` in `vite.config.ts` gives you file-based API routing on Hono (`routes/`), Inertia-inspired server-rendered pages with co-located loaders/actions (`pages/` + `@void/vue` or `@void/react`), auto-provisioned D1/KV/R2 bindings, first-class Drizzle ORM integration (schema in `db/schema.ts` -> `void/db` Drizzle instance -> typed routes -> typed fetch client), built-in auth, queues, cron jobs, edge caching (ISR), and one-command deploys via `npx void deploy`. For first-time setup, prefer `npx void init`; the interactive flow can scaffold the app, configure project files, handle auth, and link or create the deploy project before the first deploy. Void is published on the public npm registry — install it directly as `void` with no aliases, registry overrides, or auth tokens.
9595

9696
Database: define Drizzle tables in `db/schema.ts`, import `db` from `void/db` and tables from `@schema`. Use `void db push` for prototyping, `void db generate` for production migrations. `drizzle-orm` and `drizzle-kit` ship with void (no extra install). Migrations live in `db/migrations/`.
9797

0 commit comments

Comments
 (0)