@greatstore/cli 0.0.9 → 0.0.10
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 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -71,7 +71,9 @@ var SUCCESS_HTML = `<!doctype html>
|
|
|
71
71
|
<style>body{font:14px/1.5 system-ui;margin:4rem auto;max-width:32rem;color:#222;text-align:center}
|
|
72
72
|
h1{font-size:1.4rem}code{background:#f4f4f4;padding:.1em .3em;border-radius:.2em}</style></head>
|
|
73
73
|
<body><h1>You're signed in.</h1>
|
|
74
|
-
<p>
|
|
74
|
+
<p>This window will close automatically. If it doesn't, you can close it and return to your terminal.</p>
|
|
75
|
+
<script>setTimeout(function(){window.close();},250);</script>
|
|
76
|
+
</body></html>`;
|
|
75
77
|
var FAILURE_HTML = `<!doctype html>
|
|
76
78
|
<html lang="en"><head><meta charset="utf-8"><title>GreatStore CLI</title>
|
|
77
79
|
<style>body{font:14px/1.5 system-ui;margin:4rem auto;max-width:32rem;color:#222;text-align:center}
|
|
@@ -884,7 +886,7 @@ function pascal(name) {
|
|
|
884
886
|
}
|
|
885
887
|
|
|
886
888
|
// src/index.ts
|
|
887
|
-
var VERSION = true ? "0.0.
|
|
889
|
+
var VERSION = true ? "0.0.10" : "0.0.0-dev";
|
|
888
890
|
var HELP = `gs \u2014 GreatStore CLI (v${VERSION})
|
|
889
891
|
|
|
890
892
|
Usage:
|