sandymount 0.0.12 → 0.0.14
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/bin/sandymount.js +8 -3
- package/package.json +2 -2
package/bin/sandymount.js
CHANGED
|
@@ -21,7 +21,7 @@ const __dirname = dirname(__filename);
|
|
|
21
21
|
const args = process.argv.slice(2);
|
|
22
22
|
const command = args[0];
|
|
23
23
|
|
|
24
|
-
const VERSION = '0.0.
|
|
24
|
+
const VERSION = '0.0.14';
|
|
25
25
|
const DEFAULT_PORT = 5420;
|
|
26
26
|
|
|
27
27
|
function showBanner() {
|
|
@@ -53,6 +53,7 @@ Options:
|
|
|
53
53
|
--no-nostr Disable Nostr relay
|
|
54
54
|
--no-git Disable Git HTTP backend
|
|
55
55
|
--no-idp Disable identity provider
|
|
56
|
+
--no-mashlib Disable SolidOS data browser UI
|
|
56
57
|
--activitypub Enable ActivityPub federation
|
|
57
58
|
--quiet Suppress logs
|
|
58
59
|
|
|
@@ -96,7 +97,7 @@ function startServer(startArgs) {
|
|
|
96
97
|
jssArgs.push('--port', String(DEFAULT_PORT));
|
|
97
98
|
}
|
|
98
99
|
|
|
99
|
-
// Add defaults: nostr, git, and
|
|
100
|
+
// Add defaults: nostr, git, idp, and mashlib-cdn ON unless disabled
|
|
100
101
|
if (!startArgs.includes('--nostr') && !startArgs.includes('--no-nostr')) {
|
|
101
102
|
jssArgs.push('--nostr');
|
|
102
103
|
}
|
|
@@ -106,6 +107,9 @@ function startServer(startArgs) {
|
|
|
106
107
|
if (!startArgs.includes('--idp') && !startArgs.includes('--no-idp')) {
|
|
107
108
|
jssArgs.push('--idp');
|
|
108
109
|
}
|
|
110
|
+
if (!startArgs.includes('--mashlib-cdn') && !startArgs.includes('--no-mashlib')) {
|
|
111
|
+
jssArgs.push('--mashlib-cdn');
|
|
112
|
+
}
|
|
109
113
|
|
|
110
114
|
// Pass through all other args
|
|
111
115
|
jssArgs.push(...startArgs);
|
|
@@ -119,6 +123,7 @@ function startServer(startArgs) {
|
|
|
119
123
|
const gitEnabled = !startArgs.includes('--no-git');
|
|
120
124
|
const apEnabled = startArgs.includes('--activitypub');
|
|
121
125
|
const idpEnabled = !startArgs.includes('--no-idp');
|
|
126
|
+
const mashlibEnabled = !startArgs.includes('--no-mashlib');
|
|
122
127
|
|
|
123
128
|
// Show SAND stack status
|
|
124
129
|
console.log(' ┌─────────────────────────────────────┐');
|
|
@@ -128,7 +133,7 @@ function startServer(startArgs) {
|
|
|
128
133
|
console.log(` │ D DID ${idpEnabled ? '✓ enabled (IdP) │' : '○ --no-idp │'}`);
|
|
129
134
|
console.log(' └─────────────────────────────────────┘');
|
|
130
135
|
console.log('');
|
|
131
|
-
console.log(` Port: ${port} Data: ${dataDir} Git: ${gitEnabled ? '✓' : '○'}`);
|
|
136
|
+
console.log(` Port: ${port} Data: ${dataDir} Git: ${gitEnabled ? '✓' : '○'} UI: ${mashlibEnabled ? '✓' : '○'}`);
|
|
132
137
|
console.log('');
|
|
133
138
|
|
|
134
139
|
// Find jss binary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandymount",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "SAND Stack: Solid + ActivityPub + Nostr + DID — Personal sovereignty in one command",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://sandy-mount.com",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"javascript-solid-server": "^0.0.
|
|
36
|
+
"javascript-solid-server": "^0.0.72"
|
|
37
37
|
}
|
|
38
38
|
}
|