@madebyseed/seed-cli-tools 2.3.1 → 2.4.0

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.
Files changed (100) hide show
  1. package/lib/commands/build.d.ts +2 -0
  2. package/lib/commands/build.js +30 -29
  3. package/lib/commands/build.js.map +1 -0
  4. package/lib/commands/deploy.d.ts +2 -0
  5. package/lib/commands/deploy.js +42 -30
  6. package/lib/commands/deploy.js.map +1 -0
  7. package/lib/commands/pull.d.ts +2 -0
  8. package/lib/commands/pull.js +39 -29
  9. package/lib/commands/pull.js.map +1 -0
  10. package/lib/commands/watch.d.ts +2 -0
  11. package/lib/commands/watch.js +44 -40
  12. package/lib/commands/watch.js.map +1 -0
  13. package/lib/commands/zip.d.ts +2 -0
  14. package/lib/commands/zip.js +23 -25
  15. package/lib/commands/zip.js.map +1 -0
  16. package/lib/config.d.ts +3 -0
  17. package/lib/config.js +21 -28
  18. package/lib/config.js.map +1 -0
  19. package/lib/gulpfile.d.ts +1 -0
  20. package/lib/gulpfile.js +26 -33
  21. package/lib/gulpfile.js.map +1 -0
  22. package/lib/tasks/build-assets.d.ts +1 -0
  23. package/lib/tasks/build-assets.js +80 -72
  24. package/lib/tasks/build-assets.js.map +1 -0
  25. package/lib/tasks/build-css.d.ts +1 -0
  26. package/lib/tasks/build-css.js +88 -82
  27. package/lib/tasks/build-css.js.map +1 -0
  28. package/lib/tasks/build-js.d.ts +1 -0
  29. package/lib/tasks/build-js.js +77 -83
  30. package/lib/tasks/build-js.js.map +1 -0
  31. package/lib/tasks/build-svg.d.ts +1 -0
  32. package/lib/tasks/build-svg.js +51 -54
  33. package/lib/tasks/build-svg.js.map +1 -0
  34. package/lib/tasks/build-utils.d.ts +1 -0
  35. package/lib/tasks/build-utils.js +68 -49
  36. package/lib/tasks/build-utils.js.map +1 -0
  37. package/lib/tasks/includes/config.d.ts +70 -0
  38. package/lib/tasks/includes/config.js +117 -163
  39. package/lib/tasks/includes/config.js.map +1 -0
  40. package/lib/tasks/includes/messages.d.ts +19 -0
  41. package/lib/tasks/includes/messages.js +80 -72
  42. package/lib/tasks/includes/messages.js.map +1 -0
  43. package/lib/tasks/includes/utilities.d.ts +71 -0
  44. package/lib/tasks/includes/utilities.js +127 -141
  45. package/lib/tasks/includes/utilities.js.map +1 -0
  46. package/lib/tasks/shopify-cli.d.ts +1 -0
  47. package/lib/tasks/shopify-cli.js +106 -93
  48. package/lib/tasks/shopify-cli.js.map +1 -0
  49. package/lib/tasks/watchers.d.ts +1 -0
  50. package/lib/tasks/watchers.js +29 -29
  51. package/lib/tasks/watchers.js.map +1 -0
  52. package/lib/types.d.ts +48 -0
  53. package/lib/types.js +3 -0
  54. package/lib/types.js.map +1 -0
  55. package/lib/utils.d.ts +90 -0
  56. package/lib/utils.js +194 -189
  57. package/lib/utils.js.map +1 -0
  58. package/package.json +36 -16
  59. package/src/commands/build.ts +39 -0
  60. package/src/commands/deploy.ts +70 -0
  61. package/src/commands/pull.ts +58 -0
  62. package/src/commands/watch.ts +72 -0
  63. package/src/commands/zip.ts +28 -0
  64. package/src/config.ts +28 -0
  65. package/src/gulpfile.ts +134 -0
  66. package/src/tasks/build-assets.ts +135 -0
  67. package/src/tasks/build-css.ts +129 -0
  68. package/src/tasks/build-js.ts +108 -0
  69. package/src/tasks/build-svg.ts +92 -0
  70. package/src/tasks/build-utils.ts +137 -0
  71. package/src/tasks/includes/config.ts +222 -0
  72. package/src/tasks/includes/messages.ts +157 -0
  73. package/src/tasks/includes/utilities.ts +170 -0
  74. package/src/tasks/shopify-cli.ts +197 -0
  75. package/src/tasks/watchers.ts +50 -0
  76. package/src/types/declarations.d.ts +72 -0
  77. package/src/types.ts +74 -0
  78. package/src/utils.ts +304 -0
  79. package/{src → src-legacy}/tasks/build-js.js +5 -6
  80. package/tsconfig.json +14 -0
  81. package/tsconfig.tsbuildinfo +1 -0
  82. package/.babelrc +0 -3
  83. package/.eslintrc +0 -8
  84. /package/{src → src-legacy}/commands/build.js +0 -0
  85. /package/{src → src-legacy}/commands/deploy.js +0 -0
  86. /package/{src → src-legacy}/commands/pull.js +0 -0
  87. /package/{src → src-legacy}/commands/watch.js +0 -0
  88. /package/{src → src-legacy}/commands/zip.js +0 -0
  89. /package/{src → src-legacy}/config.js +0 -0
  90. /package/{src → src-legacy}/gulpfile.js +0 -0
  91. /package/{src → src-legacy}/tasks/build-assets.js +0 -0
  92. /package/{src → src-legacy}/tasks/build-css.js +0 -0
  93. /package/{src → src-legacy}/tasks/build-svg.js +0 -0
  94. /package/{src → src-legacy}/tasks/build-utils.js +0 -0
  95. /package/{src → src-legacy}/tasks/includes/config.js +0 -0
  96. /package/{src → src-legacy}/tasks/includes/messages.js +0 -0
  97. /package/{src → src-legacy}/tasks/includes/utilities.js +0 -0
  98. /package/{src → src-legacy}/tasks/shopify-cli.js +0 -0
  99. /package/{src → src-legacy}/tasks/watchers.js +0 -0
  100. /package/{src → src-legacy}/utils.js +0 -0
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export default function (program: Command): void;
@@ -1,31 +1,32 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
-
8
- var _crossSpawn = _interopRequireDefault(require("cross-spawn"));
9
-
10
- var _debug = _interopRequireDefault(require("debug"));
11
-
12
- var _config = _interopRequireDefault(require("../config"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var logger = (0, _debug["default"])("seed-tools:deploy");
17
-
18
- function _default(program) {
19
- program.command("build").alias("b").description("Builds ./src files into dist folder").option("-s, --skip-optimizations", "Skips asset optimization steps such as compression, minification and purging.", false).action(function () {
20
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
21
- logger("--gulpfile ".concat(_config["default"].gulpFile));
22
- logger("--cwd ".concat(_config["default"].themeRoot));
23
- var args = ["build"];
24
- if (options.skipOptimizations) args.push('--skip-optimizations');
25
- if (!options.skipOptimizations) process.env.NODE_ENV = "production";
26
- (0, _crossSpawn["default"])(_config["default"].gulp, args.concat(["--gulpfile", _config["default"].gulpFile, "--cwd", _config["default"].themeRoot]), {
27
- detached: false,
28
- stdio: "inherit"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
7
+ const cross_spawn_1 = __importDefault(require("cross-spawn"));
8
+ const debug_1 = __importDefault(require("debug"));
9
+ const config_1 = __importDefault(require("../config"));
10
+ const logger = (0, debug_1.default)("seed-tools:deploy");
11
+ function default_1(program) {
12
+ program
13
+ .command("build")
14
+ .alias("b")
15
+ .description("Builds ./src files into dist folder")
16
+ .option("-s, --skip-optimizations", "Skips asset optimization steps such as compression, minification and purging.", false)
17
+ .action((options = {}) => {
18
+ logger(`--gulpfile ${config_1.default.gulpFile}`);
19
+ logger(`--cwd ${config_1.default.themeRoot}`);
20
+ const args = ["build"];
21
+ if (options.skipOptimizations)
22
+ args.push("--skip-optimizations");
23
+ if (!options.skipOptimizations) {
24
+ process.env.NODE_ENV = "production";
25
+ }
26
+ (0, cross_spawn_1.default)(config_1.default.gulp, args.concat(["--gulpfile", config_1.default.gulpFile, "--cwd", config_1.default.themeRoot]), {
27
+ detached: false,
28
+ stdio: "inherit",
29
+ });
29
30
  });
30
- });
31
- }
31
+ }
32
+ //# sourceMappingURL=build.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":";;;;;AAWA,4BA2BC;AAtCD,8DAAgC;AAChC,kDAA0B;AAE1B,uDAA+B;AAE/B,MAAM,MAAM,GAAG,IAAA,eAAK,EAAC,mBAAmB,CAAC,CAAC;AAM1C,mBAAyB,OAAgB;IACvC,OAAO;SACJ,OAAO,CAAC,OAAO,CAAC;SAChB,KAAK,CAAC,GAAG,CAAC;SACV,WAAW,CAAC,qCAAqC,CAAC;SAClD,MAAM,CACL,0BAA0B,EAC1B,+EAA+E,EAC/E,KAAK,CACN;SACA,MAAM,CAAC,CAAC,UAAwB,EAAE,EAAE,EAAE;QACrC,MAAM,CAAC,cAAc,gBAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,SAAS,gBAAM,CAAC,SAAS,EAAE,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;QAEvB,IAAI,OAAO,CAAC,iBAAiB;YAAE,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAEjE,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;YAC/B,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,YAAY,CAAC;QACtC,CAAC;QAED,IAAA,qBAAK,EAAC,gBAAM,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,EAAE,gBAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAM,CAAC,SAAS,CAAC,CAAC,EAAE;YAC1F,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export default function (program: Command): void;
@@ -1,32 +1,44 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
-
8
- var _crossSpawn = _interopRequireDefault(require("cross-spawn"));
9
-
10
- var _debug = _interopRequireDefault(require("debug"));
11
-
12
- var _config = _interopRequireDefault(require("../config"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var logger = (0, _debug["default"])("seed-tools:deploy");
17
-
18
- function _default(program) {
19
- program.command("deploy").alias("d").description("Runs a full deploy of your theme's code to a Shopify store specified in seed.config.js. This runs shopify theme push with the --nodelete flag, so that files aren't deleted.").option("-e, --env <environment>", "Shopify theme to deploy code to (specified in seed.config.js)", "development").option("-st, --store <store>", "Shopify store(s) to deploy code to (specified in seed.config.js)").option("-n, --no-dev", "Skips pulling theme settings from local development theme", false).option("-s, --skip-optimizations", "Skips asset optimization steps such as compression, minification and purging.", false).option("-d, --delete", "By default seed deploy runs 'shopify theme push --nodelete'. With this option it will leave out the --no-delete flag, allowind files to be delete in store theme.", false).action(function () {
20
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
21
- logger("--gulpfile ".concat(_config["default"].gulpFile));
22
- logger("--cwd ".concat(_config["default"].themeRoot));
23
- var args = [options.dev ? "deploy" : "deploy:no-sync", "--environment", options.env, "--store", options.store];
24
- if (options.skipOptimizations) args.push("--skip-optimizations");
25
- if (options["delete"]) args.push("--delete");
26
- if (!options.skipOptimizations) process.env.NODE_ENV = "production";
27
- (0, _crossSpawn["default"])(_config["default"].gulp, args.concat(["--gulpfile", _config["default"].gulpFile, "--cwd", _config["default"].themeRoot]), {
28
- detached: false,
29
- stdio: "inherit"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
7
+ const cross_spawn_1 = __importDefault(require("cross-spawn"));
8
+ const debug_1 = __importDefault(require("debug"));
9
+ const config_1 = __importDefault(require("../config"));
10
+ const logger = (0, debug_1.default)("seed-tools:deploy");
11
+ function default_1(program) {
12
+ program
13
+ .command("deploy")
14
+ .alias("d")
15
+ .description("Runs a full deploy of your theme's code to a Shopify store specified in seed.config.js. This runs shopify theme push with the --nodelete flag, so that files aren't deleted.")
16
+ .option("-e, --env <environment>", "Shopify theme to deploy code to (specified in seed.config.js)", "development")
17
+ .option("-st, --store <store>", "Shopify store(s) to deploy code to (specified in seed.config.js)")
18
+ .option("-n, --no-dev", "Skips pulling theme settings from local development theme", false)
19
+ .option("-s, --skip-optimizations", "Skips asset optimization steps such as compression, minification and purging.", false)
20
+ .option("-d, --delete", "By default seed deploy runs 'shopify theme push --nodelete'. With this option it will leave out the --no-delete flag, allowing files to be delete in store theme.", false)
21
+ .action((options = {}) => {
22
+ logger(`--gulpfile ${config_1.default.gulpFile}`);
23
+ logger(`--cwd ${config_1.default.themeRoot}`);
24
+ const args = [
25
+ options.dev ? "deploy" : "deploy:no-sync",
26
+ "--environment",
27
+ options.env,
28
+ "--store",
29
+ options.store,
30
+ ];
31
+ if (options.skipOptimizations)
32
+ args.push("--skip-optimizations");
33
+ if (options.delete)
34
+ args.push("--delete");
35
+ if (!options.skipOptimizations)
36
+ process.env.NODE_ENV = "production";
37
+ // @ts-ignore
38
+ (0, cross_spawn_1.default)(config_1.default.gulp, args.concat(["--gulpfile", config_1.default.gulpFile, "--cwd", config_1.default.themeRoot]), {
39
+ detached: false,
40
+ stdio: "inherit",
41
+ });
30
42
  });
31
- });
32
- }
43
+ }
44
+ //# sourceMappingURL=deploy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":";;;;;AAeA,4BAsDC;AArED,8DAAgC;AAChC,kDAA0B;AAE1B,uDAA+B;AAE/B,MAAM,MAAM,GAAG,IAAA,eAAK,EAAC,mBAAmB,CAAC,CAAC;AAU1C,mBAAyB,OAAgB;IACvC,OAAO;SACJ,OAAO,CAAC,QAAQ,CAAC;SACjB,KAAK,CAAC,GAAG,CAAC;SACV,WAAW,CACV,8KAA8K,CAC/K;SACA,MAAM,CACL,yBAAyB,EACzB,+DAA+D,EAC/D,aAAa,CACd;SACA,MAAM,CACL,sBAAsB,EACtB,kEAAkE,CACnE;SACA,MAAM,CACL,cAAc,EACd,2DAA2D,EAC3D,KAAK,CACN;SACA,MAAM,CACL,0BAA0B,EAC1B,+EAA+E,EAC/E,KAAK,CACN;SACA,MAAM,CACL,cAAc,EACd,mKAAmK,EACnK,KAAK,CACN;SACA,MAAM,CAAC,CAAC,UAAyB,EAAE,EAAE,EAAE;QACtC,MAAM,CAAC,cAAc,gBAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,SAAS,gBAAM,CAAC,SAAS,EAAE,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG;YACX,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB;YACzC,eAAe;YACf,OAAO,CAAC,GAAG;YACX,SAAS;YACT,OAAO,CAAC,KAAK;SACd,CAAC;QAEF,IAAI,OAAO,CAAC,iBAAiB;YAAE,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACjE,IAAI,OAAO,CAAC,MAAM;YAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE1C,IAAI,CAAC,OAAO,CAAC,iBAAiB;YAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,YAAY,CAAC;QAEpE,aAAa;QACb,IAAA,qBAAK,EAAC,gBAAM,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,EAAE,gBAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAM,CAAC,SAAS,CAAC,CAAC,EAAE;YAC1F,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export default function (program: Command): void;
@@ -1,31 +1,41 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
-
8
- var _crossSpawn = _interopRequireDefault(require("cross-spawn"));
9
-
10
- var _debug = _interopRequireDefault(require("debug"));
11
-
12
- var _config = _interopRequireDefault(require("../config"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var logger = (0, _debug["default"])("seed-tools:deploy");
17
-
18
- function _default(program) {
19
- program.command("pull").alias("p").description("Pulls the specified theme into your src folder. By default, it only pulls theme settings, if you want to pull all files use the --all flag.").option("-e, --env <environment>[,<environment>...]", "Shopify store(s) to deploy code to (specified in seed.config.js)", "development").option("-st, --store <store>", "Shopify store(s) to deploy code to (specified in seed.config.js)").option("-a, --all", "Pulls all files from specified theme", false).option("-d, --delete", "By default seed pull doesn't delete any files in you src folder, with this options it will delete any files that diverge from the pulled theme.", false).action(function () {
20
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
21
- logger("--gulpfile ".concat(_config["default"].gulpFile));
22
- logger("--cwd ".concat(_config["default"].themeRoot));
23
- var args = [options.all ? "pull" : "pull:settings", "--environment", options.env, "--store", options.store];
24
- if (options.all) args.push("--all");
25
- if (options["delete"]) args.push("--delete");
26
- (0, _crossSpawn["default"])(_config["default"].gulp, args.concat(["--gulpfile", _config["default"].gulpFile, "--cwd", _config["default"].themeRoot]), {
27
- detached: false,
28
- stdio: "inherit"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
7
+ const cross_spawn_1 = __importDefault(require("cross-spawn"));
8
+ const debug_1 = __importDefault(require("debug"));
9
+ const config_1 = __importDefault(require("../config"));
10
+ const logger = (0, debug_1.default)("seed-tools:deploy");
11
+ function default_1(program) {
12
+ program
13
+ .command("pull")
14
+ .alias("p")
15
+ .description("Pulls the specified theme into your src folder. By default, it only pulls theme settings, if you want to pull all files use the --all flag.")
16
+ .option("-e, --env <environment>[,<environment>...]", "Shopify store(s) to deploy code to (specified in seed.config.js)", "development")
17
+ .option("-st, --store <store>", "Shopify store(s) to deploy code to (specified in seed.config.js)")
18
+ .option("-a, --all", "Pulls all files from specified theme", false)
19
+ .option("-d, --delete", "By default seed pull doesn't delete any files in you src folder, with this options it will delete any files that diverge from the pulled theme.", false)
20
+ .action((options = {}) => {
21
+ logger(`--gulpfile ${config_1.default.gulpFile}`);
22
+ logger(`--cwd ${config_1.default.themeRoot}`);
23
+ const args = [
24
+ options.all ? "pull" : "pull:settings",
25
+ "--environment",
26
+ options.env,
27
+ "--store",
28
+ options.store,
29
+ ];
30
+ if (options.all)
31
+ args.push("--all");
32
+ if (options.delete)
33
+ args.push("--delete");
34
+ // @ts-ignore
35
+ (0, cross_spawn_1.default)(config_1.default.gulp, args.concat(["--gulpfile", config_1.default.gulpFile, "--cwd", config_1.default.themeRoot]), {
36
+ detached: false,
37
+ stdio: "inherit",
38
+ });
29
39
  });
30
- });
31
- }
40
+ }
41
+ //# sourceMappingURL=pull.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pull.js","sourceRoot":"","sources":["../../src/commands/pull.ts"],"names":[],"mappings":";;;;;AAcA,4BA2CC;AAzDD,8DAAgC;AAChC,kDAA0B;AAE1B,uDAA+B;AAE/B,MAAM,MAAM,GAAG,IAAA,eAAK,EAAC,mBAAmB,CAAC,CAAC;AAS1C,mBAAyB,OAAgB;IACvC,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,KAAK,CAAC,GAAG,CAAC;SACV,WAAW,CACV,6IAA6I,CAC9I;SACA,MAAM,CACL,4CAA4C,EAC5C,kEAAkE,EAClE,aAAa,CACd;SACA,MAAM,CACL,sBAAsB,EACtB,kEAAkE,CACnE;SACA,MAAM,CAAC,WAAW,EAAE,sCAAsC,EAAE,KAAK,CAAC;SAClE,MAAM,CACL,cAAc,EACd,iJAAiJ,EACjJ,KAAK,CACN;SACA,MAAM,CAAC,CAAC,UAAuB,EAAE,EAAE,EAAE;QACpC,MAAM,CAAC,cAAc,gBAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,SAAS,gBAAM,CAAC,SAAS,EAAE,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG;YACX,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe;YACtC,eAAe;YACf,OAAO,CAAC,GAAG;YACX,SAAS;YACT,OAAO,CAAC,KAAK;SACd,CAAC;QAEF,IAAI,OAAO,CAAC,GAAG;YAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,OAAO,CAAC,MAAM;YAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE1C,aAAa;QACb,IAAA,qBAAK,EAAC,gBAAM,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,EAAE,gBAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAM,CAAC,SAAS,CAAC,CAAC,EAAE;YAC1F,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export default function (program: Command): void;
@@ -1,42 +1,46 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
-
8
- var _crossSpawn = _interopRequireDefault(require("cross-spawn"));
9
-
10
- var _debug = _interopRequireDefault(require("debug"));
11
-
12
- var _config = _interopRequireDefault(require("../config"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var logger = (0, _debug["default"])("seed-tools:watch");
17
-
18
- function _default(program) {
19
- program.command("watch").alias("w").description("Watches files for code changes and immediately deploys updates to dev theme as they occur. " + "This uses shopify theme serve under the hood.").option("-s, --store <store>", "Used for multi-store projects, specify the store to run the watch command for.", false).option("-sp, --store-password <password>", "Used for store password protected stores.", false).option("-o, --optimize", "Optimizes assets by compressing, minifying and purging.", false).action(function () {
20
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
21
- logger("--gulpfile ".concat(_config["default"].gulpFile));
22
- logger("--cwd ".concat(_config["default"].themeRoot));
23
- var gulpArgs = ["watch", "--gulpfile", _config["default"].gulpFile, "--cwd", _config["default"].themeRoot, "--environment", options.env];
24
-
25
- if (options.store) {
26
- gulpArgs.push("--store");
27
- gulpArgs.push(options.store);
28
- }
29
-
30
- if (options.storePassword) {
31
- gulpArgs.push("--store-password");
32
- gulpArgs.push(options.storePassword);
33
- }
34
-
35
- if (!options.optimize) gulpArgs.push("--skip-optimizations");
36
- process.env.NODE_ENV = options.optimize ? "production" : "development";
37
- (0, _crossSpawn["default"])(_config["default"].gulp, gulpArgs, {
38
- detached: false,
39
- stdio: "inherit"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
7
+ const cross_spawn_1 = __importDefault(require("cross-spawn"));
8
+ const debug_1 = __importDefault(require("debug"));
9
+ const config_1 = __importDefault(require("../config"));
10
+ const logger = (0, debug_1.default)("seed-tools:watch");
11
+ function default_1(program) {
12
+ program
13
+ .command("watch")
14
+ .alias("w")
15
+ .description("Watches files for code changes and immediately deploys updates to dev theme as they occur. " +
16
+ "This uses shopify theme serve under the hood.")
17
+ .option("-s, --store <store>", "Used for multi-store projects, specify the store to run the watch command for.", false)
18
+ .option("-sp, --store-password <password>", "Used for store password protected stores.", false)
19
+ .option("-o, --optimize", "Optimizes assets by compressing, minifying and purging.", false)
20
+ .action((options = {}) => {
21
+ logger(`--gulpfile ${config_1.default.gulpFile}`);
22
+ logger(`--cwd ${config_1.default.themeRoot}`);
23
+ const args = ["watch"];
24
+ if (options.store) {
25
+ args.push("--store", options.store);
26
+ }
27
+ if (options.storePassword) {
28
+ args.push("--store-password", options.storePassword);
29
+ }
30
+ if (!options.optimize)
31
+ args.push("--skip-optimizations");
32
+ process.env.NODE_ENV = options.optimize ? "production" : "development";
33
+ (0, cross_spawn_1.default)(config_1.default.gulp, args.concat([
34
+ "--gulpfile",
35
+ config_1.default.gulpFile,
36
+ "--cwd",
37
+ config_1.default.themeRoot,
38
+ "--environment",
39
+ options.env || "development",
40
+ ]), {
41
+ detached: false,
42
+ stdio: "inherit",
43
+ });
40
44
  });
41
- });
42
- }
45
+ }
46
+ //# sourceMappingURL=watch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"watch.js","sourceRoot":"","sources":["../../src/commands/watch.ts"],"names":[],"mappings":";;;;;AAcA,4BAyDC;AAvED,8DAAgC;AAChC,kDAA0B;AAE1B,uDAA+B;AAE/B,MAAM,MAAM,GAAG,IAAA,eAAK,EAAC,kBAAkB,CAAC,CAAC;AASzC,mBAAyB,OAAgB;IACvC,OAAO;SACJ,OAAO,CAAC,OAAO,CAAC;SAChB,KAAK,CAAC,GAAG,CAAC;SACV,WAAW,CACV,6FAA6F;QAC3F,+CAA+C,CAClD;SACA,MAAM,CACL,qBAAqB,EACrB,gFAAgF,EAChF,KAAK,CACN;SACA,MAAM,CACL,kCAAkC,EAClC,2CAA2C,EAC3C,KAAK,CACN;SACA,MAAM,CACL,gBAAgB,EAChB,yDAAyD,EACzD,KAAK,CACN;SACA,MAAM,CAAC,CAAC,UAAwB,EAAE,EAAE,EAAE;QACrC,MAAM,CAAC,cAAc,gBAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,SAAS,gBAAM,CAAC,SAAS,EAAE,CAAC,CAAC;QAEpC,MAAM,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;QAEvB,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;YAC1B,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;QACvD,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,QAAQ;YAAE,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAEzD,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC;QAEvE,IAAA,qBAAK,EACH,gBAAM,CAAC,IAAI,EACX,IAAI,CAAC,MAAM,CAAC;YACV,YAAY;YACZ,gBAAM,CAAC,QAAQ;YACf,OAAO;YACP,gBAAM,CAAC,SAAS;YAChB,eAAe;YACf,OAAO,CAAC,GAAG,IAAI,aAAa;SAC7B,CAAC,EACF;YACE,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,SAAS;SACjB,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Command } from "commander";
2
+ export default function (program: Command): void;
@@ -1,27 +1,25 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = _default;
7
-
8
- var _crossSpawn = _interopRequireDefault(require("cross-spawn"));
9
-
10
- var _debug = _interopRequireDefault(require("debug"));
11
-
12
- var _config = _interopRequireDefault(require("../config"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var logger = (0, _debug["default"])("seed-tools:zip");
17
-
18
- function _default(program) {
19
- program.command("zip").alias("z").description("Rebuilds the theme's source files and compresses the output. The compressed file is written to <theme>/upload/<theme>.zip (can be used for manual upload).").action(function () {
20
- logger("--gulpfile ".concat(_config["default"].gulpFile));
21
- logger("--cwd ".concat(_config["default"].themeRoot));
22
- (0, _crossSpawn["default"])(_config["default"].gulp, ["zip", "--gulpfile", _config["default"].gulpFile, "--cwd", _config["default"].themeRoot], {
23
- detached: false,
24
- stdio: "inherit"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
7
+ const cross_spawn_1 = __importDefault(require("cross-spawn"));
8
+ const debug_1 = __importDefault(require("debug"));
9
+ const config_1 = __importDefault(require("../config"));
10
+ const logger = (0, debug_1.default)("seed-tools:zip");
11
+ function default_1(program) {
12
+ program
13
+ .command("zip")
14
+ .alias("z")
15
+ .description("Rebuilds the theme's source files and compresses the output. The compressed file is written to <theme>/upload/<theme>.zip (can be used for manual upload).")
16
+ .action(() => {
17
+ logger(`--gulpfile ${config_1.default.gulpFile}`);
18
+ logger(`--cwd ${config_1.default.themeRoot}`);
19
+ (0, cross_spawn_1.default)(config_1.default.gulp, ["zip", "--gulpfile", config_1.default.gulpFile, "--cwd", config_1.default.themeRoot], {
20
+ detached: false,
21
+ stdio: "inherit",
22
+ });
25
23
  });
26
- });
27
- }
24
+ }
25
+ //# sourceMappingURL=zip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/commands/zip.ts"],"names":[],"mappings":";;;;;AAOA,4BAoBC;AA3BD,8DAAgC;AAChC,kDAA0B;AAE1B,uDAA+B;AAE/B,MAAM,MAAM,GAAG,IAAA,eAAK,EAAC,gBAAgB,CAAC,CAAC;AAEvC,mBAAyB,OAAgB;IACvC,OAAO;SACJ,OAAO,CAAC,KAAK,CAAC;SACd,KAAK,CAAC,GAAG,CAAC;SACV,WAAW,CACV,4JAA4J,CAC7J;SACA,MAAM,CAAC,GAAG,EAAE;QACX,MAAM,CAAC,cAAc,gBAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,CAAC,SAAS,gBAAM,CAAC,SAAS,EAAE,CAAC,CAAC;QAEpC,IAAA,qBAAK,EACH,gBAAM,CAAC,IAAI,EACX,CAAC,KAAK,EAAE,YAAY,EAAE,gBAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,gBAAM,CAAC,SAAS,CAAC,EACjE;YACE,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,SAAS;SACjB,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Config } from "./types";
2
+ declare const config: Config;
3
+ export default config;
package/lib/config.js CHANGED
@@ -1,30 +1,23 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _path = require("path");
9
-
10
- var _fs = require("fs");
11
-
12
- var _findRoot = _interopRequireDefault(require("find-root"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- var workingDirectory = process.cwd();
17
- var currentDirectory = __dirname;
18
- var themeRoot = (0, _findRoot["default"])(workingDirectory);
19
- var defaultGulpPath = (0, _path.join)(themeRoot, (0, _path.normalize)("node_modules/.bin/gulp")); // Legacy path for older versions of Node.
20
-
21
- var legacyGulpPath = (0, _path.join)(themeRoot, (0, _path.normalize)("node_modules/@madebyseed/seed-cli-tools/node_modules/.bin/gulp"));
22
- var config = {
23
- gulpFile: (0, _path.join)(currentDirectory, "gulpfile.js"),
24
- gulp: (0, _fs.existsSync)(defaultGulpPath) ? defaultGulpPath : legacyGulpPath,
25
- themeRoot: themeRoot,
26
- seedConfig: (0, _path.join)(themeRoot, "seed.config.js"),
27
- seedConfigDelimiter: "/** === delimiter */"
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
28
4
  };
29
- var _default = config;
30
- exports["default"] = _default;
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const path_1 = require("path");
7
+ const fs_1 = require("fs");
8
+ const find_root_1 = __importDefault(require("find-root"));
9
+ const workingDirectory = process.cwd();
10
+ const currentDirectory = __dirname;
11
+ const themeRoot = (0, find_root_1.default)(workingDirectory);
12
+ const defaultGulpPath = (0, path_1.join)(themeRoot, (0, path_1.normalize)("node_modules/.bin/gulp"));
13
+ // Legacy path for older versions of Node.
14
+ const legacyGulpPath = (0, path_1.join)(themeRoot, (0, path_1.normalize)("node_modules/@madebyseed/seed-cli-tools/node_modules/.bin/gulp"));
15
+ const config = {
16
+ gulpFile: (0, path_1.join)(currentDirectory, "gulpfile.js"),
17
+ gulp: (0, fs_1.existsSync)(defaultGulpPath) ? defaultGulpPath : legacyGulpPath,
18
+ themeRoot,
19
+ seedConfig: (0, path_1.join)(themeRoot, "seed.config.js"),
20
+ seedConfigDelimiter: "/** === delimiter */",
21
+ };
22
+ exports.default = config;
23
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;;;AAAA,+BAAuC;AACvC,2BAAgC;AAChC,0DAAiC;AAGjC,MAAM,gBAAgB,GAAW,OAAO,CAAC,GAAG,EAAE,CAAC;AAC/C,MAAM,gBAAgB,GAAW,SAAS,CAAC;AAE3C,MAAM,SAAS,GAAW,IAAA,mBAAQ,EAAC,gBAAgB,CAAC,CAAC;AACrD,MAAM,eAAe,GAAW,IAAA,WAAI,EAClC,SAAS,EACT,IAAA,gBAAS,EAAC,wBAAwB,CAAC,CACpC,CAAC;AACF,0CAA0C;AAC1C,MAAM,cAAc,GAAW,IAAA,WAAI,EACjC,SAAS,EACT,IAAA,gBAAS,EAAC,gEAAgE,CAAC,CAC5E,CAAC;AAEF,MAAM,MAAM,GAAW;IACrB,QAAQ,EAAE,IAAA,WAAI,EAAC,gBAAgB,EAAE,aAAa,CAAC;IAC/C,IAAI,EAAE,IAAA,eAAU,EAAC,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc;IACpE,SAAS;IACT,UAAU,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,gBAAgB,CAAC;IAC7C,mBAAmB,EAAE,sBAAsB;CAC5C,CAAC;AAEF,kBAAe,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
package/lib/gulpfile.js CHANGED
@@ -1,23 +1,24 @@
1
1
  "use strict";
2
-
3
- var gulp = require("gulp");
4
-
5
- var utils = require('./tasks/includes/utilities.js'); // imports gulp tasks from the `tasks` directory
6
-
7
-
8
- require("require-directory")(module, "./tasks");
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const gulp_1 = __importDefault(require("gulp"));
7
+ const require_directory_1 = __importDefault(require("require-directory"));
8
+ const utilities_1 = __importDefault(require("./tasks/includes/utilities"));
9
+ // Import gulp tasks from the `tasks` directory
10
+ (0, require_directory_1.default)(module, "./tasks");
9
11
  /**
10
12
  * Handles the error summary at the end if there are errors to output.
11
13
  * This task will only be run for the build and zip tasks.
12
14
  */
13
-
14
-
15
- gulp.task('output:errors', function (done) {
16
- if (utils.hasErrors()) {
17
- utils.outputErrors();
18
- } else {
19
- done();
20
- }
15
+ gulp_1.default.task("output:errors", (done) => {
16
+ if (utilities_1.default.hasErrors()) {
17
+ utilities_1.default.outputErrors();
18
+ }
19
+ else {
20
+ done();
21
+ }
21
22
  });
22
23
  /**
23
24
  * Does a full clean/rebuild of your theme
@@ -26,8 +27,7 @@ gulp.task('output:errors', function (done) {
26
27
  * @memberof slate-cli.tasks.build
27
28
  * @static
28
29
  */
29
-
30
- gulp.task("build", gulp.series("clean", gulp.parallel("build:js", "build:vendor-js", "build:css", "build:assets", "build:svg")));
30
+ gulp_1.default.task("build", gulp_1.default.series("clean", gulp_1.default.parallel("build:js", "build:vendor-js", "build:css", "build:assets", "build:svg")));
31
31
  /**
32
32
  * Does a full clean/rebuild of your theme and creates a `.zip` compatible with
33
33
  * shopify.
@@ -36,8 +36,7 @@ gulp.task("build", gulp.series("clean", gulp.parallel("build:js", "build:vendor-
36
36
  * @memberof slate-cli.tasks
37
37
  * @static
38
38
  */
39
-
40
- gulp.task("zip", gulp.series("build", "shopify:package:dist", "copy:zip"));
39
+ gulp_1.default.task("zip", gulp_1.default.series("build", "shopify:package:dist", "copy:zip"));
41
40
  /**
42
41
  * Synchronizes the development theme settings with our src folder theme settings
43
42
  *
@@ -45,8 +44,7 @@ gulp.task("zip", gulp.series("build", "shopify:package:dist", "copy:zip"));
45
44
  * @memberof seed-cli.tasks.deploy
46
45
  * @static
47
46
  */
48
-
49
- gulp.task("sync-settings", gulp.series("generate:tmp", "shopify:pull:dev:tmp", "sync-settings:tmp:src"));
47
+ gulp_1.default.task("sync-settings", gulp_1.default.series("generate:tmp", "shopify:pull:dev:tmp", "sync-settings:tmp:src"));
50
48
  /**
51
49
  * Simple wrapper around src & dist watchers
52
50
  *
@@ -56,17 +54,14 @@ gulp.task("sync-settings", gulp.series("generate:tmp", "shopify:pull:dev:tmp", "
56
54
  * @memberof slate-cli.tasks.watch
57
55
  * @static
58
56
  */
59
-
60
- gulp.task("watch", gulp.series("build", "output:errors", gulp.parallel("watch:src", "watch:dist", "shopify:serve:dist")));
57
+ gulp_1.default.task("watch", gulp_1.default.series("build", "output:errors", gulp_1.default.parallel("watch:src", "watch:dist", "shopify:serve:dist")));
61
58
  /**
62
- *
63
59
  * @summary pulls theme from specified environment theme into src
64
60
  * @function pull
65
61
  * @memberof slate-cli.tasks.deploy
66
62
  * @static
67
63
  */
68
-
69
- gulp.task("pull", gulp.series("shopify:pull:origin:src"));
64
+ gulp_1.default.task("pull", gulp_1.default.series("shopify:pull:origin:src"));
70
65
  /**
71
66
  * Does a full (re)build and push dist files into specified theme environment,
72
67
  * theme using shopify theme push, by default with the --no-delete flag
@@ -76,11 +71,10 @@ gulp.task("pull", gulp.series("shopify:pull:origin:src"));
76
71
  * @memberof slate-cli.tasks.deploy
77
72
  * @static
78
73
  */
79
-
80
- gulp.task("pull:settings", gulp.series("generate:tmp", "shopify:pull:origin:tmp", "sync-settings:tmp:src", "clean"));
74
+ gulp_1.default.task("pull:settings", gulp_1.default.series("generate:tmp", "shopify:pull:origin:tmp", "sync-settings:tmp:src", "clean"));
81
75
  /**
82
76
  * Synchronizes src folder theme settings with local development theme settings,
83
- * then proceeds to do a full (re)build and push files into specified theme
77
+ * then proceeds to do a full (re)build and push files into specified theme
84
78
  * environment theme using shopify theme push, by default with the --no-delete flag
85
79
  *
86
80
  * @summary Deploy your built files to the Shopify Store set in
@@ -89,8 +83,7 @@ gulp.task("pull:settings", gulp.series("generate:tmp", "shopify:pull:origin:tmp"
89
83
  * @memberof slate-cli.tasks.deploy
90
84
  * @static
91
85
  */
92
-
93
- gulp.task("deploy", gulp.series("sync-settings", "build", "shopify:push:dist", "clean"));
86
+ gulp_1.default.task("deploy", gulp_1.default.series("sync-settings", "build", "shopify:push:dist", "clean"));
94
87
  /**
95
88
  * Does a full (re)build and push dist files into specified theme environment,
96
89
  * theme using shopify theme push, by default with the --no-delete flag
@@ -101,5 +94,5 @@ gulp.task("deploy", gulp.series("sync-settings", "build", "shopify:push:dist", "
101
94
  * @memberof slate-cli.tasks.deploy:no-sync
102
95
  * @static
103
96
  */
104
-
105
- gulp.task("deploy:no-sync", gulp.series("build", "shopify:push:dist"));
97
+ gulp_1.default.task("deploy:no-sync", gulp_1.default.series("build", "shopify:push:dist"));
98
+ //# sourceMappingURL=gulpfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gulpfile.js","sourceRoot":"","sources":["../src/gulpfile.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AACxB,0EAAiD;AACjD,2EAA+C;AAE/C,+CAA+C;AAC/C,IAAA,2BAAgB,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAEpC;;;GAGG;AACH,cAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE;IAClC,IAAI,mBAAK,CAAC,SAAS,EAAE,EAAE,CAAC;QACtB,mBAAK,CAAC,YAAY,EAAE,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,IAAI,EAAE,CAAC;IACT,CAAC;AACH,CAAC,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,cAAI,CAAC,IAAI,CACP,OAAO,EACP,cAAI,CAAC,MAAM,CACT,OAAO,EACP,cAAI,CAAC,QAAQ,CACX,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,WAAW,CACZ,CACF,CACF,CAAC;AAEF;;;;;;;GAOG;AACH,cAAI,CAAC,IAAI,CAAC,KAAK,EAAE,cAAI,CAAC,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,UAAU,CAAC,CAAC,CAAC;AAE3E;;;;;;GAMG;AACH,cAAI,CAAC,IAAI,CACP,eAAe,EACf,cAAI,CAAC,MAAM,CAAC,cAAc,EAAE,sBAAsB,EAAE,uBAAuB,CAAC,CAC7E,CAAC;AAEF;;;;;;;;GAQG;AACH,cAAI,CAAC,IAAI,CACP,OAAO,EACP,cAAI,CAAC,MAAM,CACT,OAAO,EACP,eAAe,EACf,cAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,YAAY,EAAE,oBAAoB,CAAC,CAC/D,CACF,CAAC;AAEF;;;;;GAKG;AACH,cAAI,CAAC,IAAI,CAAC,MAAM,EAAE,cAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAE1D;;;;;;;;GAQG;AACH,cAAI,CAAC,IAAI,CACP,eAAe,EACf,cAAI,CAAC,MAAM,CACT,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,OAAO,CACR,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,cAAI,CAAC,IAAI,CACP,QAAQ,EACR,cAAI,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CACpE,CAAC;AAEF;;;;;;;;;GASG;AACH,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,cAAI,CAAC,MAAM,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};