@within-7/jetr 0.7.6 → 0.7.7
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.js +4 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -504,7 +504,7 @@ program.name("jetr").description(`Deploy static sites instantly
|
|
|
504
504
|
$ jetr ./dist my-blog Deploy and assign a subdomain
|
|
505
505
|
$ jetr ./dist blog.example.com Deploy to a custom domain (shows DNS setup)
|
|
506
506
|
$ jetr index.html Deploy a single file
|
|
507
|
-
$ jetr *.html *.css my-site Deploy multiple files to a named site`).version("0.7.
|
|
507
|
+
$ jetr *.html *.css my-site Deploy multiple files to a named site`).version("0.7.7");
|
|
508
508
|
program.argument("[paths...]", "directory, file(s), and/or site name to deploy").action(async (paths) => {
|
|
509
509
|
const config = loadConfig();
|
|
510
510
|
if (!config.token) {
|
|
@@ -568,12 +568,9 @@ program.argument("[paths...]", "directory, file(s), and/or site name to deploy")
|
|
|
568
568
|
);
|
|
569
569
|
console.log(` ${chalk2.bold("Size:")} ${formatBytes(result.totalSize)}`);
|
|
570
570
|
if (customHostname) {
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
console.log(chalk2.yellow(` DNS setup required:`));
|
|
575
|
-
console.log(` ${customHostname} CNAME jetr-serve.lixilei.workers.dev`);
|
|
576
|
-
}
|
|
571
|
+
console.log();
|
|
572
|
+
console.log(chalk2.yellow(` DNS: ensure CNAME record exists`));
|
|
573
|
+
console.log(` ${chalk2.cyan(customHostname)} CNAME ${chalk2.dim("jetr-serve.lixilei.workers.dev")} (Proxied)`);
|
|
577
574
|
}
|
|
578
575
|
console.log();
|
|
579
576
|
if (mode === "directory") {
|