edgeone 1.0.14 → 1.0.15
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 +1 -3
- package/package.json +1 -1
package/edgeone-dist/cli.js
CHANGED
|
@@ -102539,7 +102539,7 @@ var yargs_default = Yargs;
|
|
|
102539
102539
|
// package.json
|
|
102540
102540
|
var package_default = {
|
|
102541
102541
|
name: "edgeone",
|
|
102542
|
-
version: "1.0.
|
|
102542
|
+
version: "1.0.15",
|
|
102543
102543
|
description: "Command-line interface for TencentCloud Pages Functions",
|
|
102544
102544
|
bin: {
|
|
102545
102545
|
edgeone: "./edgeone-bin/edgeone.js"
|
|
@@ -114281,7 +114281,6 @@ async function PagesDevServer(devConfig) {
|
|
|
114281
114281
|
}
|
|
114282
114282
|
}
|
|
114283
114283
|
}
|
|
114284
|
-
console.log("proxy");
|
|
114285
114284
|
proxy.web(req, res, {
|
|
114286
114285
|
target: `${DebugUrl}`,
|
|
114287
114286
|
changeOrigin: true
|
|
@@ -114388,7 +114387,6 @@ function createFunctionsFolder() {
|
|
|
114388
114387
|
if (fs7.existsSync(folderPath)) {
|
|
114389
114388
|
console.log("Pages function folder already exists.");
|
|
114390
114389
|
} else {
|
|
114391
|
-
console.log("in createFunctionsFolder 2");
|
|
114392
114390
|
const filePath = path7.join(process.cwd(), "functions", "helloworld", "index.js");
|
|
114393
114391
|
const fileContent = `const json = JSON.stringify({
|
|
114394
114392
|
"code": 0,
|