@xylabs/ts-scripts-react-yarn3 3.15.5 → 3.15.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.
Files changed (218) hide show
  1. package/dist/actions/{analyze.js → analyze.cjs} +13 -4
  2. package/dist/actions/{analyze.js.map → analyze.cjs.map} +1 -1
  3. package/dist/actions/analyze.mjs +13 -3
  4. package/dist/actions/analyze.mjs.map +1 -1
  5. package/dist/actions/{eject.js → eject.cjs} +10 -4
  6. package/dist/actions/{eject.js.map → eject.cjs.map} +1 -1
  7. package/dist/actions/eject.mjs +10 -3
  8. package/dist/actions/eject.mjs.map +1 -1
  9. package/dist/actions/{index.js → index.cjs} +11 -11
  10. package/dist/actions/index.cjs.map +1 -0
  11. package/dist/actions/index.mjs +5 -5
  12. package/dist/actions/index.mjs.map +1 -1
  13. package/dist/actions/{sitemap.js → sitemap.cjs} +10 -4
  14. package/dist/actions/{sitemap.js.map → sitemap.cjs.map} +1 -1
  15. package/dist/actions/sitemap.mjs +10 -3
  16. package/dist/actions/sitemap.mjs.map +1 -1
  17. package/dist/actions/{start.js → start.cjs} +10 -4
  18. package/dist/actions/{start.js.map → start.cjs.map} +1 -1
  19. package/dist/actions/start.mjs +10 -3
  20. package/dist/actions/start.mjs.map +1 -1
  21. package/dist/actions/{test.js → test.cjs} +10 -4
  22. package/dist/actions/{test.js.map → test.cjs.map} +1 -1
  23. package/dist/actions/test.mjs +10 -3
  24. package/dist/actions/test.mjs.map +1 -1
  25. package/dist/bin/{analyze.js → analyze.cjs} +1 -1
  26. package/dist/bin/{analyze.js.map → analyze.cjs.map} +1 -1
  27. package/dist/bin/analyze.mjs +1 -10
  28. package/dist/bin/analyze.mjs.map +1 -1
  29. package/dist/bin/{build-ci.js → build-ci.cjs} +1 -1
  30. package/dist/bin/{build-ci.js.map → build-ci.cjs.map} +1 -1
  31. package/dist/bin/build-ci.mjs +1 -10
  32. package/dist/bin/build-ci.mjs.map +1 -1
  33. package/dist/bin/{build.js → build.cjs} +1 -1
  34. package/dist/bin/{build.js.map → build.cjs.map} +1 -1
  35. package/dist/bin/build.mjs +1 -10
  36. package/dist/bin/build.mjs.map +1 -1
  37. package/dist/bin/{clean.js → clean.cjs} +1 -1
  38. package/dist/bin/{clean.js.map → clean.cjs.map} +1 -1
  39. package/dist/bin/clean.mjs +1 -10
  40. package/dist/bin/clean.mjs.map +1 -1
  41. package/dist/bin/{compile.js → compile.cjs} +1 -1
  42. package/dist/bin/{compile.js.map → compile.cjs.map} +1 -1
  43. package/dist/bin/compile.mjs +1 -10
  44. package/dist/bin/compile.mjs.map +1 -1
  45. package/dist/bin/{cycle.js → cycle.cjs} +1 -1
  46. package/dist/bin/{cycle.js.map → cycle.cjs.map} +1 -1
  47. package/dist/bin/cycle.mjs +1 -10
  48. package/dist/bin/cycle.mjs.map +1 -1
  49. package/dist/bin/{dead.js → dead.cjs} +1 -1
  50. package/dist/bin/{dead.js.map → dead.cjs.map} +1 -1
  51. package/dist/bin/dead.mjs +1 -10
  52. package/dist/bin/dead.mjs.map +1 -1
  53. package/dist/bin/{deps.js → deps.cjs} +1 -1
  54. package/dist/bin/{deps.js.map → deps.cjs.map} +1 -1
  55. package/dist/bin/deps.mjs +1 -10
  56. package/dist/bin/deps.mjs.map +1 -1
  57. package/dist/bin/{eject.js → eject.cjs} +1 -1
  58. package/dist/bin/{eject.js.map → eject.cjs.map} +1 -1
  59. package/dist/bin/eject.mjs +1 -10
  60. package/dist/bin/eject.mjs.map +1 -1
  61. package/dist/bin/{fix.js → fix.cjs} +1 -1
  62. package/dist/bin/{fix.js.map → fix.cjs.map} +1 -1
  63. package/dist/bin/fix.mjs +1 -10
  64. package/dist/bin/fix.mjs.map +1 -1
  65. package/dist/bin/{gitlint-fix.js → gitlint-fix.cjs} +1 -1
  66. package/dist/bin/{gitlint-fix.js.map → gitlint-fix.cjs.map} +1 -1
  67. package/dist/bin/gitlint-fix.mjs +1 -10
  68. package/dist/bin/gitlint-fix.mjs.map +1 -1
  69. package/dist/bin/{gitlint.js → gitlint.cjs} +1 -1
  70. package/dist/bin/{gitlint.js.map → gitlint.cjs.map} +1 -1
  71. package/dist/bin/gitlint.mjs +1 -10
  72. package/dist/bin/gitlint.mjs.map +1 -1
  73. package/dist/bin/{license.js → license.cjs} +1 -1
  74. package/dist/bin/{license.js.map → license.cjs.map} +1 -1
  75. package/dist/bin/license.mjs +1 -10
  76. package/dist/bin/license.mjs.map +1 -1
  77. package/dist/bin/{lint-clean.js → lint-clean.cjs} +1 -1
  78. package/dist/bin/{lint-clean.js.map → lint-clean.cjs.map} +1 -1
  79. package/dist/bin/lint-clean.mjs +1 -10
  80. package/dist/bin/lint-clean.mjs.map +1 -1
  81. package/dist/bin/{lint-fast.js → lint-fast.cjs} +1 -1
  82. package/dist/bin/{lint-fast.js.map → lint-fast.cjs.map} +1 -1
  83. package/dist/bin/lint-fast.mjs +1 -10
  84. package/dist/bin/lint-fast.mjs.map +1 -1
  85. package/dist/bin/{lint-profile.js → lint-profile.cjs} +1 -1
  86. package/dist/bin/{lint-profile.js.map → lint-profile.cjs.map} +1 -1
  87. package/dist/bin/lint-profile.mjs +1 -10
  88. package/dist/bin/lint-profile.mjs.map +1 -1
  89. package/dist/bin/{lint.js → lint.cjs} +1 -1
  90. package/dist/bin/{lint.js.map → lint.cjs.map} +1 -1
  91. package/dist/bin/lint.mjs +1 -10
  92. package/dist/bin/lint.mjs.map +1 -1
  93. package/dist/bin/package/{clean-outputs.js → clean-outputs.cjs} +1 -1
  94. package/dist/bin/package/{clean-outputs.js.map → clean-outputs.cjs.map} +1 -1
  95. package/dist/bin/package/clean-outputs.mjs +5 -14
  96. package/dist/bin/package/clean-outputs.mjs.map +1 -1
  97. package/dist/bin/package/{clean-typescript.js → clean-typescript.cjs} +1 -1
  98. package/dist/bin/package/{clean-typescript.js.map → clean-typescript.cjs.map} +1 -1
  99. package/dist/bin/package/clean-typescript.mjs +5 -14
  100. package/dist/bin/package/clean-typescript.mjs.map +1 -1
  101. package/dist/bin/package/{clean.js → clean.cjs} +1 -1
  102. package/dist/bin/package/{clean.js.map → clean.cjs.map} +1 -1
  103. package/dist/bin/package/clean.mjs +5 -14
  104. package/dist/bin/package/clean.mjs.map +1 -1
  105. package/dist/bin/package/{compile-only.js → compile-only.cjs} +6 -3
  106. package/dist/bin/package/{compile-only.js.map → compile-only.cjs.map} +1 -1
  107. package/dist/bin/package/compile-only.mjs +6 -12
  108. package/dist/bin/package/compile-only.mjs.map +1 -1
  109. package/dist/bin/package/{compile-tsup.js → compile-tsup.cjs} +5 -3
  110. package/dist/bin/package/{compile-tsup.js.map → compile-tsup.cjs.map} +1 -1
  111. package/dist/bin/package/compile-tsup.mjs +5 -12
  112. package/dist/bin/package/compile-tsup.mjs.map +1 -1
  113. package/dist/bin/package/{compile.js → compile.cjs} +5 -3
  114. package/dist/bin/package/{compile.js.map → compile.cjs.map} +1 -1
  115. package/dist/bin/package/compile.mjs +8 -15
  116. package/dist/bin/package/compile.mjs.map +1 -1
  117. package/dist/bin/package/{copy-assets-esm.js → copy-assets-cjs.cjs} +5 -3
  118. package/dist/bin/package/{copy-assets-cjs.js.map → copy-assets-cjs.cjs.map} +1 -1
  119. package/dist/bin/package/copy-assets-cjs.mjs +5 -12
  120. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
  121. package/dist/bin/package/{copy-assets-cjs.js → copy-assets-esm.cjs} +5 -3
  122. package/dist/bin/package/{copy-assets-esm.js.map → copy-assets-esm.cjs.map} +1 -1
  123. package/dist/bin/package/copy-assets-esm.mjs +5 -12
  124. package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
  125. package/dist/bin/package/{deps.js → deps.cjs} +2 -2
  126. package/dist/bin/package/{deps.js.map → deps.cjs.map} +1 -1
  127. package/dist/bin/package/deps.mjs +3 -12
  128. package/dist/bin/package/deps.mjs.map +1 -1
  129. package/dist/bin/package/{gen-docs.js → gen-docs.cjs} +1 -1
  130. package/dist/bin/package/{gen-docs.js.map → gen-docs.cjs.map} +1 -1
  131. package/dist/bin/package/gen-docs.mjs +5 -14
  132. package/dist/bin/package/gen-docs.mjs.map +1 -1
  133. package/dist/bin/package/{publint.js → publint.cjs} +2 -2
  134. package/dist/bin/package/{publint.js.map → publint.cjs.map} +1 -1
  135. package/dist/bin/package/publint.mjs +4 -13
  136. package/dist/bin/package/publint.mjs.map +1 -1
  137. package/dist/bin/package/{recompile.js → recompile.cjs} +2 -2
  138. package/dist/bin/package/{recompile.js.map → recompile.cjs.map} +1 -1
  139. package/dist/bin/package/recompile.mjs +3 -12
  140. package/dist/bin/package/recompile.mjs.map +1 -1
  141. package/dist/bin/{rebuild.js → rebuild.cjs} +1 -1
  142. package/dist/bin/{rebuild.js.map → rebuild.cjs.map} +1 -1
  143. package/dist/bin/rebuild.mjs +1 -10
  144. package/dist/bin/rebuild.mjs.map +1 -1
  145. package/dist/bin/{reinstall.js → reinstall.cjs} +1 -1
  146. package/dist/bin/{reinstall.js.map → reinstall.cjs.map} +1 -1
  147. package/dist/bin/reinstall.mjs +1 -10
  148. package/dist/bin/reinstall.mjs.map +1 -1
  149. package/dist/bin/{relint.js → relint.cjs} +1 -1
  150. package/dist/bin/{relint.js.map → relint.cjs.map} +1 -1
  151. package/dist/bin/relint.mjs +1 -10
  152. package/dist/bin/relint.mjs.map +1 -1
  153. package/dist/bin/{sitemap.js → sitemap.cjs} +1 -1
  154. package/dist/bin/{sitemap.js.map → sitemap.cjs.map} +1 -1
  155. package/dist/bin/sitemap.mjs +1 -10
  156. package/dist/bin/sitemap.mjs.map +1 -1
  157. package/dist/bin/{sonar.js → sonar.cjs} +1 -1
  158. package/dist/bin/{sonar.js.map → sonar.cjs.map} +1 -1
  159. package/dist/bin/sonar.mjs +1 -10
  160. package/dist/bin/sonar.mjs.map +1 -1
  161. package/dist/bin/{start.js → start.cjs} +1 -1
  162. package/dist/bin/{start.js.map → start.cjs.map} +1 -1
  163. package/dist/bin/start.mjs +1 -10
  164. package/dist/bin/start.mjs.map +1 -1
  165. package/dist/bin/{test.js → test.cjs} +1 -1
  166. package/dist/bin/{test.js.map → test.cjs.map} +1 -1
  167. package/dist/bin/test.mjs +1 -10
  168. package/dist/bin/test.mjs.map +1 -1
  169. package/dist/bin/{tsconfig-gen-clean.js → tsconfig-gen-clean.cjs} +1 -1
  170. package/dist/bin/{tsconfig-gen-clean.js.map → tsconfig-gen-clean.cjs.map} +1 -1
  171. package/dist/bin/tsconfig-gen-clean.mjs +1 -10
  172. package/dist/bin/tsconfig-gen-clean.mjs.map +1 -1
  173. package/dist/bin/{tsconfig-gen.js → tsconfig-gen.cjs} +1 -1
  174. package/dist/bin/{tsconfig-gen.js.map → tsconfig-gen.cjs.map} +1 -1
  175. package/dist/bin/tsconfig-gen.mjs +1 -10
  176. package/dist/bin/tsconfig-gen.mjs.map +1 -1
  177. package/dist/bin/{up.js → up.cjs} +1 -1
  178. package/dist/bin/{up.js.map → up.cjs.map} +1 -1
  179. package/dist/bin/up.mjs +1 -10
  180. package/dist/bin/up.mjs.map +1 -1
  181. package/dist/bin/{updo.js → updo.cjs} +1 -1
  182. package/dist/bin/{updo.js.map → updo.cjs.map} +1 -1
  183. package/dist/bin/updo.mjs +1 -10
  184. package/dist/bin/updo.mjs.map +1 -1
  185. package/dist/bin/{xy.js → xy.cjs} +2 -2
  186. package/dist/bin/xy.cjs.map +1 -0
  187. package/dist/bin/xy.mjs +6 -15
  188. package/dist/bin/xy.mjs.map +1 -1
  189. package/dist/bin/{yarn3only.js → yarn3only.cjs} +1 -1
  190. package/dist/bin/{yarn3only.js.map → yarn3only.cjs.map} +1 -1
  191. package/dist/bin/yarn3only.mjs +1 -10
  192. package/dist/bin/yarn3only.mjs.map +1 -1
  193. package/dist/{index.js → index.cjs} +5 -5
  194. package/dist/index.cjs.map +1 -0
  195. package/dist/index.mjs +2 -2
  196. package/dist/index.mjs.map +1 -1
  197. package/dist/lib/{index.js → index.cjs} +3 -3
  198. package/dist/lib/index.cjs.map +1 -0
  199. package/dist/lib/index.mjs +1 -1
  200. package/dist/lib/index.mjs.map +1 -1
  201. package/dist/lib/{xyReact.js → xyReact.cjs} +27 -46
  202. package/dist/lib/xyReact.cjs.map +1 -0
  203. package/dist/lib/xyReact.mjs +26 -44
  204. package/dist/lib/xyReact.mjs.map +1 -1
  205. package/package.json +46 -52
  206. package/src/actions/index.ts +5 -5
  207. package/src/bin/xy.ts +1 -1
  208. package/src/index.ts +2 -2
  209. package/src/lib/index.ts +1 -1
  210. package/src/lib/xyReact.ts +1 -1
  211. package/tsup.config.ts +2 -1
  212. package/dist/actions/index.js.map +0 -1
  213. package/dist/bin/xy.js.map +0 -1
  214. package/dist/index.js.map +0 -1
  215. package/dist/lib/index.js.map +0 -1
  216. package/dist/lib/xyReact.js.map +0 -1
  217. package/tsconfig.build.json +0 -23
  218. /package/dist/{index.d.mts → index.d.cts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/start.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('start')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,OAAO;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/start.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('start')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,OAAA;","names":["runXyWithWarning"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("test");
5
- //# sourceMappingURL=test.js.map
5
+ //# sourceMappingURL=test.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/test.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('test')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,MAAM;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/test.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('test')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,MAAA;","names":["runXyWithWarning"]}
package/dist/bin/test.mjs CHANGED
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_test = __commonJS({
8
- "src/bin/test.ts"() {
9
- runXyWithWarning("test");
10
- }
11
- });
12
- export default require_test();
3
+ runXyWithWarning("test");
13
4
  //# sourceMappingURL=test.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/test.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('test')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,MAAM;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/test.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('test')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,MAAA;","names":["runXyWithWarning"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("tsconfig-gen-clean");
5
- //# sourceMappingURL=tsconfig-gen-clean.js.map
5
+ //# sourceMappingURL=tsconfig-gen-clean.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/tsconfig-gen-clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen-clean')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,oBAAoB;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/tsconfig-gen-clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen-clean')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,oBAAA;","names":["runXyWithWarning"]}
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_tsconfig_gen_clean = __commonJS({
8
- "src/bin/tsconfig-gen-clean.ts"() {
9
- runXyWithWarning("tsconfig-gen-clean");
10
- }
11
- });
12
- export default require_tsconfig_gen_clean();
3
+ runXyWithWarning("tsconfig-gen-clean");
13
4
  //# sourceMappingURL=tsconfig-gen-clean.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/tsconfig-gen-clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen-clean')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,oBAAoB;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/tsconfig-gen-clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen-clean')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,oBAAA;","names":["runXyWithWarning"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("tsconfig-gen");
5
- //# sourceMappingURL=tsconfig-gen.js.map
5
+ //# sourceMappingURL=tsconfig-gen.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/tsconfig-gen.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/tsconfig-gen.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,cAAA;","names":["runXyWithWarning"]}
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_tsconfig_gen = __commonJS({
8
- "src/bin/tsconfig-gen.ts"() {
9
- runXyWithWarning("tsconfig-gen");
10
- }
11
- });
12
- export default require_tsconfig_gen();
3
+ runXyWithWarning("tsconfig-gen");
13
4
  //# sourceMappingURL=tsconfig-gen.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/tsconfig-gen.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,cAAc;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/tsconfig-gen.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('tsconfig-gen')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,cAAA;","names":["runXyWithWarning"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("up");
5
- //# sourceMappingURL=up.js.map
5
+ //# sourceMappingURL=up.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/up.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('up')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,IAAI;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/up.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('up')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,IAAA;","names":["runXyWithWarning"]}
package/dist/bin/up.mjs CHANGED
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_up = __commonJS({
8
- "src/bin/up.ts"() {
9
- runXyWithWarning("up");
10
- }
11
- });
12
- export default require_up();
3
+ runXyWithWarning("up");
13
4
  //# sourceMappingURL=up.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/up.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('up')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,IAAI;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/up.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('up')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,IAAA;","names":["runXyWithWarning"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("updo");
5
- //# sourceMappingURL=updo.js.map
5
+ //# sourceMappingURL=updo.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/updo.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('updo')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,MAAM;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/updo.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('updo')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,MAAA;","names":["runXyWithWarning"]}
package/dist/bin/updo.mjs CHANGED
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_updo = __commonJS({
8
- "src/bin/updo.ts"() {
9
- runXyWithWarning("updo");
10
- }
11
- });
12
- export default require_updo();
3
+ runXyWithWarning("updo");
13
4
  //# sourceMappingURL=updo.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/updo.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('updo')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,MAAM;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/updo.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('updo')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,MAAA;","names":["runXyWithWarning"]}
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- var import_lib = require("../lib");
3
+ var import_lib = require("../lib/index.ts");
4
4
  (0, import_lib.xyReact)().then(() => {
5
5
  process.exit(0);
6
6
  }).catch((error) => {
7
7
  console.error(error);
8
8
  process.exit(1);
9
9
  });
10
- //# sourceMappingURL=xy.js.map
10
+ //# sourceMappingURL=xy.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib/index.ts'\n\nxyReact()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,iBAAwB;IAExBA,oBAAAA,EACGC,KAAK,MAAA;AACJC,UAAQC,KAAK,CAAA;AACf,CAAA,EACCC,MAAM,CAACC,UAAAA;AACNC,UAAQD,MAAMA,KAAAA;AACdH,UAAQC,KAAK,CAAA;AACf,CAAA;","names":["xyReact","then","process","exit","catch","error","console"]}
package/dist/bin/xy.mjs CHANGED
@@ -1,18 +1,9 @@
1
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 { xyReact } from "../lib";
7
- var require_xy = __commonJS({
8
- "src/bin/xy.ts"() {
9
- xyReact().then(() => {
10
- process.exit(0);
11
- }).catch((error) => {
12
- console.error(error);
13
- process.exit(1);
14
- });
15
- }
2
+ import { xyReact } from "../lib/index.ts";
3
+ xyReact().then(() => {
4
+ process.exit(0);
5
+ }).catch((error) => {
6
+ console.error(error);
7
+ process.exit(1);
16
8
  });
17
- export default require_xy();
18
9
  //# sourceMappingURL=xy.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib'\n\nxyReact()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,eAAe;AAFxB;AAAA;AAIA,YAAQ,EACL,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib/index.ts'\n\nxyReact()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";AAEA,SAASA,eAAe;AAExBA,QAAAA,EACGC,KAAK,MAAA;AACJC,UAAQC,KAAK,CAAA;AACf,CAAA,EACCC,MAAM,CAACC,UAAAA;AACNC,UAAQD,MAAMA,KAAAA;AACdH,UAAQC,KAAK,CAAA;AACf,CAAA;","names":["xyReact","then","process","exit","catch","error","console"]}
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
4
4
  (0, import_ts_scripts_yarn3.runXyWithWarning)("yarn3only");
5
- //# sourceMappingURL=yarn3only.js.map
5
+ //# sourceMappingURL=yarn3only.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/yarn3only.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('yarn3only')\n"],"mappings":";;AAEA,8BAAiC;AAAA,IAEjC,0CAAiB,WAAW;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/yarn3only.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('yarn3only')\n"],"mappings":";;AAEA,8BAAiC;IAEjCA,0CAAiB,WAAA;","names":["runXyWithWarning"]}
@@ -1,13 +1,4 @@
1
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
2
  import { runXyWithWarning } from "@xylabs/ts-scripts-yarn3";
7
- var require_yarn3only = __commonJS({
8
- "src/bin/yarn3only.ts"() {
9
- runXyWithWarning("yarn3only");
10
- }
11
- });
12
- export default require_yarn3only();
3
+ runXyWithWarning("yarn3only");
13
4
  //# sourceMappingURL=yarn3only.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bin/yarn3only.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('yarn3only')\n"],"mappings":";;;;;AAEA,SAAS,wBAAwB;AAFjC;AAAA;AAIA,qBAAiB,WAAW;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/bin/yarn3only.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { runXyWithWarning } from '@xylabs/ts-scripts-yarn3'\n\nrunXyWithWarning('yarn3only')\n"],"mappings":";AAEA,SAASA,wBAAwB;AAEjCA,iBAAiB,WAAA;","names":["runXyWithWarning"]}
@@ -15,11 +15,11 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var src_exports = {};
17
17
  module.exports = __toCommonJS(src_exports);
18
- __reExport(src_exports, require("./actions"), module.exports);
19
- __reExport(src_exports, require("./lib"), module.exports);
18
+ __reExport(src_exports, require("./actions/index.ts"), module.exports);
19
+ __reExport(src_exports, require("./lib/index.ts"), module.exports);
20
20
  // Annotate the CommonJS export names for ESM import in node:
21
21
  0 && (module.exports = {
22
- ...require("./actions"),
23
- ...require("./lib")
22
+ ...require("./actions/index.ts"),
23
+ ...require("./lib/index.ts")
24
24
  });
25
- //# sourceMappingURL=index.js.map
25
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './actions/index.ts'\nexport * from './lib/index.ts'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;;wBAAc,+BAAd;AACA,wBAAc,2BADd;","names":[]}
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./actions";
2
- export * from "./lib";
1
+ export * from "./actions/index.ts";
2
+ export * from "./lib/index.ts";
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './actions'\nexport * from './lib'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './actions/index.ts'\nexport * from './lib/index.ts'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
@@ -15,9 +15,9 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var lib_exports = {};
17
17
  module.exports = __toCommonJS(lib_exports);
18
- __reExport(lib_exports, require("./xyReact"), module.exports);
18
+ __reExport(lib_exports, require("./xyReact.ts"), module.exports);
19
19
  // Annotate the CommonJS export names for ESM import in node:
20
20
  0 && (module.exports = {
21
- ...require("./xyReact")
21
+ ...require("./xyReact.ts")
22
22
  });
23
- //# sourceMappingURL=index.js.map
23
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact.ts'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;;wBAAc,yBAAd;","names":[]}
@@ -1,2 +1,2 @@
1
- export * from "./xyReact";
1
+ export * from "./xyReact.ts";
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact'\n"],"mappings":"AAAA,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from './xyReact.ts'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -6,6 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
9
10
  var __export = (target, all) => {
10
11
  for (var name in all)
11
12
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -33,56 +34,36 @@ __export(xyReact_exports, {
33
34
  });
34
35
  module.exports = __toCommonJS(xyReact_exports);
35
36
  var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
36
- var import_chalk = __toESM(require("chalk"));
37
- var import_actions = require("../actions");
38
- const xyReact = async () => {
39
- return await (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(
40
- "analyze",
41
- "Analyze - Analyze Bundles",
42
- (yargs) => {
43
- return yargs;
44
- },
45
- (argv) => {
46
- if (argv.verbose) console.log("Analyzing");
47
- process.exitCode = (0, import_actions.analyze)();
48
- }
49
- ).command(
50
- "eject",
51
- "Eject - Eject React project",
52
- (yargs) => {
53
- return yargs;
54
- },
55
- (argv) => {
56
- if (argv.verbose) console.log("Ejecting");
57
- process.exitCode = (0, import_actions.eject)();
58
- }
59
- ).command(
60
- "sitemap",
61
- "Sitemap - Generate sitemap for the project",
62
- (yargs) => {
63
- return yargs;
64
- },
65
- (argv) => {
66
- if (argv.verbose) console.log("Generating Sitemap");
67
- process.exitCode = (0, import_actions.sitemap)();
68
- }
69
- ).command(
70
- "start",
71
- "Start - Start project in browser",
72
- (yargs) => {
73
- return yargs;
74
- },
75
- (argv) => {
76
- if (argv.verbose) console.log("Starting");
77
- process.exitCode = (0, import_actions.start)();
78
- }
79
- ).demandCommand(1).command("*", "", () => {
37
+ var import_chalk = __toESM(require("chalk"), 1);
38
+ var import_actions = require("../actions/index.ts");
39
+ const xyReact = /* @__PURE__ */ __name(async () => {
40
+ return await (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("analyze", "Analyze - Analyze Bundles", (yargs) => {
41
+ return yargs;
42
+ }, (argv) => {
43
+ if (argv.verbose) console.log("Analyzing");
44
+ process.exitCode = (0, import_actions.analyze)();
45
+ }).command("eject", "Eject - Eject React project", (yargs) => {
46
+ return yargs;
47
+ }, (argv) => {
48
+ if (argv.verbose) console.log("Ejecting");
49
+ process.exitCode = (0, import_actions.eject)();
50
+ }).command("sitemap", "Sitemap - Generate sitemap for the project", (yargs) => {
51
+ return yargs;
52
+ }, (argv) => {
53
+ if (argv.verbose) console.log("Generating Sitemap");
54
+ process.exitCode = (0, import_actions.sitemap)();
55
+ }).command("start", "Start - Start project in browser", (yargs) => {
56
+ return yargs;
57
+ }, (argv) => {
58
+ if (argv.verbose) console.log("Starting");
59
+ process.exitCode = (0, import_actions.start)();
60
+ }).demandCommand(1).command("*", "", () => {
80
61
  console.error(import_chalk.default.yellow(`Command not found [${import_chalk.default.magenta(process.argv[2])}]`));
81
62
  console.log(import_chalk.default.gray("Try 'yarn xy --help' for list of commands"));
82
63
  }).help().argv;
83
- };
64
+ }, "xyReact");
84
65
  // Annotate the CommonJS export names for ESM import in node:
85
66
  0 && (module.exports = {
86
67
  xyReact
87
68
  });
88
- //# sourceMappingURL=xyReact.js.map
69
+ //# sourceMappingURL=xyReact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions/index.ts'\n\nexport const xyReact = async () => {\n return await 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,8BAAqG;AACrG,mBAAkB;AAElB,qBAA+C;AAExC,MAAMA,UAAU,mCAAA;AACrB,SAAO,UAAMC,6CAAgBC,+CAAkBC,4CAAeD,+CAAkBE,8CAAiBC,wCAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAC9FC,QACC,WACA,6BACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,WAAA;AAC9BC,YAAQC,eAAWC,wBAAAA;EACrB,CAAA,EAEDR,QACC,SACA,+BACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,UAAA;AAC9BC,YAAQC,eAAWE,sBAAAA;EACrB,CAAA,EAEDT,QACC,WACA,8CACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,oBAAA;AAC9BC,YAAQC,eAAWG,wBAAAA;EACrB,CAAA,EAEDV,QACC,SACA,oCACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,UAAA;AAC9BC,YAAQC,eAAWI,sBAAAA;EACrB,CAAA,EAEDC,cAAc,CAAA,EACdZ,QAAQ,KAAK,IAAI,MAAA;AAChBI,YAAQS,MAAMC,aAAAA,QAAMC,OAAO,sBAAsBD,aAAAA,QAAME,QAAQV,QAAQJ,KAAK,CAAA,CAAE,CAAA,GAAI,CAAA;AAClFE,YAAQC,IAAIS,aAAAA,QAAMG,KAAK,2CAAA,CAAA;EACzB,CAAA,EACCC,KAAI,EAAGhB;AACZ,GApDuB;","names":["xyReact","xyBuildCommands","xyInstallCommands","xyLintCommands","xyCommonCommands","xyParseOptions","command","yargs","argv","verbose","console","log","process","exitCode","analyze","eject","sitemap","start","demandCommand","error","chalk","yellow","magenta","gray","help"]}
@@ -1,53 +1,35 @@
1
1
  #!/usr/bin/env node
2
+ var __defProp = Object.defineProperty;
3
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
2
4
  import { xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from "@xylabs/ts-scripts-yarn3";
3
5
  import chalk from "chalk";
4
- import { analyze, eject, sitemap, start } from "../actions";
5
- const xyReact = async () => {
6
- return await xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command(
7
- "analyze",
8
- "Analyze - Analyze Bundles",
9
- (yargs) => {
10
- return yargs;
11
- },
12
- (argv) => {
13
- if (argv.verbose) console.log("Analyzing");
14
- process.exitCode = analyze();
15
- }
16
- ).command(
17
- "eject",
18
- "Eject - Eject React project",
19
- (yargs) => {
20
- return yargs;
21
- },
22
- (argv) => {
23
- if (argv.verbose) console.log("Ejecting");
24
- process.exitCode = eject();
25
- }
26
- ).command(
27
- "sitemap",
28
- "Sitemap - Generate sitemap for the project",
29
- (yargs) => {
30
- return yargs;
31
- },
32
- (argv) => {
33
- if (argv.verbose) console.log("Generating Sitemap");
34
- process.exitCode = sitemap();
35
- }
36
- ).command(
37
- "start",
38
- "Start - Start project in browser",
39
- (yargs) => {
40
- return yargs;
41
- },
42
- (argv) => {
43
- if (argv.verbose) console.log("Starting");
44
- process.exitCode = start();
45
- }
46
- ).demandCommand(1).command("*", "", () => {
6
+ import { analyze, eject, sitemap, start } from "../actions/index.ts";
7
+ const xyReact = /* @__PURE__ */ __name(async () => {
8
+ return await xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command("analyze", "Analyze - Analyze Bundles", (yargs) => {
9
+ return yargs;
10
+ }, (argv) => {
11
+ if (argv.verbose) console.log("Analyzing");
12
+ process.exitCode = analyze();
13
+ }).command("eject", "Eject - Eject React project", (yargs) => {
14
+ return yargs;
15
+ }, (argv) => {
16
+ if (argv.verbose) console.log("Ejecting");
17
+ process.exitCode = eject();
18
+ }).command("sitemap", "Sitemap - Generate sitemap for the project", (yargs) => {
19
+ return yargs;
20
+ }, (argv) => {
21
+ if (argv.verbose) console.log("Generating Sitemap");
22
+ process.exitCode = sitemap();
23
+ }).command("start", "Start - Start project in browser", (yargs) => {
24
+ return yargs;
25
+ }, (argv) => {
26
+ if (argv.verbose) console.log("Starting");
27
+ process.exitCode = start();
28
+ }).demandCommand(1).command("*", "", () => {
47
29
  console.error(chalk.yellow(`Command not found [${chalk.magenta(process.argv[2])}]`));
48
30
  console.log(chalk.gray("Try 'yarn xy --help' for list of commands"));
49
31
  }).help().argv;
50
- };
32
+ }, "xyReact");
51
33
  export {
52
34
  xyReact
53
35
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/xyReact.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions'\n\nexport const xyReact = async () => {\n return await 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,iBAAiB,kBAAkB,mBAAmB,gBAAgB,sBAAsB;AACrG,OAAO,WAAW;AAElB,SAAS,SAAS,OAAO,SAAS,aAAa;AAExC,MAAM,UAAU,YAAY;AACjC,SAAO,MAAM,gBAAgB,kBAAkB,eAAe,kBAAkB,iBAAiB,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EAClH;AAAA,IACC;AAAA,IACA;AAAA,IACA,CAAC,UAAU;AACT,aAAO;AAAA,IACT;AAAA,IACA,CAAC,SAAS;AACR,UAAI,KAAK,QAAS,SAAQ,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,QAAS,SAAQ,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,QAAS,SAAQ,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,QAAS,SAAQ,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 { xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport { analyze, eject, sitemap, start } from '../actions/index.ts'\n\nexport const xyReact = async () => {\n return await 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,SAASA,iBAAiBC,kBAAkBC,mBAAmBC,gBAAgBC,sBAAsB;AACrG,OAAOC,WAAW;AAElB,SAASC,SAASC,OAAOC,SAASC,aAAa;AAExC,MAAMC,UAAU,mCAAA;AACrB,SAAO,MAAMV,gBAAgBE,kBAAkBC,eAAeD,kBAAkBD,iBAAiBG,eAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAC9FO,QACC,WACA,6BACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,WAAA;AAC9BC,YAAQC,WAAWZ,QAAAA;EACrB,CAAA,EAEDK,QACC,SACA,+BACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,UAAA;AAC9BC,YAAQC,WAAWX,MAAAA;EACrB,CAAA,EAEDI,QACC,WACA,8CACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,oBAAA;AAC9BC,YAAQC,WAAWV,QAAAA;EACrB,CAAA,EAEDG,QACC,SACA,oCACA,CAACC,UAAAA;AACC,WAAOA;EACT,GACA,CAACC,SAAAA;AACC,QAAIA,KAAKC,QAASC,SAAQC,IAAI,UAAA;AAC9BC,YAAQC,WAAWT,MAAAA;EACrB,CAAA,EAEDU,cAAc,CAAA,EACdR,QAAQ,KAAK,IAAI,MAAA;AAChBI,YAAQK,MAAMf,MAAMgB,OAAO,sBAAsBhB,MAAMiB,QAAQL,QAAQJ,KAAK,CAAA,CAAE,CAAA,GAAI,CAAA;AAClFE,YAAQC,IAAIX,MAAMkB,KAAK,2CAAA,CAAA;EACzB,CAAA,EACCC,KAAI,EAAGX;AACZ,GApDuB;","names":["xyBuildCommands","xyCommonCommands","xyInstallCommands","xyLintCommands","xyParseOptions","chalk","analyze","eject","sitemap","start","xyReact","command","yargs","argv","verbose","console","log","process","exitCode","demandCommand","error","yellow","magenta","gray","help"]}