playcademy 0.17.2 → 0.17.4
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/cli.js +1 -1
- package/dist/index.js +6 -5
- package/dist/utils.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -4034,7 +4034,7 @@ import { join as join13 } from "path";
|
|
|
4034
4034
|
// package.json with { type: 'json' }
|
|
4035
4035
|
var package_default2 = {
|
|
4036
4036
|
name: "playcademy",
|
|
4037
|
-
version: "0.17.
|
|
4037
|
+
version: "0.17.3",
|
|
4038
4038
|
type: "module",
|
|
4039
4039
|
exports: {
|
|
4040
4040
|
".": {
|
|
@@ -11708,7 +11708,7 @@ var getStatusCommand = new Command13("status").description("Check your developer
|
|
|
11708
11708
|
});
|
|
11709
11709
|
|
|
11710
11710
|
// package.json
|
|
11711
|
-
var version2 = "0.17.
|
|
11711
|
+
var version2 = "0.17.3";
|
|
11712
11712
|
|
|
11713
11713
|
// src/commands/dev/server.ts
|
|
11714
11714
|
function setupCleanupHandlers(workspace, getServer) {
|
|
@@ -13105,7 +13105,7 @@ function displayKVInspectResult(key, result, value, options, environment) {
|
|
|
13105
13105
|
// src/lib/kv/dump.ts
|
|
13106
13106
|
var DEFAULT_BATCH_SIZE = 10;
|
|
13107
13107
|
function escapeCsvField(value) {
|
|
13108
|
-
if (!/[,"\n]/.test(value)) {
|
|
13108
|
+
if (!/[,"\n\r]/.test(value)) {
|
|
13109
13109
|
return value;
|
|
13110
13110
|
}
|
|
13111
13111
|
return `"${value.replaceAll('"', '""')}"`;
|
|
@@ -13160,7 +13160,7 @@ async function dumpKVEntries(keys, getValue, options = {}) {
|
|
|
13160
13160
|
if (options.output) {
|
|
13161
13161
|
await writeFile4(options.output, output, "utf8");
|
|
13162
13162
|
logger.success(
|
|
13163
|
-
`Wrote ${entries.length} ${pluralize(entries.length, "entry")} to ${options.output}`
|
|
13163
|
+
`Wrote ${entries.length} ${pluralize(entries.length, "entry", "entries")} to ${options.output}`
|
|
13164
13164
|
);
|
|
13165
13165
|
logger.newLine();
|
|
13166
13166
|
return;
|
|
@@ -13170,6 +13170,7 @@ async function dumpKVEntries(keys, getValue, options = {}) {
|
|
|
13170
13170
|
|
|
13171
13171
|
// src/commands/kv/dump.ts
|
|
13172
13172
|
async function runKVDumpRemote(options) {
|
|
13173
|
+
const environment = ensureEnvironment(options.env);
|
|
13173
13174
|
const client = await requireAuthenticatedClient();
|
|
13174
13175
|
const workspace = getWorkspace();
|
|
13175
13176
|
const deployedGame = await getDeployedGame(workspace);
|
|
@@ -13184,7 +13185,7 @@ async function runKVDumpRemote(options) {
|
|
|
13184
13185
|
const keys = await client.dev.games.kv.list(game.slug, options.prefix);
|
|
13185
13186
|
await dumpKVEntries(keys, (key) => client.dev.games.kv.get(game.slug, key), options);
|
|
13186
13187
|
if (options.output) {
|
|
13187
|
-
logger.data("Environment",
|
|
13188
|
+
logger.data("Environment", environment, 1);
|
|
13188
13189
|
logger.newLine();
|
|
13189
13190
|
}
|
|
13190
13191
|
}
|
package/dist/utils.js
CHANGED
package/dist/version.js
CHANGED