create-snagset 0.1.16 → 0.1.19
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 +4 -2
- package/dist/scaffold.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -82,5 +82,7 @@ line: expect the odd rough edge, and pin the version if you need stability.
|
|
|
82
82
|
Issues and notes are welcome at
|
|
83
83
|
[snagset/snagset](https://github.com/snagset/snagset).
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
[
|
|
85
|
+
MIT — the folder it writes is yours. The server it installs,
|
|
86
|
+
[`@snagset/server`](https://www.npmjs.com/package/@snagset/server), is
|
|
87
|
+
AGPL-3.0-only; the widget you put on a client's site,
|
|
88
|
+
[`snagset`](https://www.npmjs.com/package/snagset), is MIT.
|
package/dist/scaffold.js
CHANGED
|
@@ -3,7 +3,7 @@ import { basename, dirname, join, resolve } from "node:path";
|
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { randomBytes } from "node:crypto";
|
|
5
5
|
/**
|
|
6
|
-
* `npx create-snagset` —
|
|
6
|
+
* `npx create-snagset` — the self-host, the `create-next-app` model.
|
|
7
7
|
*
|
|
8
8
|
* ── WHY A SCAFFOLDER AND NOT `git clone` ──
|
|
9
9
|
*
|
|
@@ -116,7 +116,7 @@ export function scaffold(target, cwd = process.cwd()) {
|
|
|
116
116
|
* The alternative — ship an example and tell them to copy it — adds a step
|
|
117
117
|
* between the scaffold and the first run, which is the step where an install
|
|
118
118
|
* stalls. And generating the key here rather than letting the server do it
|
|
119
|
-
* on first boot matters for the deploy case:
|
|
119
|
+
* on first boot matters for the deploy case: The generate-to-disk is
|
|
120
120
|
* bin-only, so an operator who scaffolds locally and deploys to a platform
|
|
121
121
|
* would otherwise discover on the far side that they had no key to set.
|
|
122
122
|
*/
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-snagset",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Scaffold your own Snagset instance. One command, Postgres included, one variable to fill in.",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "MIT",
|
|
8
8
|
"bin": {
|
|
9
9
|
"create-snagset": "dist/index.js"
|
|
10
10
|
},
|