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