@shopify/cli-kit 0.33.3 → 0.33.7

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @shopify/cli-kit
2
2
 
3
+ ## 0.33.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Add .gitignore to the app template
8
+
9
+ ## 0.33.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Fix create-app fixing the wrong dependency of @shopify/app
14
+
15
+ ## 0.33.5
16
+
17
+ ### Patch Changes
18
+
19
+ - Some fixes with external packages
20
+
3
21
  ## 0.33.3
4
22
 
5
23
  ### Patch Changes
@@ -16,7 +16,6 @@ import url$1, { fileURLToPath, format as format$5 } from 'node:url';
16
16
  import os$7, { arch, userInfo } from 'node:os';
17
17
  import require$$0$a from 'buffer';
18
18
  import require$$0$9, { promisify as promisify$6 } from 'util';
19
- import open from 'open';
20
19
  import fs$H, { promises } from 'node:fs';
21
20
  import require$$0$b from 'constants';
22
21
  import Stream$4, { PassThrough as PassThrough$6, pipeline as pipeline$2 } from 'node:stream';
@@ -34,7 +33,6 @@ import http$4 from 'node:http';
34
33
  import https$2 from 'node:https';
35
34
  import zlib$2 from 'node:zlib';
36
35
  import { isIP } from 'node:net';
37
- import keytar from 'keytar';
38
36
  import require$$0$f from 'punycode';
39
37
 
40
38
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -12912,6 +12910,10 @@ function execa(file, args, options) {
12912
12910
  return mergePromise(spawned, handlePromiseOnce);
12913
12911
  }
12914
12912
 
12913
+ const open = async (url) => {
12914
+ const externalOpen = await import('open');
12915
+ await externalOpen.default(url);
12916
+ };
12915
12917
  const captureOutput = async (command, args) => {
12916
12918
  const result = await execa(command, args);
12917
12919
  return result.stdout;
@@ -12931,9 +12933,9 @@ const exec = async (command, args, options) => {
12931
12933
 
12932
12934
  var system = /*#__PURE__*/Object.freeze({
12933
12935
  __proto__: null,
12936
+ open: open,
12934
12937
  captureOutput: captureOutput,
12935
- exec: exec,
12936
- open: open
12938
+ exec: exec
12937
12939
  });
12938
12940
 
12939
12941
  function normalizeWindowsPath(input = "") {
@@ -40529,7 +40531,7 @@ async function latestNpmPackageVersion(name) {
40529
40531
  return latestVersion(name);
40530
40532
  }
40531
40533
 
40532
- var version$2 = /*#__PURE__*/Object.freeze({
40534
+ var version$3 = /*#__PURE__*/Object.freeze({
40533
40535
  __proto__: null,
40534
40536
  latestNpmPackageVersion: latestNpmPackageVersion
40535
40537
  });
@@ -40594,7 +40596,7 @@ function isTruthy(variable) {
40594
40596
  }
40595
40597
 
40596
40598
  var name = "@shopify/cli-kit";
40597
- var version$1 = "0.33.3";
40599
+ var version$2 = "0.33.7";
40598
40600
  var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
40599
40601
  var keywords = [
40600
40602
  "shopify",
@@ -40642,6 +40644,8 @@ var os$1 = [
40642
40644
  "win32"
40643
40645
  ];
40644
40646
  var dependencies$1 = {
40647
+ open: "^8.4.0",
40648
+ keytar: "^7.9.0"
40645
40649
  };
40646
40650
  var devDependencies = {
40647
40651
  "ansi-colors": "^4.1.1",
@@ -40656,8 +40660,6 @@ var devDependencies = {
40656
40660
  "fs-extra": "^10.0.0",
40657
40661
  graphql: "^16.3.0",
40658
40662
  "graphql-request": "^4.0.0",
40659
- keytar: "^7.9.0",
40660
- open: "^8.4.0",
40661
40663
  "latest-version": "^6.0.0",
40662
40664
  liquidjs: "^9.35.1",
40663
40665
  listr2: "^4.0.2",
@@ -40673,7 +40675,7 @@ var devDependencies = {
40673
40675
  };
40674
40676
  var cliKitPackageJson = {
40675
40677
  name: name,
40676
- version: version$1,
40678
+ version: version$2,
40677
40679
  "private": false,
40678
40680
  description: description$1,
40679
40681
  keywords: keywords,
@@ -40693,7 +40695,9 @@ var cliKitPackageJson = {
40693
40695
  devDependencies: devDependencies
40694
40696
  };
40695
40697
 
40696
- var version = "0.33.3";
40698
+ var version$1 = "0.33.7";
40699
+
40700
+ var version = "0.33.7";
40697
40701
 
40698
40702
  const constants = {
40699
40703
  environmentVariables: {
@@ -40715,8 +40719,9 @@ const constants = {
40715
40719
  }
40716
40720
  },
40717
40721
  versions: {
40718
- cliKit: version$1,
40719
- cli: version
40722
+ cliKit: version$2,
40723
+ cli: version$1,
40724
+ app: version
40720
40725
  },
40721
40726
  keychain: {
40722
40727
  service: "shopify-cli"
@@ -45849,7 +45854,7 @@ class Body$1 {
45849
45854
  return formData;
45850
45855
  }
45851
45856
 
45852
- const {toFormData} = await import('./multipart-parser-9f3ad812.js');
45857
+ const {toFormData} = await import('./multipart-parser-3a1f9182.js');
45853
45858
  return toFormData(this.body, ct);
45854
45859
  }
45855
45860
 
@@ -47833,14 +47838,17 @@ const SessionSchema = external.object({}).catchall(external.object({
47833
47838
  }));
47834
47839
 
47835
47840
  async function fetch$2(identifier) {
47841
+ const keytar = await import('keytar');
47836
47842
  const content = await keytar.getPassword(constants.keychain.service, identifier);
47837
47843
  return content;
47838
47844
  }
47839
47845
  async function store$2(identifier, content) {
47840
- await keytar.setPassword(constants.keychain.service, identifier, content);
47846
+ const keytar = await import('keytar');
47847
+ await keytar.default.setPassword(constants.keychain.service, identifier, content);
47841
47848
  }
47842
47849
  async function remove$1(identifier) {
47843
- const result = await keytar.deletePassword(constants.keychain.service, identifier);
47850
+ const keytar = await import('keytar');
47851
+ const result = await keytar.default.deletePassword(constants.keychain.service, identifier);
47844
47852
  return result;
47845
47853
  }
47846
47854
 
@@ -154730,5 +154738,5 @@ var checksum = /*#__PURE__*/Object.freeze({
154730
154738
  validateMD5: validateMD5
154731
154739
  });
154732
154740
 
154733
- export { FormData$2 as F, File$1 as a, string as b, os$2 as c, dependency as d, error$k as e, file$1 as f, environment as g, session as h, schema$1 as i, toml as j, store as k, api as l, http$1 as m, checksum as n, output$1 as o, path$q as p, constants as q, system as s, template as t, ui as u, version$2 as v };
154734
- //# sourceMappingURL=index-382efd3c.js.map
154741
+ export { FormData$2 as F, File$1 as a, string as b, os$2 as c, dependency as d, error$k as e, file$1 as f, environment as g, session as h, schema$1 as i, toml as j, store as k, api as l, http$1 as m, checksum as n, output$1 as o, path$q as p, constants as q, system as s, template as t, ui as u, version$3 as v };
154742
+ //# sourceMappingURL=index-b4099f4f.js.map