@sockethub/server 5.0.0-alpha.15 → 5.0.0-alpha.17

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.
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Parse the `--write-config [path]` flag out of argv. Returns `undefined`
3
+ * when the flag is absent; otherwise the target path, `"-"` for stdout, or
4
+ * `sockethub.config.json` when no path was given. This module deliberately
5
+ * avoids importing the config singleton so writing a fresh config works even
6
+ * when an existing config file in the working directory is broken.
7
+ */
8
+ export declare function parseWriteConfigTarget(argv: Array<string>): string | undefined;
9
+ /**
10
+ * The full default configuration as a JSON document, with a `$schema`
11
+ * reference to the published schema for this version.
12
+ */
13
+ export declare function renderDefaultConfig(): string;
14
+ /**
15
+ * Write the default config to `target` (`"-"` prints to stdout). Refuses to
16
+ * overwrite an existing file. Returns the message to show the user.
17
+ */
18
+ export declare function writeDefaultConfig(target: string): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sockethub/server",
3
3
  "description": "A polyglot messaging service, server libraries",
4
- "version": "5.0.0-alpha.15",
4
+ "version": "5.0.0-alpha.17",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Nick Jennings <nick@silverbucket.net>",
@@ -51,11 +51,11 @@
51
51
  "homepage": "https://sockethub.org",
52
52
  "dependencies": {
53
53
  "@sentry/node": "^10.36.0",
54
- "@sockethub/client": "^5.0.0-alpha.15",
55
- "@sockethub/data-layer": "^1.0.0-alpha.15",
56
- "@sockethub/logger": "^1.0.0-alpha.15",
57
- "@sockethub/schemas": "^3.0.0-alpha.15",
58
- "@sockethub/util": "^1.0.0-alpha.3",
54
+ "@sockethub/client": "^5.0.0-alpha.17",
55
+ "@sockethub/data-layer": "^1.0.0-alpha.17",
56
+ "@sockethub/logger": "^1.0.0-alpha.17",
57
+ "@sockethub/schemas": "^3.0.0-alpha.17",
58
+ "@sockethub/util": "^1.0.0-alpha.5",
59
59
  "chalk": "^5.6.2",
60
60
  "convict": "^6.2.5",
61
61
  "ejs": "^3.1.10",
@@ -86,13 +86,14 @@
86
86
  "web-streams-polyfill": "^3.3.3"
87
87
  },
88
88
  "optionalDependencies": {
89
- "@sockethub/examples": "^1.0.0-alpha.15",
90
- "@sockethub/platform-dummy": "^3.0.0-alpha.15",
91
- "@sockethub/platform-feeds": "^4.0.0-alpha.15",
92
- "@sockethub/platform-irc": "^4.0.0-alpha.15",
93
- "@sockethub/platform-metadata": "^1.0.1-alpha.10",
94
- "@sockethub/platform-xmpp": "^5.0.0-alpha.15"
89
+ "@sockethub/examples": "^1.0.0-alpha.17",
90
+ "@sockethub/platform-caldav": "^1.0.0-alpha.1",
91
+ "@sockethub/platform-dummy": "^3.0.0-alpha.17",
92
+ "@sockethub/platform-feeds": "^4.0.0-alpha.17",
93
+ "@sockethub/platform-irc": "^4.0.0-alpha.17",
94
+ "@sockethub/platform-metadata": "^1.0.1-alpha.12",
95
+ "@sockethub/platform-xmpp": "^5.0.0-alpha.17"
95
96
  },
96
- "gitHead": "e7cd0a35abb39c878ff82a60884f0f7ecf4a0a87",
97
+ "gitHead": "fdb2954a2e666f540bced1b7fd2035a43ef6077d",
97
98
  "types": "./dist/index.d.ts"
98
99
  }