@junobuild/cli 0.0.33 → 0.0.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "The Juno command-line interface",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -21,9 +21,9 @@
21
21
  "dev": "node rmdir.mjs && NODE_ENV=development node esbuild.mjs"
22
22
  },
23
23
  "dependencies": {
24
- "@dfinity/identity": "^0.15.5",
25
- "@junobuild/admin": "^0.0.18",
26
- "@junobuild/core": "^0.0.19",
24
+ "@dfinity/identity": "^0.15.6",
25
+ "@junobuild/admin": "^0.0.19",
26
+ "@junobuild/core": "^0.0.20",
27
27
  "conf": "^11.0.1",
28
28
  "file-type": "^18.5.0",
29
29
  "mime-types": "^2.1.35",
@@ -41,7 +41,7 @@
41
41
  "@types/prompts": "^2.4.4",
42
42
  "@types/semver": "^7.5.0",
43
43
  "dotenv": "^16.3.1",
44
- "esbuild": "^0.18.7",
44
+ "esbuild": "^0.18.10",
45
45
  "prettier": "^2.8.8",
46
46
  "prettier-plugin-organize-imports": "^3.2.2",
47
47
  "typescript": "^5.1.3"
@@ -1,10 +1,74 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
5
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
6
+
7
+ <title>Juno</title>
8
+ <meta
9
+ content="Build Web3 Apps Like It's Web2. No backend code required. 100% on-chain with minimal carbon impact."
10
+ name="description" />
11
+
12
+ <style>
13
+ :root {
14
+ font-family: 'Trebuchet MS', sans-serif;
15
+ }
16
+
17
+ article {
18
+ position: fixed;
19
+ top: 50%;
20
+ left: 50%;
21
+ transform: translate(-50%, -50%);
22
+
23
+ display: flex;
24
+ flex-direction: column;
25
+ align-items: center;
26
+
27
+ text-align: center;
28
+ }
29
+
30
+ .icon-user {
31
+ fill: #fff;
32
+ }
33
+
34
+ h1 {
35
+ margin: 2rem 0 1rem;
36
+ }
37
+
38
+ mark {
39
+ color: #ef476f;
40
+ background: transparent;
41
+ }
42
+
43
+ p {
44
+ margin: 0.25rem;
45
+ }
46
+
47
+ a {
48
+ color: inherit;
49
+ }
50
+
51
+ a:hover {
52
+ color: #7888ff;
53
+ }
54
+
55
+ @media (prefers-color-scheme: dark) {
56
+ :root {
57
+ background: #1b1b1d;
58
+ color: #ebedf0;
59
+ }
60
+ }
61
+ </style>
6
62
  </head>
7
63
  <body>
8
- The impossible happened 😫
64
+ <article>
65
+ <h1>Juno CLI Login <mark>Failed</mark></h1>
66
+
67
+ <p>
68
+ Feel free to reach out on
69
+ <a href="https://discord.gg/wHZ57Z2RAG" rel="noopener noreferrer">Discord</a> or
70
+ <a href="https://github.com/buildwithjuno" rel="noopener noreferrer">GitHub</a> for support.
71
+ </p>
72
+ </article>
9
73
  </body>
10
74
  </html>
@@ -1,10 +1,77 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
5
+ <meta content="width=device-width, initial-scale=1" name="viewport" />
6
+
7
+ <title>Juno</title>
8
+ <meta
9
+ content="Build Web3 Apps Like It's Web2. No backend code required. 100% on-chain with minimal carbon impact."
10
+ name="description" />
11
+
12
+ <style>
13
+ :root {
14
+ font-family: 'Trebuchet MS', sans-serif;
15
+ }
16
+
17
+ article {
18
+ position: fixed;
19
+ top: 50%;
20
+ left: 50%;
21
+ transform: translate(-50%, -50%);
22
+
23
+ display: flex;
24
+ flex-direction: column;
25
+ align-items: center;
26
+
27
+ text-align: center;
28
+ }
29
+
30
+ .icon-user {
31
+ fill: #fff;
32
+ }
33
+
34
+ h1 {
35
+ margin: 2rem 0 0;
36
+ }
37
+
38
+ p {
39
+ max-width: 250px;
40
+ }
41
+
42
+ @media (prefers-color-scheme: dark) {
43
+ :root {
44
+ background: #1b1b1d;
45
+ color: #ebedf0;
46
+ }
47
+ }
48
+ </style>
6
49
  </head>
7
50
  <body>
8
- Authorized 🥳.
51
+ <article>
52
+ <!-- CC BY-NC-SA - Didier Renaud - https://www.customfuture.com/ -->
53
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 38" height="6rem">
54
+ <g>
55
+ <g>
56
+ <path
57
+ class="icon-user"
58
+ d="m3.26,34.15h0c0-7.17,5.9-12.98,13.17-12.98h1.14c7.28,0,13.17,5.81,13.17,12.98h0s-2.74,2.85-13.53,2.85-13.95-2.85-13.95-2.85Z" />
59
+ <path
60
+ class="icon-user"
61
+ d="m27.55,19.59l2.73-.59c1.64-.35,2.72-1.24,2.72-2.23v-5.68c0-.99-1.08-1.88-2.72-2.23l-2.73-.59v11.33Z" />
62
+ <path
63
+ class="icon-user"
64
+ d="m6.45,19.59l-2.73-.59c-1.64-.35-2.72-1.24-2.72-2.23v-5.68c0-.99,1.08-1.88,2.72-2.23l2.73-.59v11.33Z" />
65
+ <ellipse class="icon-user" cx="17" cy="13.14" rx="12.33" ry="12.15" />
66
+ <path
67
+ d="m30.49,7.88l-1.44-.31C26.92,3.11,22.33,0,17,0S7.08,3.11,4.95,7.57l-1.44.31c-2.13.46-3.51,1.72-3.51,3.2v5.68c0,1.49,1.38,2.74,3.51,3.2l2.47.53c.6.88,1.32,1.67,2.12,2.37-3.53,2.54-5.83,6.64-5.83,11.27,0,.28.12.55.33.74.14.13,3.57,3.11,14.62,3.11s13.94-2.84,14.25-3.16c.18-.18.28-.43.28-.69,0-4.63-2.31-8.72-5.83-11.26.8-.71,1.52-1.5,2.12-2.38l2.47-.53c2.13-.46,3.51-1.72,3.51-3.2v-5.68c0-1.49-1.38-2.74-3.51-3.2ZM17,1.99c4.87,0,9.03,3.05,10.63,7.3-2.31-1.95-6.17-3.2-10.63-3.2s-8.31,1.25-10.62,3.2c1.6-4.25,5.75-7.3,10.62-7.3ZM3.93,18.03c-1.34-.29-1.94-.91-1.94-1.26v-5.68c0-.35.6-.97,1.94-1.26l.21-.05c-.29,1.07-.46,2.2-.46,3.36,0,1.79.37,3.5,1.03,5.06l-.78-.17Zm25.81,15.64c-.94.63-4.28,2.34-12.53,2.34s-11.89-1.73-12.95-2.37c.17-3.97,2.33-7.43,5.51-9.48,2.08,1.33,4.56,2.12,7.23,2.12s5.16-.79,7.24-2.13c3.18,2.06,5.33,5.54,5.49,9.53Zm-12.74-9.38c-4.28,0-8.01-2.35-9.94-5.8,2.35,1.64,5.9,2.67,9.94,2.67s7.59-1.03,9.94-2.67c-1.93,3.46-5.66,5.8-9.94,5.8Zm15.01-7.52c0,.35-.6.97-1.94,1.26l-.78.17c.66-1.56,1.03-3.27,1.03-5.06,0-1.16-.17-2.29-.46-3.36l.21.05c1.34.29,1.94.91,1.94,1.26v5.68Z" />
68
+ </g>
69
+ </g>
70
+ </svg>
71
+
72
+ <h1>Juno CLI Login Successful</h1>
73
+
74
+ <p>You can close this window and continue using the CLI.</p>
75
+ </article>
9
76
  </body>
10
77
  </html>