gencow 0.1.184 → 0.1.186
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/bin/gencow.mjs +7 -0
- package/core/index.js +1 -0
- package/dashboard/assets/{index-CFHaaHZs.js → index-ChaGpUmo.js} +34 -34
- package/dashboard/index.html +1 -1
- package/lib/deploy-failure-diagnostic.mjs +95 -0
- package/lib/deploy-package-runtime.mjs +44 -35
- package/lib/deploy-project-metadata.mjs +22 -0
- package/lib/deploy-runtime.mjs +83 -6
- package/lib/deploy-static-fullstack-runtime.mjs +79 -29
- package/lib/http-response-json.mjs +9 -0
- package/lib/release-client.mjs +134 -0
- package/lib/release-source-package.mjs +257 -0
- package/lib/static-command.mjs +10 -4
- package/lib/static-deploy-command.mjs +121 -43
- package/package.json +2 -2
- package/runtime/server.mjs +311 -153
- package/runtime/server.mjs.map +4 -4
package/bin/gencow.mjs
CHANGED
|
@@ -81,6 +81,7 @@ import {
|
|
|
81
81
|
warn,
|
|
82
82
|
} from "../lib/output.mjs";
|
|
83
83
|
import { platformFetch, requireCreds, rpcMutation, rpcQuery } from "../lib/platform-client.mjs";
|
|
84
|
+
import { failReleaseAttempt, finalizeReleaseAttempt, prepareReleaseAttempt } from "../lib/release-client.mjs";
|
|
84
85
|
|
|
85
86
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
86
87
|
const CLI_PACKAGE_JSON = JSON.parse(readFileSync(resolve(__dirname, "..", "package.json"), "utf8"));
|
|
@@ -228,6 +229,9 @@ const runStaticDeployRuntime = createStaticDeployRuntime({
|
|
|
228
229
|
drizzleKitCmdImpl: _drizzleKitCmd,
|
|
229
230
|
verifyAppReadyImpl: verifyAppReady,
|
|
230
231
|
updateEnvLocalUrlImpl: updateEnvLocalUrl,
|
|
232
|
+
prepareReleaseAttemptImpl: prepareReleaseAttempt,
|
|
233
|
+
finalizeReleaseAttemptImpl: finalizeReleaseAttempt,
|
|
234
|
+
failReleaseAttemptImpl: failReleaseAttempt,
|
|
231
235
|
});
|
|
232
236
|
const runDeployCommand = createDeployCommand({
|
|
233
237
|
buildEnvImpl: buildEnv,
|
|
@@ -255,6 +259,9 @@ const runDeployCommand = createDeployCommand({
|
|
|
255
259
|
verifyAppReadyImpl: verifyAppReady,
|
|
256
260
|
writeFileSyncImpl: writeFileSync,
|
|
257
261
|
updateEnvLocalUrlImpl: updateEnvLocalUrl,
|
|
262
|
+
prepareReleaseAttemptImpl: prepareReleaseAttempt,
|
|
263
|
+
finalizeReleaseAttemptImpl: finalizeReleaseAttempt,
|
|
264
|
+
failReleaseAttemptImpl: failReleaseAttempt,
|
|
258
265
|
});
|
|
259
266
|
const runDomainCommand = createDomainCommand();
|
|
260
267
|
const runEnvCommand = createEnvCommand();
|
package/core/index.js
CHANGED