@shopify/cli-kit 3.0.17 → 3.0.20
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/CHANGELOG.md +28 -0
- package/assets/auth-error.html +25 -0
- package/assets/empty-url.html +25 -0
- package/assets/favicon.svg +26 -0
- package/assets/missing-code.html +25 -0
- package/assets/missing-state.html +25 -0
- package/assets/style.css +61 -0
- package/assets/success.html +20 -0
- package/dist/{index-3f7f30b9.js → index-f41ad36b.js} +77333 -77015
- package/dist/index-f41ad36b.js.map +1 -0
- package/dist/index.d.ts +1753 -1670
- package/dist/index.js +15 -13
- package/dist/index.js.map +1 -1
- package/dist/{multipart-parser-cc9089c4.js → multipart-parser-df3ab369.js} +15 -14
- package/dist/multipart-parser-df3ab369.js.map +1 -0
- package/package.json +6 -4
- package/dist/index-3f7f30b9.js.map +0 -1
- package/dist/multipart-parser-cc9089c4.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @shopify/cli-kit
|
|
2
2
|
|
|
3
|
+
## 3.0.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d422ea9: - Use a shallow repo clone to speed up cloning template repos
|
|
8
|
+
- Display progress of git clones
|
|
9
|
+
|
|
10
|
+
## 3.0.19
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- d73ea66a: Ask to reuse dev config if it's the first time deploying
|
|
15
|
+
- 45866b2a: include apiVersion from toml when deploying a function
|
|
16
|
+
- 3c9519fa: Improve authentication completion screen
|
|
17
|
+
- 0550cb31: Gracefully handle the scenario where the given SPIN_INSTANCE is invalid or non-existing
|
|
18
|
+
- fd254893: Add additional verbose logs
|
|
19
|
+
- cc4c0151: Simplify query complexity when fetching organizations
|
|
20
|
+
|
|
21
|
+
## 3.0.18
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 84438079: Add logging to file and command to access logs
|
|
26
|
+
- fa518a0d: Add analytics helper to report events
|
|
27
|
+
- fd10fc01: Add a confirmation prompt before opening the browser to continue auth
|
|
28
|
+
- 0243890b: Fix function appBridge variables not being set during GraphQL mutation
|
|
29
|
+
- cb1caa7c: Improve create app error message when using an invalid template flag value
|
|
30
|
+
|
|
3
31
|
## 3.0.17
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Shopify CLI</title>
|
|
8
|
+
<link rel="stylesheet" href="style.css">
|
|
9
|
+
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body class="body-error">
|
|
13
|
+
<div class="app-error">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<h1>Something went wrong!</p>
|
|
16
|
+
<p>There was an issue while trying to authenticate.</p>
|
|
17
|
+
<br />
|
|
18
|
+
<br />
|
|
19
|
+
<div class="subtext-container">
|
|
20
|
+
<p>Return to your terminal and try running the previous command again.</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Shopify CLI</title>
|
|
8
|
+
<link rel="stylesheet" href="style.css">
|
|
9
|
+
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body class="body-error">
|
|
13
|
+
<div class="app-error">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<h1>Something went wrong!</p>
|
|
16
|
+
<p>We received the authentication redirect but the URL is empty.</p>
|
|
17
|
+
<br />
|
|
18
|
+
<br />
|
|
19
|
+
<div class="subtext-container">
|
|
20
|
+
<p>Return to your terminal and try running the previous command again.</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 109.5 124.5" style="enable-background:new 0 0 109.5 124.5;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:#95BF47;}
|
|
7
|
+
.st1{fill:#5E8E3E;}
|
|
8
|
+
.st2{fill:#FFFFFF;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st0" d="M95.9,23.9c-0.1-0.6-0.6-1-1.1-1c-0.5,0-9.3-0.2-9.3-0.2s-7.4-7.2-8.1-7.9c-0.7-0.7-2.2-0.5-2.7-0.3
|
|
12
|
+
c0,0-1.4,0.4-3.7,1.1c-0.4-1.3-1-2.8-1.8-4.4c-2.6-5-6.5-7.7-11.1-7.7c0,0,0,0,0,0c-0.3,0-0.6,0-1,0.1c-0.1-0.2-0.3-0.3-0.4-0.5
|
|
13
|
+
c-2-2.2-4.6-3.2-7.7-3.1c-6,0.2-12,4.5-16.8,12.2c-3.4,5.4-6,12.2-6.8,17.5c-6.9,2.1-11.7,3.6-11.8,3.7c-3.5,1.1-3.6,1.2-4,4.5
|
|
14
|
+
c-0.3,2.5-9.5,73-9.5,73l76.4,13.2l33.1-8.2C109.5,115.8,96,24.5,95.9,23.9z M67.2,16.8c-1.8,0.5-3.8,1.2-5.9,1.8
|
|
15
|
+
c0-3-0.4-7.3-1.8-10.9C64,8.6,66.2,13.7,67.2,16.8z M57.2,19.9c-4,1.2-8.4,2.6-12.8,3.9c1.2-4.7,3.6-9.4,6.4-12.5
|
|
16
|
+
c1.1-1.1,2.6-2.4,4.3-3.2C56.9,11.6,57.3,16.5,57.2,19.9z M49.1,4c1.4,0,2.6,0.3,3.6,0.9C51.1,5.8,49.5,7,48,8.6
|
|
17
|
+
c-3.8,4.1-6.7,10.5-7.9,16.6c-3.6,1.1-7.2,2.2-10.5,3.2C31.7,18.8,39.8,4.3,49.1,4z"/>
|
|
18
|
+
<g>
|
|
19
|
+
<path class="st1" d="M94.8,22.9c-0.5,0-9.3-0.2-9.3-0.2s-7.4-7.2-8.1-7.9c-0.3-0.3-0.6-0.4-1-0.5l0,109.7l33.1-8.2
|
|
20
|
+
c0,0-13.5-91.3-13.6-92C95.8,23.3,95.3,22.9,94.8,22.9z"/>
|
|
21
|
+
<path class="st2" d="M58,39.9l-3.8,14.4c0,0-4.3-2-9.4-1.6c-7.5,0.5-7.5,5.2-7.5,6.4c0.4,6.4,17.3,7.8,18.3,22.9
|
|
22
|
+
c0.7,11.9-6.3,20-16.4,20.6c-12.2,0.8-18.9-6.4-18.9-6.4l2.6-11c0,0,6.7,5.1,12.1,4.7c3.5-0.2,4.8-3.1,4.7-5.1
|
|
23
|
+
c-0.5-8.4-14.3-7.9-15.2-21.7c-0.7-11.6,6.9-23.4,23.7-24.4C54.7,38.2,58,39.9,58,39.9z"/>
|
|
24
|
+
</g>
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Shopify CLI</title>
|
|
8
|
+
<link rel="stylesheet" href="style.css">
|
|
9
|
+
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body class="body-error">
|
|
13
|
+
<div class="app-error">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<h1>Something went wrong!</p>
|
|
16
|
+
<p>The authentication can't continue because the redirect doesn't include the code.</p>
|
|
17
|
+
<br />
|
|
18
|
+
<br />
|
|
19
|
+
<div class="subtext-container">
|
|
20
|
+
<p>Return to your terminal and try running the previous command again.</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Shopify CLI</title>
|
|
8
|
+
<link rel="stylesheet" href="style.css">
|
|
9
|
+
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body class="body-error">
|
|
13
|
+
<div class="app-error">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<h1>Something went wrong!</p>
|
|
16
|
+
<p>The authentication can't continue because the redirect doesn't include the state.</p>
|
|
17
|
+
<br />
|
|
18
|
+
<br />
|
|
19
|
+
<div class="subtext-container">
|
|
20
|
+
<p>Return to your terminal and try running the previous command again.</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
package/assets/style.css
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
|
|
3
|
+
text-size-adjust: 100%;
|
|
4
|
+
text-rendering: optimizeLegibility;
|
|
5
|
+
-webkit-font-smoothing: antialiased;
|
|
6
|
+
-moz-osx-font-smoothing: grayscale;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
line-height: normal;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
button, input, optgroup, select, textarea {
|
|
17
|
+
font-family: inherit;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h1 {
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
p {
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.body-success {
|
|
29
|
+
color: #F6F6F7;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.body-error {
|
|
33
|
+
color: #202223;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.app-success {
|
|
37
|
+
width: 100vw;
|
|
38
|
+
height: 100vh;
|
|
39
|
+
background-color: #054A49;
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.app-error {
|
|
44
|
+
width: 100vw;
|
|
45
|
+
height: 100vh;
|
|
46
|
+
background-color: #F6F6F7;
|
|
47
|
+
display: flex;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.container {
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: left;
|
|
53
|
+
align-items: center;
|
|
54
|
+
width: 100%;
|
|
55
|
+
height: 100%;
|
|
56
|
+
padding-left: 10em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.subtext-container {
|
|
60
|
+
width: 35em;
|
|
61
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Shopify CLI</title>
|
|
8
|
+
<link rel="stylesheet" href="style.css">
|
|
9
|
+
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body class="body-success">
|
|
13
|
+
<div class="app-success">
|
|
14
|
+
<div class="container">
|
|
15
|
+
<h1>You've successfuly logged into the Shopify CLI!</p>
|
|
16
|
+
<p>You can close this tab and return to your terminal.</p>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|