@sovereignfs/create 0.13.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/dist/create.mjs +910 -47
- package/package.json +1 -1
- package/template/app/AGENTS.md +49 -0
- package/template/app/CHANGELOG.md +11 -0
- package/template/app/CLAUDE.md +9 -0
- package/template/app/CONTRIBUTING.md +41 -27
- package/template/app/README.md +5 -1
- package/template/app/RELEASING.md +31 -0
- package/template/app/_github/repository.json +50 -0
- package/template/app/_github/workflows/ci.yml +11 -3
- package/template/app/_github/workflows/promotion.yml +24 -0
- package/template/app/_github/workflows/publish.yml +56 -7
- package/template/app/_github/workflows/release.yml +40 -0
- package/template/components/RELEASING.md +27 -0
- package/template/encryption/ENCRYPTION.md +30 -0
- package/template/encryption/app/actions.ts +20 -0
- package/template/encryption/app/api/me/keys/route.ts +21 -0
- package/template/encryption/app/api/notes/[id]/route.ts +39 -0
- package/template/encryption/app/api/notes/route.ts +36 -0
- package/template/encryption/app/api/people/[sub]/keys/route.ts +26 -0
- package/template/encryption/app/api/people/route.ts +22 -0
- package/template/encryption/app/keys/return/page.tsx +11 -0
- package/template/encryption/app/keys/return/received.tsx +36 -0
- package/template/encryption/app/notes.tsx +529 -0
- package/template/encryption/app/page.tsx +71 -0
- package/template/encryption/app/ui.tsx +14 -0
- package/template/encryption/lib/auth.ts +19 -0
- package/template/encryption/lib/keys.ts +14 -0
- package/template/encryption/lib/notes.ts +201 -0
- package/template/encryption/lib/sovereign.ts +21 -0
- package/template/encryption/migrations/001_init.sql +39 -0
- package/template/encryption/sovereign.manifest.json +21 -0
package/README.md
CHANGED
|
@@ -10,4 +10,16 @@ npm create @sovereignfs my-instance
|
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Then `./sv setup`. `npm create @sovereignfs app my-notes` makes a Next.js app that an instance can host as it stands: it signs in through
|
|
13
|
-
the instance's core, keeps its data in its own database, and builds into an image whose label is its manifest.
|
|
13
|
+
the instance's core, keeps its data in its own database, and builds into an image whose label is its manifest. With `--encryption`, its
|
|
14
|
+
notes are encrypted in the browser and shared between people of the instance (not yet audited; see its `ENCRYPTION.md`). See [`@sovereignfs/cli`](https://www.npmjs.com/package/@sovereignfs/cli). Licence: AGPL-3.0-or-later.
|
|
15
|
+
|
|
16
|
+
Once an app exists, it keeps the files every app of the suite shares (its release workflows, repository settings, contributing and
|
|
17
|
+
release guides, and the shared section of `AGENTS.md`) with the version of this package it pins:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm create @sovereignfs app sync # write them from this version's template
|
|
21
|
+
npm create @sovereignfs app sync --check # say which differ, and fail
|
|
22
|
+
npm create @sovereignfs app settings apply # make GitHub's settings and rulesets match .github/repository.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`app release check`, `app release notes` and `app commits check` are what its promotion check and release run.
|