@fileverse/api 0.0.7 → 0.0.9
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/index.js +12 -11
- package/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.js +17862 -0
- package/dist/cloudflare.js.map +1 -0
- package/dist/commands/index.js +7 -2
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/worker.js +6 -1
- package/dist/worker.js.map +1 -1
- package/package.json +4 -3
package/dist/commands/index.js
CHANGED
|
@@ -96,7 +96,12 @@ var init_config = __esm({
|
|
|
96
96
|
init_constants();
|
|
97
97
|
projectEnvPath = path2.join(process.cwd(), "config", ".env");
|
|
98
98
|
userEnvPath = path2.join(os.homedir(), ".fileverse", ".env");
|
|
99
|
-
|
|
99
|
+
if (typeof globalThis.process !== "undefined" && typeof globalThis.process.cwd === "function") {
|
|
100
|
+
try {
|
|
101
|
+
loadConfig(false);
|
|
102
|
+
} catch {
|
|
103
|
+
}
|
|
104
|
+
}
|
|
100
105
|
config = {
|
|
101
106
|
...STATIC_CONFIG,
|
|
102
107
|
get SERVICE_NAME() {
|
|
@@ -2168,7 +2173,7 @@ eventsCommand.command("retry-all").description("Retry all failed events").action
|
|
|
2168
2173
|
init_infra();
|
|
2169
2174
|
logger.level = "error";
|
|
2170
2175
|
await runMigrations();
|
|
2171
|
-
var program = new Command9().name("ddctl").description("CLI tool to manage your ddocs").version("0.0.
|
|
2176
|
+
var program = new Command9().name("ddctl").description("CLI tool to manage your ddocs").version("0.0.8").addHelpText("beforeAll", "\n").addHelpText("afterAll", "\n");
|
|
2172
2177
|
program.addCommand(listCommand);
|
|
2173
2178
|
program.addCommand(getCommand);
|
|
2174
2179
|
program.addCommand(createCommand);
|