edgeone 1.0.28 → 1.0.29
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/edgeone-dist/cli.js +2 -7
- package/package.json +1 -1
package/edgeone-dist/cli.js
CHANGED
|
@@ -142949,7 +142949,7 @@ var yargs_default = Yargs;
|
|
|
142949
142949
|
// package.json
|
|
142950
142950
|
var package_default = {
|
|
142951
142951
|
name: "edgeone",
|
|
142952
|
-
version: "1.0.
|
|
142952
|
+
version: "1.0.29",
|
|
142953
142953
|
description: "Command-line interface for TencentCloud Pages Functions",
|
|
142954
142954
|
bin: {
|
|
142955
142955
|
edgeone: "./edgeone-bin/edgeone.js"
|
|
@@ -154028,11 +154028,7 @@ var deployFolderOrZipToEdgeOne = async (localPath, env3 = "Production") => {
|
|
|
154028
154028
|
projectId,
|
|
154029
154029
|
env3
|
|
154030
154030
|
);
|
|
154031
|
-
okLog(`Deployment
|
|
154032
|
-
okLog(`Temporary URL: ${structuredResult.url}`);
|
|
154033
|
-
console.log(`EDGEONE_DEPLOY_URL=${structuredResult.url}`);
|
|
154034
|
-
console.log(`EDGEONE_DEPLOY_TYPE=${structuredResult.type}`);
|
|
154035
|
-
console.log(`EDGEONE_PROJECT_ID=${structuredResult.projectId}`);
|
|
154031
|
+
okLog(`Deployment to EdgeOne Pages completed successfully! To view your project's live URL, please visit the EdgeOne Pages Console.`);
|
|
154036
154032
|
return structuredResult;
|
|
154037
154033
|
} catch (error3) {
|
|
154038
154034
|
throw error3;
|
|
@@ -154094,7 +154090,6 @@ var PagesDeploy = async (argv) => {
|
|
|
154094
154090
|
`Deploying ${folderOrZipPath} to project ${projectName} (${deployEnv} environment)...`
|
|
154095
154091
|
);
|
|
154096
154092
|
const result = await deployFolderOrZipToEdgeOne(folderOrZipPath, deployEnv);
|
|
154097
|
-
okLog(`Successfully deployed to ${result.url}`);
|
|
154098
154093
|
} catch (error3) {
|
|
154099
154094
|
errorLog(`Deployment failed: ${error3.message}`);
|
|
154100
154095
|
process.exit(1);
|