create-qpq-app 0.1.15 → 0.1.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-qpq-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Scaffold a new quidproquo app: npx create-qpq-app my-app",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^22.13.13",
|
|
55
|
-
"quidproquo-tsconfig": "0.1.
|
|
55
|
+
"quidproquo-tsconfig": "0.1.16"
|
|
56
56
|
},
|
|
57
57
|
"bin": {
|
|
58
58
|
"create-qpq-app": "./lib/commonjs/bin/createQpqApp.js"
|
|
@@ -64,7 +64,7 @@ function defineWebsocket(
|
|
|
64
64
|
|
|
65
65
|
### `apiSubdomain` — `string` (required)
|
|
66
66
|
|
|
67
|
-
The subdomain the WebSocket API is served on. Combined with `rootDomain` it forms the connection host (`apiSubdomain.rootDomain`)
|
|
67
|
+
The subdomain the WebSocket API is served on. Combined with `rootDomain` it forms the connection host (`apiSubdomain.rootDomain`). It alone is the setting's `uniqueKey`.
|
|
68
68
|
|
|
69
69
|
### `rootDomain` — `string` (required)
|
|
70
70
|
|
|
@@ -97,7 +97,7 @@ Each value is a `QpqFunctionRuntime` — a reference to a story entry point, wri
|
|
|
97
97
|
|
|
98
98
|
## Returns
|
|
99
99
|
|
|
100
|
-
A `WebSocketQPQWebServerConfigSetting` config setting (`configSettingType: WebSocket`) with `uniqueKey` =
|
|
100
|
+
A `WebSocketQPQWebServerConfigSetting` config setting (`configSettingType: WebSocket`) with `uniqueKey` = `apiSubdomain`. Return it (or spread it) from a config array.
|
|
101
101
|
|
|
102
102
|
## Notes
|
|
103
103
|
|