storyshelf 0.5.4 → 0.5.5
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/dist/commands/server/init.js +20 -20
- package/dist/commands/worker/init.js +6 -6
- package/dist/config.js +1 -1
- package/package.json +3 -3
|
@@ -318,10 +318,10 @@ function generateWorkerFile(answers) {
|
|
|
318
318
|
function buildDeps(answers) {
|
|
319
319
|
const deps = {
|
|
320
320
|
"@hono/node-server": "^1.17.0",
|
|
321
|
-
"@storyshelf/core": "0.5.
|
|
322
|
-
"@storyshelf/app": "0.5.
|
|
323
|
-
"@storyshelf/observability": "0.5.
|
|
324
|
-
[DB_PACKAGE[answers.database]]: "0.5.
|
|
321
|
+
"@storyshelf/core": "0.5.5",
|
|
322
|
+
"@storyshelf/app": "0.5.5",
|
|
323
|
+
"@storyshelf/observability": "0.5.5",
|
|
324
|
+
[DB_PACKAGE[answers.database]]: "0.5.5"
|
|
325
325
|
};
|
|
326
326
|
if (answers.database === "turso") deps["@libsql/client"] = LIBSQL_CLIENT_SDK;
|
|
327
327
|
if (answers.database === "better-sqlite3") deps["better-sqlite3"] = BETTER_SQLITE3_SDK;
|
|
@@ -332,40 +332,40 @@ function buildDeps(answers) {
|
|
|
332
332
|
if (answers.database === "mysql") deps["mysql2"] = MYSQL2_SDK;
|
|
333
333
|
if (answers.database === "planetscale") deps["@planetscale/database"] = PLANETSCALE_SDK;
|
|
334
334
|
if (answers.database === "tidb") deps["@tidbcloud/serverless"] = TIDBCLOUD_SDK;
|
|
335
|
-
if (answers.storage !== "local") deps[STORAGE_PACKAGE[answers.storage]] = "0.5.
|
|
335
|
+
if (answers.storage !== "local") deps[STORAGE_PACKAGE[answers.storage]] = "0.5.5";
|
|
336
336
|
if (answers.queue === "sqs" || answers.queue === "redis") {
|
|
337
337
|
const queuePkg = answers.queue === "redis" ? "@storyshelf/queue-redis" : "@storyshelf/queue-sqs";
|
|
338
|
-
deps[queuePkg] = "0.5.
|
|
338
|
+
deps[queuePkg] = "0.5.5";
|
|
339
339
|
if (answers.includeWorker) {
|
|
340
|
-
deps["@storyshelf/worker"] = "0.5.
|
|
341
|
-
deps["@storyshelf/runner-playwright"] = "0.5.
|
|
340
|
+
deps["@storyshelf/worker"] = "0.5.5";
|
|
341
|
+
deps["@storyshelf/runner-playwright"] = "0.5.5";
|
|
342
342
|
}
|
|
343
343
|
} else if (answers.queue === "azure-storage-queues" || answers.queue === "azure-service-bus") {
|
|
344
|
-
deps["@storyshelf/queue-azure"] = "0.5.
|
|
344
|
+
deps["@storyshelf/queue-azure"] = "0.5.5";
|
|
345
345
|
const sdk = azureSdkDep(answers.queue);
|
|
346
346
|
deps[sdk.name] = sdk.version;
|
|
347
347
|
if (answers.includeWorker) {
|
|
348
|
-
deps["@storyshelf/worker"] = "0.5.
|
|
349
|
-
deps["@storyshelf/runner-playwright"] = "0.5.
|
|
348
|
+
deps["@storyshelf/worker"] = "0.5.5";
|
|
349
|
+
deps["@storyshelf/runner-playwright"] = "0.5.5";
|
|
350
350
|
}
|
|
351
351
|
} else if (answers.queue === "gcp-pubsub") {
|
|
352
|
-
deps["@storyshelf/queue-gcp"] = "0.5.
|
|
352
|
+
deps["@storyshelf/queue-gcp"] = "0.5.5";
|
|
353
353
|
deps["@google-cloud/pubsub"] = GCP_PUBSUB_SDK;
|
|
354
354
|
if (answers.includeWorker) {
|
|
355
|
-
deps["@storyshelf/worker"] = "0.5.
|
|
356
|
-
deps["@storyshelf/runner-playwright"] = "0.5.
|
|
355
|
+
deps["@storyshelf/worker"] = "0.5.5";
|
|
356
|
+
deps["@storyshelf/runner-playwright"] = "0.5.5";
|
|
357
357
|
}
|
|
358
|
-
} else deps["@storyshelf/runner-playwright"] = "0.5.
|
|
359
|
-
if (answers.auth !== "none") deps[AUTH_PACKAGE[answers.auth] ?? ""] = "0.5.
|
|
360
|
-
if (answers.git !== "none") deps[GIT_PACKAGE[answers.git] ?? ""] = "0.5.
|
|
358
|
+
} else deps["@storyshelf/runner-playwright"] = "0.5.5";
|
|
359
|
+
if (answers.auth !== "none") deps[AUTH_PACKAGE[answers.auth] ?? ""] = "0.5.5";
|
|
360
|
+
if (answers.git !== "none") deps[GIT_PACKAGE[answers.git] ?? ""] = "0.5.5";
|
|
361
361
|
if (wantsNotifications(answers)) {
|
|
362
|
-
deps["@storyshelf/notify-chat"] = "0.5.
|
|
363
|
-
deps["@storyshelf/notify-email"] = "0.5.
|
|
362
|
+
deps["@storyshelf/notify-chat"] = "0.5.5";
|
|
363
|
+
deps["@storyshelf/notify-email"] = "0.5.5";
|
|
364
364
|
deps["nodemailer"] = NODEMAILER_SDK;
|
|
365
365
|
}
|
|
366
366
|
if (answers.queue !== "memory") {
|
|
367
367
|
const queuePkg = QUEUE_PACKAGE[answers.queue];
|
|
368
|
-
if (queuePkg) deps[queuePkg] = "0.5.
|
|
368
|
+
if (queuePkg) deps[queuePkg] = "0.5.5";
|
|
369
369
|
}
|
|
370
370
|
return deps;
|
|
371
371
|
}
|
|
@@ -159,10 +159,10 @@ function generateWorker(answers) {
|
|
|
159
159
|
}
|
|
160
160
|
function buildDeps(answers) {
|
|
161
161
|
const deps = {
|
|
162
|
-
"@storyshelf/core": "0.5.
|
|
163
|
-
"@storyshelf/worker": "0.5.
|
|
164
|
-
"@storyshelf/runner-playwright": "0.5.
|
|
165
|
-
[DB_PACKAGE[answers.database]]: "0.5.
|
|
162
|
+
"@storyshelf/core": "0.5.5",
|
|
163
|
+
"@storyshelf/worker": "0.5.5",
|
|
164
|
+
"@storyshelf/runner-playwright": "0.5.5",
|
|
165
|
+
[DB_PACKAGE[answers.database]]: "0.5.5"
|
|
166
166
|
};
|
|
167
167
|
if (answers.database === "turso") deps["@libsql/client"] = LIBSQL_CLIENT_SDK;
|
|
168
168
|
if (answers.database === "better-sqlite3") deps["better-sqlite3"] = BETTER_SQLITE3_SDK;
|
|
@@ -173,9 +173,9 @@ function buildDeps(answers) {
|
|
|
173
173
|
if (answers.database === "mysql") deps["mysql2"] = MYSQL2_SDK;
|
|
174
174
|
if (answers.database === "planetscale") deps["@planetscale/database"] = PLANETSCALE_SDK;
|
|
175
175
|
if (answers.database === "tidb") deps["@tidbcloud/serverless"] = TIDBCLOUD_SDK;
|
|
176
|
-
if (answers.storage !== "local") deps[STORAGE_PACKAGE[answers.storage]] = "0.5.
|
|
176
|
+
if (answers.storage !== "local") deps[STORAGE_PACKAGE[answers.storage]] = "0.5.5";
|
|
177
177
|
const qp = QUEUE_PACKAGE[answers.queue];
|
|
178
|
-
if (qp) deps[qp] = "0.5.
|
|
178
|
+
if (qp) deps[qp] = "0.5.5";
|
|
179
179
|
if (answers.queue === "azure-storage-queues") deps["@azure/storage-queue"] = AZURE_STORAGE_QUEUE_SDK;
|
|
180
180
|
if (answers.queue === "azure-service-bus") deps["@azure/service-bus"] = AZURE_SERVICE_BUS_SDK;
|
|
181
181
|
if (answers.queue === "gcp-pubsub") deps["@google-cloud/pubsub"] = GCP_PUBSUB_SDK;
|
package/dist/config.js
CHANGED
|
@@ -233,7 +233,7 @@ const SCHEMA_BASE_URL = "https://unpkg.com/storyshelf";
|
|
|
233
233
|
const SCHEMA_PACKAGE_PATH = "schema/storyshelf-config.json";
|
|
234
234
|
/** Running CLI version, or undefined in dev/test without the build define. */
|
|
235
235
|
function cliVersion() {
|
|
236
|
-
return "0.5.
|
|
236
|
+
return "0.5.5";
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* Resolve the `$schema` value for a config file: a path relative to the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storyshelf",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "StoryShelf CLI: create projects, upload builds, purge, and retry from CI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"prepublishOnly": "nub run build"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@storyshelf/affected": "0.5.
|
|
53
|
+
"@storyshelf/affected": "0.5.5",
|
|
54
54
|
"archiver": "8.0.0",
|
|
55
55
|
"commander": "^13.0.0",
|
|
56
56
|
"hono": "^4.11.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"prompts": "^2.4.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@storyshelf/core": "0.5.
|
|
61
|
+
"@storyshelf/core": "0.5.5",
|
|
62
62
|
"@types/node": "^26.0.0",
|
|
63
63
|
"@types/picomatch": "^4.0.1",
|
|
64
64
|
"@types/prompts": "^2.4.9",
|