Compare commits

...

1 Commits

Author SHA1 Message Date
894ae7e497 Replace .npmrc with bunfig.toml for Bun-native registry config
Also bump git app's @because/toes dependency to 0.0.10 for VALID_NAME export.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 09:54:12 -07:00
21 changed files with 30 additions and 20 deletions

1
.npmrc
View File

@ -1 +0,0 @@
registry=https://npm.nose.space

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/clock/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/code/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/cron/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

1
apps/env/.npmrc vendored
View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/env/bunfig.toml vendored Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/git/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -11,7 +11,6 @@
"toes": {
"tool": true,
"dashboard": true,
"share": true,
"icon": "🔀"
},
"devDependencies": {
@ -23,6 +22,6 @@
"dependencies": {
"@because/forge": "^0.0.1",
"@because/hype": "^0.0.2",
"@because/toes": "0.0.12"
"@because/toes": "0.0.10"
}
}

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/metrics/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

2
apps/truisms/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

2
bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"

View File

@ -85,7 +85,7 @@ A generated SSR app looks like this:
```
my-app/
.gitignore # Files to exclude from sync and deploy
.npmrc # Points to the private registry
bunfig.toml # Points to the private registry
package.json # Must have scripts.toes
tsconfig.json # TypeScript config
index.tsx # Entry point (re-exports from src/server)
@ -127,10 +127,11 @@ Every app needs three things:
The `scripts.toes` field is how Toes discovers your app. The `toes.icon` field sets the emoji shown in the dashboard.
**.npmrc:**
**bunfig.toml:**
```
registry=https://npm.nose.space
```toml
[install]
registry = "https://npm.nose.space"
```
Required for installing `@because/*` packages.

View File

@ -1 +0,0 @@
registry=https://npm.nose.space

View File

@ -10,7 +10,7 @@ Runtime is **Bun**.
Every toes app/tool must have:
1. **`.npmrc`** pointing to `registry=https://npm.nose.space` (the private registry for `@because/*` packages)
1. **`bunfig.toml`** pointing to the private registry for `@because/*` packages
2. **`package.json`** with a `scripts.toes` entry (this is how toes discovers and runs apps)
3. **HTTP `GET /ok`** returning 200 (health check endpoint — toes polls this every 30s and restarts unresponsive apps)
@ -22,11 +22,12 @@ A **tool** renders as a tab inside the dashboard (in an iframe). It receives `?a
## Required Files
Every app needs `.npmrc`, `tsconfig.json`, `package.json`, and `index.tsx`.
Every app needs `bunfig.toml`, `tsconfig.json`, `package.json`, and `index.tsx`.
**.npmrc** -- always this exact content:
```
registry=https://npm.nose.space
**bunfig.toml** -- always this exact content:
```toml
[install]
registry = "https://npm.nose.space"
```
**tsconfig.json** -- use exactly, do not improvise:

2
templates/bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://npm.nose.space"