@shopify/create-app 1.0.2 → 1.0.4
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 +6 -0
- package/dist/commands/init.js +96 -45
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +27 -11
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import require$$1$2, { constants as constants$8 } from 'os';
|
|
|
6
6
|
import require$$0$5 from 'stream';
|
|
7
7
|
import * as tty$1 from 'tty';
|
|
8
8
|
import tty__default from 'tty';
|
|
9
|
+
import Stream$4 from 'node:stream';
|
|
9
10
|
import 'node:buffer';
|
|
10
11
|
import path$D from 'node:path';
|
|
11
12
|
import 'node:child_process';
|
|
@@ -19,7 +20,6 @@ import require$$0$a from 'buffer';
|
|
|
19
20
|
import require$$0$9, { promisify as promisify$6 } from 'util';
|
|
20
21
|
import fs$H, { promises } from 'node:fs';
|
|
21
22
|
import require$$0$b from 'constants';
|
|
22
|
-
import Stream$4 from 'node:stream';
|
|
23
23
|
import { promisify as promisify$7 } from 'node:util';
|
|
24
24
|
import crypto$1 from 'crypto';
|
|
25
25
|
import http$2 from 'http';
|
|
@@ -30,6 +30,7 @@ import zlib$1 from 'zlib';
|
|
|
30
30
|
import require$$0$d from 'http2';
|
|
31
31
|
import require$$1$3 from 'tls';
|
|
32
32
|
import require$$0$e from 'net';
|
|
33
|
+
import 'ngrok';
|
|
33
34
|
import require$$0$f from 'punycode';
|
|
34
35
|
|
|
35
36
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -8650,7 +8651,10 @@ const error$k = (content2) => {
|
|
|
8650
8651
|
if (content2.tryMessage) {
|
|
8651
8652
|
console.error(`
|
|
8652
8653
|
${padding}${colors$9.bold("What to try:")}`);
|
|
8653
|
-
|
|
8654
|
+
const lines = content2.tryMessage.split("\n");
|
|
8655
|
+
lines.forEach((line) => {
|
|
8656
|
+
console.error(`${padding}${line}`);
|
|
8657
|
+
});
|
|
8654
8658
|
}
|
|
8655
8659
|
console.error(footer);
|
|
8656
8660
|
}
|
|
@@ -23273,7 +23277,7 @@ function setup(env) {
|
|
|
23273
23277
|
namespaces = split[i].replace(/\*/g, '.*?');
|
|
23274
23278
|
|
|
23275
23279
|
if (namespaces[0] === '-') {
|
|
23276
|
-
createDebug.skips.push(new RegExp('^' + namespaces.
|
|
23280
|
+
createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
|
|
23277
23281
|
} else {
|
|
23278
23282
|
createDebug.names.push(new RegExp('^' + namespaces + '$'));
|
|
23279
23283
|
}
|
|
@@ -38716,7 +38720,7 @@ packageJson$1.exports.PackageNotFoundError = PackageNotFoundError;
|
|
|
38716
38720
|
packageJson$1.exports.VersionNotFoundError = VersionNotFoundError;
|
|
38717
38721
|
|
|
38718
38722
|
var name = "@shopify/cli-kit";
|
|
38719
|
-
var version$2 = "1.0.
|
|
38723
|
+
var version$2 = "1.0.4";
|
|
38720
38724
|
var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
|
|
38721
38725
|
var keywords = [
|
|
38722
38726
|
"shopify",
|
|
@@ -38764,14 +38768,15 @@ var os$1 = [
|
|
|
38764
38768
|
"win32"
|
|
38765
38769
|
];
|
|
38766
38770
|
var dependencies$1 = {
|
|
38767
|
-
|
|
38768
|
-
|
|
38771
|
+
open: "^8.4.0",
|
|
38772
|
+
ngrok: "^4.3.1",
|
|
38773
|
+
keytar: "^7.9.0"
|
|
38769
38774
|
};
|
|
38770
38775
|
var devDependencies = {
|
|
38771
38776
|
"@iarna/toml": "^2.2.5",
|
|
38772
38777
|
"ansi-colors": "^4.1.1",
|
|
38773
38778
|
"change-case": "^4.1.2",
|
|
38774
|
-
conf: "^10.1.
|
|
38779
|
+
conf: "^10.1.2",
|
|
38775
38780
|
del: "^6.0.0",
|
|
38776
38781
|
enquirer: "^2.3.6",
|
|
38777
38782
|
execa: "^6.0.0",
|
|
@@ -38783,7 +38788,7 @@ var devDependencies = {
|
|
|
38783
38788
|
"graphql-request": "^4.2.0",
|
|
38784
38789
|
"latest-version": "^6.0.0",
|
|
38785
38790
|
liquidjs: "^9.36.0",
|
|
38786
|
-
listr2: "^4.0.
|
|
38791
|
+
listr2: "^4.0.5",
|
|
38787
38792
|
"md5-file": "^5.0.0",
|
|
38788
38793
|
"node-fetch": "^3.2.3",
|
|
38789
38794
|
pathe: "^0.2.0",
|
|
@@ -38791,7 +38796,7 @@ var devDependencies = {
|
|
|
38791
38796
|
tempy: "^2.0.0",
|
|
38792
38797
|
"term-size": "^3.0.1",
|
|
38793
38798
|
"terminal-link": "^3.0.0",
|
|
38794
|
-
vitest: "0.
|
|
38799
|
+
vitest: "0.8.1",
|
|
38795
38800
|
zod: "^3.14.3"
|
|
38796
38801
|
};
|
|
38797
38802
|
var cliKitPackageJson = {
|
|
@@ -38816,9 +38821,9 @@ var cliKitPackageJson = {
|
|
|
38816
38821
|
devDependencies: devDependencies
|
|
38817
38822
|
};
|
|
38818
38823
|
|
|
38819
|
-
var version$1 = "1.0.
|
|
38824
|
+
var version$1 = "1.0.4";
|
|
38820
38825
|
|
|
38821
|
-
var version = "1.0.
|
|
38826
|
+
var version = "1.0.4";
|
|
38822
38827
|
|
|
38823
38828
|
const constants = {
|
|
38824
38829
|
environmentVariables: {
|
|
@@ -151516,6 +151521,17 @@ dist.gql`
|
|
|
151516
151521
|
}
|
|
151517
151522
|
`;
|
|
151518
151523
|
|
|
151524
|
+
dist.gql`
|
|
151525
|
+
mutation appUpdate($apiKey: String!, $appUrl: Url!, $redir: [Url]!) {
|
|
151526
|
+
appUpdate(input: {apiKey: $apiKey, applicationUrl: $appUrl, redirectUrlWhitelist: $redir}) {
|
|
151527
|
+
userErrors {
|
|
151528
|
+
message
|
|
151529
|
+
field
|
|
151530
|
+
}
|
|
151531
|
+
}
|
|
151532
|
+
}
|
|
151533
|
+
`;
|
|
151534
|
+
|
|
151519
151535
|
var md5File$1 = {exports: {}};
|
|
151520
151536
|
|
|
151521
151537
|
const crypto = crypto$1;
|