@xylabs/ts-scripts-react-yarn3 3.10.1 → 3.10.3

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 (98) hide show
  1. package/dist/actions/index.js +0 -6
  2. package/dist/actions/index.js.map +1 -1
  3. package/dist/actions/index.mjs +0 -3
  4. package/dist/actions/index.mjs.map +1 -1
  5. package/dist/bin/package/clean-outputs.js +5 -0
  6. package/dist/bin/package/clean-outputs.js.map +1 -0
  7. package/dist/bin/package/clean-outputs.mjs +13 -0
  8. package/dist/bin/package/clean-outputs.mjs.map +1 -0
  9. package/dist/bin/package/clean-typescript.js +5 -0
  10. package/dist/bin/package/clean-typescript.js.map +1 -0
  11. package/dist/bin/package/clean-typescript.mjs +13 -0
  12. package/dist/bin/package/clean-typescript.mjs.map +1 -0
  13. package/dist/bin/package/clean.js +2 -2
  14. package/dist/bin/package/clean.js.map +1 -1
  15. package/dist/bin/package/clean.mjs +1 -1
  16. package/dist/bin/package/clean.mjs.map +1 -1
  17. package/dist/bin/package/compile-only.js +31 -0
  18. package/dist/bin/package/compile-only.js.map +1 -0
  19. package/dist/bin/package/compile-only.mjs +17 -0
  20. package/dist/bin/package/compile-only.mjs.map +1 -0
  21. package/dist/bin/package/compile-tsup.js +31 -0
  22. package/dist/bin/package/compile-tsup.js.map +1 -0
  23. package/dist/bin/package/compile-tsup.mjs +17 -0
  24. package/dist/bin/package/compile-tsup.mjs.map +1 -0
  25. package/dist/bin/package/compile.js +31 -1
  26. package/dist/bin/package/compile.js.map +1 -1
  27. package/dist/bin/package/compile.mjs +9 -1
  28. package/dist/bin/package/compile.mjs.map +1 -1
  29. package/dist/bin/package/copy-assets-cjs.js +31 -0
  30. package/dist/bin/package/copy-assets-cjs.js.map +1 -0
  31. package/dist/bin/package/copy-assets-cjs.mjs +17 -0
  32. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -0
  33. package/dist/bin/package/copy-assets-esm.js +31 -0
  34. package/dist/bin/package/copy-assets-esm.js.map +1 -0
  35. package/dist/bin/package/copy-assets-esm.mjs +17 -0
  36. package/dist/bin/package/copy-assets-esm.mjs.map +1 -0
  37. package/dist/bin/package/deps.js +28 -2
  38. package/dist/bin/package/deps.js.map +1 -1
  39. package/dist/bin/package/deps.mjs +6 -2
  40. package/dist/bin/package/deps.mjs.map +1 -1
  41. package/dist/bin/package/gen-docs.js +5 -0
  42. package/dist/bin/package/gen-docs.js.map +1 -0
  43. package/dist/bin/package/gen-docs.mjs +13 -0
  44. package/dist/bin/package/gen-docs.mjs.map +1 -0
  45. package/dist/bin/package/publint.js +32 -0
  46. package/dist/bin/package/publint.js.map +1 -0
  47. package/dist/bin/package/publint.mjs +18 -0
  48. package/dist/bin/package/publint.mjs.map +1 -0
  49. package/dist/bin/package/recompile.js +31 -0
  50. package/dist/bin/package/recompile.js.map +1 -0
  51. package/dist/bin/package/recompile.mjs +17 -0
  52. package/dist/bin/package/recompile.mjs.map +1 -0
  53. package/dist/index.d.mts +1 -11
  54. package/dist/index.d.ts +1 -11
  55. package/dist/lib/index.js +1 -3
  56. package/dist/lib/index.js.map +1 -1
  57. package/dist/lib/index.mjs +0 -1
  58. package/dist/lib/index.mjs.map +1 -1
  59. package/dist/lib/xyReact.js +1 -2
  60. package/dist/lib/xyReact.js.map +1 -1
  61. package/dist/lib/xyReact.mjs +2 -3
  62. package/dist/lib/xyReact.mjs.map +1 -1
  63. package/package.json +4 -4
  64. package/src/actions/index.ts +0 -3
  65. package/src/bin/package/clean-outputs.ts +5 -0
  66. package/src/bin/package/clean-typescript.ts +5 -0
  67. package/src/bin/package/clean.ts +1 -1
  68. package/src/bin/package/compile-only.ts +9 -0
  69. package/src/bin/package/compile-tsup.ts +9 -0
  70. package/src/bin/package/compile.ts +10 -2
  71. package/src/bin/package/copy-assets-cjs.ts +9 -0
  72. package/src/bin/package/copy-assets-esm.ts +9 -0
  73. package/src/bin/package/deps.ts +6 -2
  74. package/src/bin/package/gen-docs.ts +5 -0
  75. package/src/bin/package/publint.ts +10 -0
  76. package/src/bin/package/recompile.ts +9 -0
  77. package/src/lib/index.ts +1 -1
  78. package/src/lib/xyReact.ts +2 -3
  79. package/dist/actions/build-ci.js +0 -38
  80. package/dist/actions/build-ci.js.map +0 -1
  81. package/dist/actions/build-ci.mjs +0 -14
  82. package/dist/actions/build-ci.mjs.map +0 -1
  83. package/dist/actions/build.js +0 -36
  84. package/dist/actions/build.js.map +0 -1
  85. package/dist/actions/build.mjs +0 -12
  86. package/dist/actions/build.mjs.map +0 -1
  87. package/dist/actions/rebuild.js +0 -35
  88. package/dist/actions/rebuild.js.map +0 -1
  89. package/dist/actions/rebuild.mjs +0 -11
  90. package/dist/actions/rebuild.mjs.map +0 -1
  91. package/dist/lib/xyReactBuildCommands.js +0 -92
  92. package/dist/lib/xyReactBuildCommands.js.map +0 -1
  93. package/dist/lib/xyReactBuildCommands.mjs +0 -68
  94. package/dist/lib/xyReactBuildCommands.mjs.map +0 -1
  95. package/src/actions/build-ci.ts +0 -11
  96. package/src/actions/build.ts +0 -9
  97. package/src/actions/rebuild.ts +0 -8
  98. package/src/lib/xyReactBuildCommands.ts +0 -67
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
+ // If the importer is in node compatibility mode or this is not an ESM
19
+ // file that has been converted to a CommonJS file using a Babel-
20
+ // compatible transform (i.e. "__esModule" has not been set), then set
21
+ // "default" to the CommonJS "module.exports" for node compatibility.
22
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
23
+ mod
24
+ ));
25
+ var import_chalk = __toESM(require("chalk"));
26
+ var import_actions = require("../../actions");
27
+ (0, import_actions.packageRecompile)().then((value) => process.exitCode = value).catch((reason) => {
28
+ console.error(import_chalk.default.red(reason));
29
+ process.exitCode = 1;
30
+ });
31
+ //# sourceMappingURL=recompile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/bin/package/recompile.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport chalk from 'chalk'\nimport { packageRecompile } from '../../actions'\n\npackageRecompile().then((value) => process.exitCode = value).catch((reason) => {\n console.error(chalk.red(reason))\n process.exitCode = 1\n})"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,mBAAkB;AAClB,qBAAiC;AAAA,IAEjC,iCAAiB,EAAE,KAAK,CAAC,UAAU,QAAQ,WAAW,KAAK,EAAE,MAAM,CAAC,WAAW;AAC7E,UAAQ,MAAM,aAAAA,QAAM,IAAI,MAAM,CAAC;AAC/B,UAAQ,WAAW;AACrB,CAAC;","names":["chalk"]}
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __commonJS = (cb, mod) => function __require() {
4
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5
+ };
6
+ import chalk from "chalk";
7
+ import { packageRecompile } from "../../actions";
8
+ var require_recompile = __commonJS({
9
+ "src/bin/package/recompile.ts"() {
10
+ packageRecompile().then((value) => process.exitCode = value).catch((reason) => {
11
+ console.error(chalk.red(reason));
12
+ process.exitCode = 1;
13
+ });
14
+ }
15
+ });
16
+ export default require_recompile();
17
+ //# sourceMappingURL=recompile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/bin/package/recompile.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport chalk from 'chalk'\nimport { packageRecompile } from '../../actions'\n\npackageRecompile().then((value) => process.exitCode = value).catch((reason) => {\n console.error(chalk.red(reason))\n process.exitCode = 1\n})"],"mappings":";;;;;AAEA,OAAO,WAAW;AAClB,SAAS,wBAAwB;AAHjC;AAAA;AAKA,qBAAiB,EAAE,KAAK,CAAC,UAAU,QAAQ,WAAW,KAAK,EAAE,MAAM,CAAC,WAAW;AAC7E,cAAQ,MAAM,MAAM,IAAI,MAAM,CAAC;AAC/B,cAAQ,WAAW;AAAA,IACrB,CAAC;AAAA;AAAA;","names":[]}
package/dist/index.d.mts CHANGED
@@ -1,15 +1,7 @@
1
- import yargs from 'yargs';
2
-
3
1
  declare const analyze: () => number;
4
2
 
5
- declare const build: () => number;
6
-
7
- declare const buildci: () => number;
8
-
9
3
  declare const eject: () => number;
10
4
 
11
- declare const rebuild: () => number;
12
-
13
5
  declare const sitemap: () => number;
14
6
 
15
7
  declare const start: () => number;
@@ -26,6 +18,4 @@ declare const xyReact: () => {
26
18
  $0: string;
27
19
  }>;
28
20
 
29
- declare const xyReactBuildCommands: (args: yargs.Argv) => yargs.Argv<{}>;
30
-
31
- export { analyze, build, buildci, eject, rebuild, sitemap, start, test, xyReact, xyReactBuildCommands };
21
+ export { analyze, eject, sitemap, start, test, xyReact };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,7 @@
1
- import yargs from 'yargs';
2
-
3
1
  declare const analyze: () => number;
4
2
 
5
- declare const build: () => number;
6
-
7
- declare const buildci: () => number;
8
-
9
3
  declare const eject: () => number;
10
4
 
11
- declare const rebuild: () => number;
12
-
13
5
  declare const sitemap: () => number;
14
6
 
15
7
  declare const start: () => number;
@@ -26,6 +18,4 @@ declare const xyReact: () => {
26
18
  $0: string;
27
19
  }>;
28
20
 
29
- declare const xyReactBuildCommands: (args: yargs.Argv) => yargs.Argv<{}>;
30
-
31
- export { analyze, build, buildci, eject, rebuild, sitemap, start, test, xyReact, xyReactBuildCommands };
21
+ export { analyze, eject, sitemap, start, test, xyReact };
package/dist/lib/index.js CHANGED
@@ -16,10 +16,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  var lib_exports = {};
17
17
  module.exports = __toCommonJS(lib_exports);
18
18
  __reExport(lib_exports, require("./xyReact"), module.exports);
19
- __reExport(lib_exports, require("./xyReactBuildCommands"), module.exports);
20
19
  // Annotate the CommonJS export names for ESM import in node:
21
20
  0 && (module.exports = {
22
- ...require("./xyReact"),
23
- ...require("./xyReactBuildCommands")
21
+ ...require("./xyReact")
24
22
  });
25
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact'\nexport * from './xyReactBuildCommands'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,sBAAd;AACA,wBAAc,mCADd;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact'\n\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,sBAAd;","names":[]}
@@ -1,3 +1,2 @@
1
1
  export * from "./xyReact";
2
- export * from "./xyReactBuildCommands";
3
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact'\nexport * from './xyReactBuildCommands'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact'\n\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -35,9 +35,8 @@ module.exports = __toCommonJS(xyReact_exports);
35
35
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
36
36
  var import_chalk = __toESM(require("chalk"));
37
37
  var import_actions = require("../actions");
38
- var import_xyReactBuildCommands = require("./xyReactBuildCommands");
39
38
  const xyReact = () => {
40
- return (0, import_xyReactBuildCommands.xyReactBuildCommands)((0, import_ts_scripts_yarn3.xyInstallCommands)((0, import_ts_scripts_yarn3.xyLintCommands)((0, import_ts_scripts_yarn3.xyInstallCommands)((0, import_ts_scripts_yarn3.xyCommonCommands)((0, import_ts_scripts_yarn3.xyParseOptions)()))))).command(
39
+ return (0, import_ts_scripts_yarn3.xyBuildCommands)((0, import_ts_scripts_yarn3.xyInstallCommands)((0, import_ts_scripts_yarn3.xyLintCommands)((0, import_ts_scripts_yarn3.xyInstallCommands)((0, import_ts_scripts_yarn3.xyCommonCommands)((0, import_ts_scripts_yarn3.xyParseOptions)()))))).command(
41
40
  "analyze",
42
41
  "Analyze - Analyze Bundles",
43
42
  (yargs) => {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions'\nimport { xyReactBuildCommands } from './xyReactBuildCommands'\n\nexport const xyReact = () => {\n return xyReactBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))\n .command(\n 'analyze',\n 'Analyze - Analyze Bundles',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Analyzing')\n process.exitCode = analyze()\n },\n )\n .command(\n 'eject',\n 'Eject - Eject React project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Ejecting')\n process.exitCode = eject()\n },\n )\n .command(\n 'sitemap',\n 'Sitemap - Generate sitemap for the project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Generating Sitemap')\n process.exitCode = sitemap()\n },\n )\n .command(\n 'start',\n 'Start - Start project in browser',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Starting')\n process.exitCode = start()\n },\n )\n .demandCommand(1)\n .command('*', '', () => {\n console.error(chalk.yellow(`Command not found [${chalk.magenta(process.argv[2])}]`))\n console.log(chalk.gray(\"Try 'yarn xy --help' for list of commands\"))\n })\n .help().argv\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,8BAAoF;AACpF,mBAAkB;AAElB,qBAA+C;AAC/C,kCAAqC;AAE9B,MAAM,UAAU,MAAM;AAC3B,aAAO,sDAAqB,+CAAkB,4CAAe,+CAAkB,8CAAiB,wCAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EACjH;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,WAAW;AACzC,cAAQ,eAAW,wBAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,eAAW,sBAAM;AAAA,IAC3B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,oBAAoB;AAClD,cAAQ,eAAW,wBAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,eAAW,sBAAM;AAAA,IAC3B;AAAA,EACF,EACC,cAAc,CAAC,EACf,QAAQ,KAAK,IAAI,MAAM;AACtB,YAAQ,MAAM,aAAAA,QAAM,OAAO,sBAAsB,aAAAA,QAAM,QAAQ,QAAQ,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;AACnF,YAAQ,IAAI,aAAAA,QAAM,KAAK,2CAA2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;","names":["chalk"]}
1
+ {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions, xyBuildCommands } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions'\n\nexport const xyReact = () => {\n return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))\n .command(\n 'analyze',\n 'Analyze - Analyze Bundles',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Analyzing')\n process.exitCode = analyze()\n },\n )\n .command(\n 'eject',\n 'Eject - Eject React project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Ejecting')\n process.exitCode = eject()\n },\n )\n .command(\n 'sitemap',\n 'Sitemap - Generate sitemap for the project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Generating Sitemap')\n process.exitCode = sitemap()\n },\n )\n .command(\n 'start',\n 'Start - Start project in browser',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Starting')\n process.exitCode = start()\n },\n )\n .demandCommand(1)\n .command('*', '', () => {\n console.error(chalk.yellow(`Command not found [${chalk.magenta(process.argv[2])}]`))\n console.log(chalk.gray(\"Try 'yarn xy --help' for list of commands\"))\n })\n .help().argv\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,8BAAqG;AACrG,mBAAkB;AAElB,qBAA+C;AAExC,MAAM,UAAU,MAAM;AAC3B,aAAO,6CAAgB,+CAAkB,4CAAe,+CAAkB,8CAAiB,wCAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5G;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,WAAW;AACzC,cAAQ,eAAW,wBAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,eAAW,sBAAM;AAAA,IAC3B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,oBAAoB;AAClD,cAAQ,eAAW,wBAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,eAAW,sBAAM;AAAA,IAC3B;AAAA,EACF,EACC,cAAc,CAAC,EACf,QAAQ,KAAK,IAAI,MAAM;AACtB,YAAQ,MAAM,aAAAA,QAAM,OAAO,sBAAsB,aAAAA,QAAM,QAAQ,QAAQ,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;AACnF,YAAQ,IAAI,aAAAA,QAAM,KAAK,2CAA2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;","names":["chalk"]}
@@ -1,10 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from "@xylabs/ts-scripts-yarn3";
2
+ import { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions, xyBuildCommands } from "@xylabs/ts-scripts-yarn3";
3
3
  import chalk from "chalk";
4
4
  import { analyze, eject, sitemap, start } from "../actions";
5
- import { xyReactBuildCommands } from "./xyReactBuildCommands";
6
5
  const xyReact = () => {
7
- return xyReactBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command(
6
+ return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command(
8
7
  "analyze",
9
8
  "Analyze - Analyze Bundles",
10
9
  (yargs) => {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions'\nimport { xyReactBuildCommands } from './xyReactBuildCommands'\n\nexport const xyReact = () => {\n return xyReactBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))\n .command(\n 'analyze',\n 'Analyze - Analyze Bundles',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Analyzing')\n process.exitCode = analyze()\n },\n )\n .command(\n 'eject',\n 'Eject - Eject React project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Ejecting')\n process.exitCode = eject()\n },\n )\n .command(\n 'sitemap',\n 'Sitemap - Generate sitemap for the project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Generating Sitemap')\n process.exitCode = sitemap()\n },\n )\n .command(\n 'start',\n 'Start - Start project in browser',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Starting')\n process.exitCode = start()\n },\n )\n .demandCommand(1)\n .command('*', '', () => {\n console.error(chalk.yellow(`Command not found [${chalk.magenta(process.argv[2])}]`))\n console.log(chalk.gray(\"Try 'yarn xy --help' for list of commands\"))\n })\n .help().argv\n}\n"],"mappings":";AAEA,SAAS,kBAAkB,mBAAmB,gBAAgB,sBAAsB;AACpF,OAAO,WAAW;AAElB,SAAS,SAAS,OAAO,SAAS,aAAa;AAC/C,SAAS,4BAA4B;AAE9B,MAAM,UAAU,MAAM;AAC3B,SAAO,qBAAqB,kBAAkB,eAAe,kBAAkB,iBAAiB,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EACjH;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,WAAW;AACzC,cAAQ,WAAW,QAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,WAAW,MAAM;AAAA,IAC3B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,oBAAoB;AAClD,cAAQ,WAAW,QAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,WAAW,MAAM;AAAA,IAC3B;AAAA,EACF,EACC,cAAc,CAAC,EACf,QAAQ,KAAK,IAAI,MAAM;AACtB,YAAQ,MAAM,MAAM,OAAO,sBAAsB,MAAM,QAAQ,QAAQ,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;AACnF,YAAQ,IAAI,MAAM,KAAK,2CAA2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions, xyBuildCommands } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions'\n\nexport const xyReact = () => {\n return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))\n .command(\n 'analyze',\n 'Analyze - Analyze Bundles',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Analyzing')\n process.exitCode = analyze()\n },\n )\n .command(\n 'eject',\n 'Eject - Eject React project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Ejecting')\n process.exitCode = eject()\n },\n )\n .command(\n 'sitemap',\n 'Sitemap - Generate sitemap for the project',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Generating Sitemap')\n process.exitCode = sitemap()\n },\n )\n .command(\n 'start',\n 'Start - Start project in browser',\n (yargs) => {\n return yargs\n },\n (argv) => {\n if (argv.verbose) console.log('Starting')\n process.exitCode = start()\n },\n )\n .demandCommand(1)\n .command('*', '', () => {\n console.error(chalk.yellow(`Command not found [${chalk.magenta(process.argv[2])}]`))\n console.log(chalk.gray(\"Try 'yarn xy --help' for list of commands\"))\n })\n .help().argv\n}\n"],"mappings":";AAEA,SAAS,kBAAkB,mBAAmB,gBAAgB,gBAAgB,uBAAuB;AACrG,OAAO,WAAW;AAElB,SAAS,SAAS,OAAO,SAAS,aAAa;AAExC,MAAM,UAAU,MAAM;AAC3B,SAAO,gBAAgB,kBAAkB,eAAe,kBAAkB,iBAAiB,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5G;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,WAAW;AACzC,cAAQ,WAAW,QAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,WAAW,MAAM;AAAA,IAC3B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,oBAAoB;AAClD,cAAQ,WAAW,QAAQ;AAAA,IAC7B;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK;AAAS,gBAAQ,IAAI,UAAU;AACxC,cAAQ,WAAW,MAAM;AAAA,IAC3B;AAAA,EACF,EACC,cAAc,CAAC,EACf,QAAQ,KAAK,IAAI,MAAM;AACtB,YAAQ,MAAM,MAAM,OAAO,sBAAsB,MAAM,QAAQ,QAAQ,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;AACnF,YAAQ,IAAI,MAAM,KAAK,2CAA2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;","names":[]}
package/package.json CHANGED
@@ -49,15 +49,15 @@
49
49
  "url": "https://github.com/xylabs/config/issues"
50
50
  },
51
51
  "dependencies": {
52
- "@xylabs/ts-scripts-yarn3": "~3.10.1",
52
+ "@xylabs/ts-scripts-yarn3": "~3.10.3",
53
53
  "chalk": "^4.1.2",
54
54
  "yargs": "^17.7.2"
55
55
  },
56
56
  "description": "TypeScript project scripts",
57
57
  "devDependencies": {
58
58
  "@types/yargs": "^17.0.32",
59
- "@xylabs/ts-scripts-yarn3": "~3.10.1",
60
- "@xylabs/tsconfig": "~3.10.1",
59
+ "@xylabs/ts-scripts-yarn3": "~3.10.3",
60
+ "@xylabs/tsconfig": "~3.10.3",
61
61
  "publint": "^0.2.7",
62
62
  "tsup": "^8.0.2",
63
63
  "typescript": "^5.4.5"
@@ -112,6 +112,6 @@
112
112
  "package-recompile": "tsup && publint ."
113
113
  },
114
114
  "sideEffects": false,
115
- "version": "3.10.1",
115
+ "version": "3.10.3",
116
116
  "type": "commonjs"
117
117
  }
@@ -1,8 +1,5 @@
1
1
  export * from './analyze'
2
- export * from './build'
3
- export * from './build-ci'
4
2
  export * from './eject'
5
- export * from './rebuild'
6
3
  export * from './sitemap'
7
4
  export * from './start'
8
5
  export * from './test'
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { packageCleanOutputs } from '../../actions'
4
+
5
+ packageCleanOutputs()
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { packageCleanTypescript } from '../../actions'
4
+
5
+ packageCleanTypescript()
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { packageClean } from '@xylabs/ts-scripts-yarn3'
3
+ import { packageClean } from '../../actions'
4
4
 
5
5
  packageClean()
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packageCompile } from '../../actions'
5
+
6
+ packageCompile({verbose: true, publint: false}).then((value) => process.exitCode = value).catch((reason) => {
7
+ console.error(chalk.red(reason))
8
+ process.exitCode = 1
9
+ })
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packageCompileTsup } from '../../actions'
5
+
6
+ packageCompileTsup({verbose: true}).then((value) => process.exitCode = value).catch((reason) => {
7
+ console.error(chalk.red(reason))
8
+ process.exitCode = 1
9
+ })
@@ -1,5 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { packageCompile } from "../../actions"
3
+ import chalk from 'chalk'
4
+ import { packageCompile } from '../../actions'
4
5
 
5
- packageCompile()
6
+ packageCompile({verbose: false}).then((value) => {
7
+ if (value) {
8
+ process.exit(value)
9
+ }
10
+ }).catch((reason) => {
11
+ console.error(chalk.red(reason))
12
+ process.exit(-1)
13
+ })
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packageCopyAssets } from '../../actions'
5
+
6
+ packageCopyAssets({target: 'cjs'}).then((value) => process.exitCode = value).catch((reason) => {
7
+ console.error(chalk.red(reason))
8
+ process.exitCode = 1
9
+ })
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packageCopyAssets } from '../../actions'
5
+
6
+ packageCopyAssets({target: 'esm'}).then((value) => process.exitCode = value).catch((reason) => {
7
+ console.error(chalk.red(reason))
8
+ process.exitCode = 1
9
+ })
@@ -1,5 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { packageDeps } from '@xylabs/ts-scripts-yarn3'
3
+ import chalk from 'chalk'
4
+ import { packageDeps } from '../../actions'
4
5
 
5
- packageDeps()
6
+ packageDeps().then((value) => process.exitCode = value).catch((ex: Error) => {
7
+ console.error(`Deps Failed: ${chalk.red(ex)}`)
8
+ process.exitCode = 0
9
+ })
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { packageGenDocs } from '../../actions'
4
+
5
+ packageGenDocs()
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packagePublint } from '../../actions'
5
+
6
+ packagePublint().then((value) => process.exitCode = value).catch((ex: Error) => {
7
+ console.error(`Publint Failed: ${chalk.red(ex)}`)
8
+ console.error(chalk.gray(ex.stack))
9
+ process.exitCode = -1
10
+ })
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from 'chalk'
4
+ import { packageRecompile } from '../../actions'
5
+
6
+ packageRecompile().then((value) => process.exitCode = value).catch((reason) => {
7
+ console.error(chalk.red(reason))
8
+ process.exitCode = 1
9
+ })
package/src/lib/index.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from './xyReact'
2
- export * from './xyReactBuildCommands'
2
+
@@ -1,13 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'
3
+ import { xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions, xyBuildCommands } from '@xylabs/ts-scripts-yarn3'
4
4
  import chalk from 'chalk'
5
5
 
6
6
  import { analyze, eject, sitemap, start } from '../actions'
7
- import { xyReactBuildCommands } from './xyReactBuildCommands'
8
7
 
9
8
  export const xyReact = () => {
10
- return xyReactBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))
9
+ return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))
11
10
  .command(
12
11
  'analyze',
13
12
  'Analyze - Analyze Bundles',
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var build_ci_exports = {};
20
- __export(build_ci_exports, {
21
- buildci: () => buildci
22
- });
23
- module.exports = __toCommonJS(build_ci_exports);
24
- var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
25
- const buildci = () => {
26
- return (0, import_ts_scripts_yarn3.runSteps)("Build", [
27
- ["yarn", ["xy", "compile"]],
28
- ["yarn", "react-scripts build"],
29
- ["yarn", "xy lint"],
30
- ["yarn", "xy deps"],
31
- ["ts-node-script", "./scripts/sitemap.ts"]
32
- ]);
33
- };
34
- // Annotate the CommonJS export names for ESM import in node:
35
- 0 && (module.exports = {
36
- buildci
37
- });
38
- //# sourceMappingURL=build-ci.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/build-ci.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const buildci = () => {\n return runSteps('Build', [\n ['yarn', ['xy', 'compile']],\n ['yarn', 'react-scripts build'],\n ['yarn', 'xy lint'],\n ['yarn', 'xy deps'],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAyB;AAElB,MAAM,UAAU,MAAM;AAC3B,aAAO,kCAAS,SAAS;AAAA,IACvB,CAAC,QAAQ,CAAC,MAAM,SAAS,CAAC;AAAA,IAC1B,CAAC,QAAQ,qBAAqB;AAAA,IAC9B,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;","names":[]}
@@ -1,14 +0,0 @@
1
- import { runSteps } from "@xylabs/ts-scripts-yarn3";
2
- const buildci = () => {
3
- return runSteps("Build", [
4
- ["yarn", ["xy", "compile"]],
5
- ["yarn", "react-scripts build"],
6
- ["yarn", "xy lint"],
7
- ["yarn", "xy deps"],
8
- ["ts-node-script", "./scripts/sitemap.ts"]
9
- ]);
10
- };
11
- export {
12
- buildci
13
- };
14
- //# sourceMappingURL=build-ci.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/build-ci.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const buildci = () => {\n return runSteps('Build', [\n ['yarn', ['xy', 'compile']],\n ['yarn', 'react-scripts build'],\n ['yarn', 'xy lint'],\n ['yarn', 'xy deps'],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAElB,MAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,SAAS;AAAA,IACvB,CAAC,QAAQ,CAAC,MAAM,SAAS,CAAC;AAAA,IAC1B,CAAC,QAAQ,qBAAqB;AAAA,IAC9B,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;","names":[]}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var build_exports = {};
20
- __export(build_exports, {
21
- build: () => build
22
- });
23
- module.exports = __toCommonJS(build_exports);
24
- var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
25
- const build = () => {
26
- return (0, import_ts_scripts_yarn3.runSteps)("Build", [
27
- ["yarn", ["xy", "compile"]],
28
- ["yarn", "xy lint"],
29
- ["yarn", "xy deps"]
30
- ]);
31
- };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- build
35
- });
36
- //# sourceMappingURL=build.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/build.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const build = () => {\n return runSteps('Build', [\n ['yarn', ['xy', 'compile']],\n ['yarn', 'xy lint'],\n ['yarn', 'xy deps'],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAyB;AAElB,MAAM,QAAQ,MAAM;AACzB,aAAO,kCAAS,SAAS;AAAA,IACvB,CAAC,QAAQ,CAAC,MAAM,SAAS,CAAC;AAAA,IAC1B,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,QAAQ,SAAS;AAAA,EACpB,CAAC;AACH;","names":[]}
@@ -1,12 +0,0 @@
1
- import { runSteps } from "@xylabs/ts-scripts-yarn3";
2
- const build = () => {
3
- return runSteps("Build", [
4
- ["yarn", ["xy", "compile"]],
5
- ["yarn", "xy lint"],
6
- ["yarn", "xy deps"]
7
- ]);
8
- };
9
- export {
10
- build
11
- };
12
- //# sourceMappingURL=build.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/build.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const build = () => {\n return runSteps('Build', [\n ['yarn', ['xy', 'compile']],\n ['yarn', 'xy lint'],\n ['yarn', 'xy deps'],\n ])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAElB,MAAM,QAAQ,MAAM;AACzB,SAAO,SAAS,SAAS;AAAA,IACvB,CAAC,QAAQ,CAAC,MAAM,SAAS,CAAC;AAAA,IAC1B,CAAC,QAAQ,SAAS;AAAA,IAClB,CAAC,QAAQ,SAAS;AAAA,EACpB,CAAC;AACH;","names":[]}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var rebuild_exports = {};
20
- __export(rebuild_exports, {
21
- rebuild: () => rebuild
22
- });
23
- module.exports = __toCommonJS(rebuild_exports);
24
- var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
25
- const rebuild = () => {
26
- return (0, import_ts_scripts_yarn3.runSteps)("Rebuild", [
27
- ["yarn", "xy clean"],
28
- ["yarn", "xy build"]
29
- ]);
30
- };
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- rebuild
34
- });
35
- //# sourceMappingURL=rebuild.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/rebuild.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const rebuild = () => {\n return runSteps('Rebuild', [\n ['yarn', 'xy clean'],\n ['yarn', 'xy build'],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAyB;AAElB,MAAM,UAAU,MAAM;AAC3B,aAAO,kCAAS,WAAW;AAAA,IACzB,CAAC,QAAQ,UAAU;AAAA,IACnB,CAAC,QAAQ,UAAU;AAAA,EACrB,CAAC;AACH;","names":[]}
@@ -1,11 +0,0 @@
1
- import { runSteps } from "@xylabs/ts-scripts-yarn3";
2
- const rebuild = () => {
3
- return runSteps("Rebuild", [
4
- ["yarn", "xy clean"],
5
- ["yarn", "xy build"]
6
- ]);
7
- };
8
- export {
9
- rebuild
10
- };
11
- //# sourceMappingURL=rebuild.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/actions/rebuild.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const rebuild = () => {\n return runSteps('Rebuild', [\n ['yarn', 'xy clean'],\n ['yarn', 'xy build'],\n ])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAElB,MAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW;AAAA,IACzB,CAAC,QAAQ,UAAU;AAAA,IACnB,CAAC,QAAQ,UAAU;AAAA,EACrB,CAAC;AACH;","names":[]}