@base44-preview/cli 0.1.1-pr.559.316796 → 0.1.1-pr.559.6a0a574
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 +1 -11
- package/dist/cli/index.js.map +5 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -252094,9 +252094,6 @@ async function detectFramework(projectRoot) {
|
|
|
252094
252094
|
async function deployFullStack(options) {
|
|
252095
252095
|
const { projectRoot, target, progress } = options;
|
|
252096
252096
|
const config11 = await resolveWranglerConfig(projectRoot);
|
|
252097
|
-
if (!config11.compatibilityFlags.includes("nodejs_compat")) {
|
|
252098
|
-
progress?.onWarning?.("The wrangler config has no 'nodejs_compat' compatibility flag; Node.js built-ins will be unavailable at runtime. Enable it in your framework's Cloudflare adapter settings if your server code needs Node APIs.");
|
|
252099
|
-
}
|
|
252100
252097
|
const modules = await collectModules(config11);
|
|
252101
252098
|
let assets = { manifest: {}, filesByHash: new Map };
|
|
252102
252099
|
if (config11.assetsDirectory && await pathExists(config11.assetsDirectory)) {
|
|
@@ -254356,14 +254353,10 @@ async function buildSiteIfNeeded({ runTask: runTask2 }, { project: project2 }, o
|
|
|
254356
254353
|
}
|
|
254357
254354
|
async function runFullStackDeploy({ runTask: runTask2, log }, projectRoot, options) {
|
|
254358
254355
|
const progressLines = [];
|
|
254359
|
-
const warnings = [];
|
|
254360
254356
|
const deployment = await runTask2("Deploying full-stack app...", async (updateMessage) => await deployFullStack({
|
|
254361
254357
|
projectRoot,
|
|
254362
254358
|
target: options.prod ? "production" : "preview",
|
|
254363
254359
|
progress: {
|
|
254364
|
-
onWarning: (message) => {
|
|
254365
|
-
warnings.push(message);
|
|
254366
|
-
},
|
|
254367
254360
|
onAssets: ({ totalAssets, newAssets }) => {
|
|
254368
254361
|
const line = `Found ${totalAssets} static assets (${newAssets} new)`;
|
|
254369
254362
|
progressLines.push(line);
|
|
@@ -254383,9 +254376,6 @@ async function runFullStackDeploy({ runTask: runTask2, log }, projectRoot, optio
|
|
|
254383
254376
|
for (const line of progressLines) {
|
|
254384
254377
|
log.message(theme.styles.dim(line));
|
|
254385
254378
|
}
|
|
254386
|
-
for (const warning of warnings) {
|
|
254387
|
-
log.warn(warning);
|
|
254388
|
-
}
|
|
254389
254379
|
return deployment;
|
|
254390
254380
|
}
|
|
254391
254381
|
function printFullStackSummary(deployment, log) {
|
|
@@ -263551,4 +263541,4 @@ export {
|
|
|
263551
263541
|
CLIExitError
|
|
263552
263542
|
};
|
|
263553
263543
|
|
|
263554
|
-
//# debugId=
|
|
263544
|
+
//# debugId=AD8650F66C846E9164756E2164756E21
|