@xylabs/ts-scripts-react-yarn3 7.0.0-rc.21 → 7.0.0-rc.23

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 (93) hide show
  1. package/dist/browser/actions/analyze.d.ts.map +1 -0
  2. package/dist/browser/actions/eject.d.ts.map +1 -0
  3. package/dist/browser/actions/index.d.ts +1 -3
  4. package/dist/browser/actions/index.d.ts.map +1 -0
  5. package/dist/browser/actions/sitemap.d.ts.map +1 -0
  6. package/dist/browser/actions/start.d.ts.map +1 -0
  7. package/dist/browser/actions/test.d.ts.map +1 -0
  8. package/dist/browser/bin/package/build.d.ts.map +1 -0
  9. package/dist/browser/bin/package/clean-outputs.d.ts.map +1 -0
  10. package/dist/browser/bin/package/clean-typescript.d.ts.map +1 -0
  11. package/dist/browser/bin/package/clean.d.ts.map +1 -0
  12. package/dist/browser/bin/package/compile-only.d.ts.map +1 -0
  13. package/dist/browser/bin/package/compile-tsup.d.ts.map +1 -0
  14. package/dist/browser/bin/package/compile.d.ts.map +1 -0
  15. package/dist/browser/bin/package/copy-assets-cjs.d.ts.map +1 -0
  16. package/dist/browser/bin/package/copy-assets-esm.d.ts.map +1 -0
  17. package/dist/browser/bin/package/gen-docs.d.ts.map +1 -0
  18. package/dist/browser/bin/package/lint.d.ts.map +1 -0
  19. package/dist/browser/bin/package/publint.d.ts.map +1 -0
  20. package/dist/browser/bin/package/recompile.d.ts.map +1 -0
  21. package/dist/browser/bin/package/relint.d.ts.map +1 -0
  22. package/dist/browser/bin/xy.d.ts.map +1 -0
  23. package/dist/browser/index.d.ts +1 -5
  24. package/dist/browser/index.d.ts.map +1 -0
  25. package/dist/browser/lib/index.d.ts +1 -11
  26. package/dist/browser/lib/index.d.ts.map +1 -0
  27. package/dist/browser/lib/xyReact.d.ts.map +1 -0
  28. package/dist/{neutral/node → browser/test}/index.d.ts +3 -5
  29. package/dist/browser/test/index.d.ts.map +1 -0
  30. package/dist/{neutral/node → browser/test}/index.mjs +6 -0
  31. package/dist/browser/test/index.mjs.map +1 -0
  32. package/dist/neutral/actions/analyze.d.ts.map +1 -0
  33. package/dist/neutral/actions/eject.d.ts.map +1 -0
  34. package/dist/neutral/actions/index.d.ts +1 -3
  35. package/dist/neutral/actions/index.d.ts.map +1 -0
  36. package/dist/neutral/actions/sitemap.d.ts.map +1 -0
  37. package/dist/neutral/actions/start.d.ts.map +1 -0
  38. package/dist/neutral/actions/test.d.ts.map +1 -0
  39. package/dist/neutral/bin/package/build.d.ts.map +1 -0
  40. package/dist/neutral/bin/package/clean-outputs.d.ts.map +1 -0
  41. package/dist/neutral/bin/package/clean-typescript.d.ts.map +1 -0
  42. package/dist/neutral/bin/package/clean.d.ts.map +1 -0
  43. package/dist/neutral/bin/package/compile-only.d.ts.map +1 -0
  44. package/dist/neutral/bin/package/compile-tsup.d.ts.map +1 -0
  45. package/dist/neutral/bin/package/compile.d.ts.map +1 -0
  46. package/dist/neutral/bin/package/copy-assets-cjs.d.ts.map +1 -0
  47. package/dist/neutral/bin/package/copy-assets-esm.d.ts.map +1 -0
  48. package/dist/neutral/bin/package/gen-docs.d.ts.map +1 -0
  49. package/dist/neutral/bin/package/lint.d.ts.map +1 -0
  50. package/dist/neutral/bin/package/publint.d.ts.map +1 -0
  51. package/dist/neutral/bin/package/recompile.d.ts.map +1 -0
  52. package/dist/neutral/bin/package/relint.d.ts.map +1 -0
  53. package/dist/neutral/bin/xy.d.ts.map +1 -0
  54. package/dist/neutral/index.d.ts.map +1 -0
  55. package/dist/neutral/lib/index.d.ts +1 -11
  56. package/dist/neutral/lib/index.d.ts.map +1 -0
  57. package/dist/neutral/lib/xyReact.d.ts.map +1 -0
  58. package/dist/{browser/node → neutral/test}/index.d.ts +3 -1
  59. package/dist/neutral/test/index.d.ts.map +1 -0
  60. package/dist/{browser/node → neutral/test}/index.mjs +6 -0
  61. package/dist/neutral/test/index.mjs.map +1 -0
  62. package/dist/node/actions/analyze.d.ts.map +1 -0
  63. package/dist/node/actions/eject.d.ts.map +1 -0
  64. package/dist/node/actions/index.d.ts.map +1 -0
  65. package/dist/node/actions/sitemap.d.ts.map +1 -0
  66. package/dist/node/actions/start.d.ts.map +1 -0
  67. package/dist/node/actions/test.d.ts.map +1 -0
  68. package/dist/node/bin/package/build.d.ts.map +1 -0
  69. package/dist/node/bin/package/clean-outputs.d.ts.map +1 -0
  70. package/dist/node/bin/package/clean-typescript.d.ts.map +1 -0
  71. package/dist/node/bin/package/clean.d.ts.map +1 -0
  72. package/dist/node/bin/package/compile-only.d.ts.map +1 -0
  73. package/dist/node/bin/package/compile-tsup.d.ts.map +1 -0
  74. package/dist/node/bin/package/compile.d.ts.map +1 -0
  75. package/dist/node/bin/package/copy-assets-cjs.d.ts.map +1 -0
  76. package/dist/node/bin/package/copy-assets-esm.d.ts.map +1 -0
  77. package/dist/node/bin/package/gen-docs.d.ts.map +1 -0
  78. package/dist/node/bin/package/lint.d.ts.map +1 -0
  79. package/dist/node/bin/package/publint.d.ts.map +1 -0
  80. package/dist/node/bin/package/recompile.d.ts.map +1 -0
  81. package/dist/node/bin/package/relint.d.ts.map +1 -0
  82. package/dist/node/bin/xy.d.ts.map +1 -0
  83. package/dist/node/index.d.ts.map +1 -0
  84. package/dist/node/lib/index.d.ts.map +1 -0
  85. package/dist/node/lib/xyReact.d.ts.map +1 -0
  86. package/dist/node/{node → test}/index.d.ts +3 -1
  87. package/dist/node/test/index.d.ts.map +1 -0
  88. package/dist/node/{node → test}/index.mjs +6 -0
  89. package/dist/node/test/index.mjs.map +1 -0
  90. package/package.json +4 -4
  91. package/dist/browser/node/index.mjs.map +0 -1
  92. package/dist/neutral/node/index.mjs.map +0 -1
  93. package/dist/node/node/index.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../../src/actions/analyze.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eject.d.ts","sourceRoot":"","sources":["../../../src/actions/eject.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -6,6 +6,4 @@ declare const sitemap: () => number;
6
6
 
7
7
  declare const start: () => number;
8
8
 
9
- declare const test: () => number;
10
-
11
- export { analyze, eject, sitemap, start, test };
9
+ export { analyze, eject, sitemap, start };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../src/actions/sitemap.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/actions/start.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../src/actions/test.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,IAAI,cAEhB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/build.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-outputs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-outputs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-typescript.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-typescript.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-only.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-only.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-tsup.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-tsup.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-cjs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-cjs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-esm.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-esm.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gen-docs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/gen-docs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/lint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/publint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recompile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/recompile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/relint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xy.d.ts","sourceRoot":"","sources":["../../../src/bin/xy.ts"],"names":[],"mappings":""}
@@ -1,9 +1,5 @@
1
- declare const analyze: () => number;
2
-
3
1
  declare const eject: () => number;
4
2
 
5
- declare const sitemap: () => number;
6
-
7
3
  declare const start: () => number;
8
4
 
9
5
  declare const test: () => number;
@@ -19,4 +15,4 @@ declare const xyReact: () => Promise<{
19
15
  $0: string;
20
16
  }>;
21
17
 
22
- export { analyze, eject, sitemap, start, test, xyReact };
18
+ export { eject, start, test, xyReact };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA"}
@@ -1,12 +1,2 @@
1
- /** @public */
2
- declare const xyReact: () => Promise<{
3
- [x: string]: unknown;
4
- _: (string | number)[];
5
- $0: string;
6
- } | {
7
- [x: string]: unknown;
8
- _: (string | number)[];
9
- $0: string;
10
- }>;
11
1
 
12
- export { xyReact };
2
+ export { };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xyReact.d.ts","sourceRoot":"","sources":["../../../src/lib/xyReact.ts"],"names":[],"mappings":";AAWA,cAAc;AACd,eAAO,MAAM,OAAO;;;;;;;;EAoDnB,CAAA"}
@@ -1,9 +1,5 @@
1
- declare const analyze: () => number;
2
-
3
1
  declare const eject: () => number;
4
2
 
5
- declare const sitemap: () => number;
6
-
7
3
  declare const start: () => number;
8
4
 
9
5
  declare const test: () => number;
@@ -19,4 +15,6 @@ declare const xyReact: () => Promise<{
19
15
  $0: string;
20
16
  }>;
21
17
 
22
- export { analyze, eject, sitemap, start, test, xyReact };
18
+ declare function testFunc(): boolean;
19
+
20
+ export { eject, start, test, testFunc, xyReact };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAE/B,wBAAgB,QAAQ,YAEvB"}
@@ -83,12 +83,18 @@ var xyReact = async () => {
83
83
  console.log(chalk.gray("Try 'yarn xy --help' for list of commands"));
84
84
  }).help().argv;
85
85
  };
86
+
87
+ // src/test/index.ts
88
+ function testFunc() {
89
+ return globalThis.test;
90
+ }
86
91
  export {
87
92
  analyze,
88
93
  eject,
89
94
  sitemap,
90
95
  start,
91
96
  test,
97
+ testFunc,
92
98
  xyReact
93
99
  };
94
100
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts","../../../src/test/index.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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","export * from '../actions/index.ts'\nexport * from '../lib/index.ts'\n\nexport function testFunc() {\n return globalThis.test\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;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KAAK,2CAA2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;;;AC7DO,SAAS,WAAW;AACzB,SAAO,WAAW;AACpB;","names":["runSteps","runSteps","runSteps","runSteps"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../../src/actions/analyze.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eject.d.ts","sourceRoot":"","sources":["../../../src/actions/eject.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -1,5 +1,3 @@
1
- declare const analyze: () => number;
2
-
3
1
  declare const eject: () => number;
4
2
 
5
3
  declare const sitemap: () => number;
@@ -8,4 +6,4 @@ declare const start: () => number;
8
6
 
9
7
  declare const test: () => number;
10
8
 
11
- export { analyze, eject, sitemap, start, test };
9
+ export { eject, sitemap, start, test };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../src/actions/sitemap.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/actions/start.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../src/actions/test.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,IAAI,cAEhB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/build.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-outputs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-outputs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-typescript.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-typescript.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-only.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-only.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-tsup.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-tsup.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-cjs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-cjs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-esm.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-esm.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gen-docs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/gen-docs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/lint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/publint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recompile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/recompile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/relint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xy.d.ts","sourceRoot":"","sources":["../../../src/bin/xy.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA"}
@@ -1,12 +1,2 @@
1
- /** @public */
2
- declare const xyReact: () => Promise<{
3
- [x: string]: unknown;
4
- _: (string | number)[];
5
- $0: string;
6
- } | {
7
- [x: string]: unknown;
8
- _: (string | number)[];
9
- $0: string;
10
- }>;
11
1
 
12
- export { xyReact };
2
+ export { };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xyReact.d.ts","sourceRoot":"","sources":["../../../src/lib/xyReact.ts"],"names":[],"mappings":";AAWA,cAAc;AACd,eAAO,MAAM,OAAO;;;;;;;;EAoDnB,CAAA"}
@@ -19,4 +19,6 @@ declare const xyReact: () => Promise<{
19
19
  $0: string;
20
20
  }>;
21
21
 
22
- export { analyze, eject, sitemap, start, test, xyReact };
22
+ declare function testFunc(): boolean;
23
+
24
+ export { analyze, eject, sitemap, start, test, testFunc, xyReact };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAE/B,wBAAgB,QAAQ,YAEvB"}
@@ -83,12 +83,18 @@ var xyReact = async () => {
83
83
  console.log(chalk.gray("Try 'yarn xy --help' for list of commands"));
84
84
  }).help().argv;
85
85
  };
86
+
87
+ // src/test/index.ts
88
+ function testFunc() {
89
+ return globalThis.test;
90
+ }
86
91
  export {
87
92
  analyze,
88
93
  eject,
89
94
  sitemap,
90
95
  start,
91
96
  test,
97
+ testFunc,
92
98
  xyReact
93
99
  };
94
100
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts","../../../src/test/index.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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","export * from '../actions/index.ts'\nexport * from '../lib/index.ts'\n\nexport function testFunc() {\n return globalThis.test\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,OAAO,MAAM;AAC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EACrE,CAAC,EACA,KAAK,EAAE;AACZ;;;AC7DO,SAAS,WAAW;AACzB,SAAO,WAAW;AACpB;","names":["runSteps","runSteps","runSteps","runSteps"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../../../src/actions/analyze.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eject.d.ts","sourceRoot":"","sources":["../../../src/actions/eject.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../src/actions/sitemap.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,OAAO,cAEnB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/actions/start.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,KAAK,cAEjB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../src/actions/test.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,IAAI,cAEhB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/build.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-outputs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-outputs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean-typescript.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean-typescript.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clean.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/clean.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-only.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-only.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile-tsup.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile-tsup.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/compile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-cjs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-cjs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-assets-esm.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/copy-assets-esm.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gen-docs.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/gen-docs.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/lint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/publint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recompile.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/recompile.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/relint.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xy.d.ts","sourceRoot":"","sources":["../../../src/bin/xy.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xyReact.d.ts","sourceRoot":"","sources":["../../../src/lib/xyReact.ts"],"names":[],"mappings":";AAWA,cAAc;AACd,eAAO,MAAM,OAAO;;;;;;;;EAoDnB,CAAA"}
@@ -19,4 +19,6 @@ declare const xyReact: () => Promise<{
19
19
  $0: string;
20
20
  }>;
21
21
 
22
- export { analyze, eject, sitemap, start, test, xyReact };
22
+ declare function testFunc(): boolean;
23
+
24
+ export { analyze, eject, sitemap, start, test, testFunc, xyReact };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAE/B,wBAAgB,QAAQ,YAEvB"}
@@ -83,12 +83,18 @@ var xyReact = async () => {
83
83
  console.log(chalk.gray("Try 'yarn xy --help' for list of commands"));
84
84
  }).help().argv;
85
85
  };
86
+
87
+ // src/test/index.ts
88
+ function testFunc() {
89
+ return globalThis.test;
90
+ }
86
91
  export {
87
92
  analyze,
88
93
  eject,
89
94
  sitemap,
90
95
  start,
91
96
  test,
97
+ testFunc,
92
98
  xyReact
93
99
  };
94
100
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts","../../../src/test/index.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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","export * from '../actions/index.ts'\nexport * from '../lib/index.ts'\n\nexport function testFunc() {\n return globalThis.test\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,OAAO,MAAM;AACxB,SAAOA,UAAS,QAAQ,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC;AAC1D;;;ACHA;AAAA,EACE;AAAA,EAAiB;AAAA,EAAkB;AAAA,EAAmB;AAAA,EAAgB;AAAA,OACjE;AACP,OAAO,WAAW;AAOX,IAAM,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;;;AC7DO,SAAS,WAAW;AACzB,SAAO,WAAW;AACpB;","names":["runSteps","runSteps","runSteps","runSteps"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/ts-scripts-react-yarn3",
3
- "version": "7.0.0-rc.21",
3
+ "version": "7.0.0-rc.23",
4
4
  "description": "TypeScript project scripts",
5
5
  "keywords": [
6
6
  "xylabs",
@@ -49,14 +49,14 @@
49
49
  "LICENSE"
50
50
  ],
51
51
  "dependencies": {
52
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.21",
52
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
53
53
  "chalk": "^5.4.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^24.0.13",
57
57
  "@types/yargs": "^17.0.33",
58
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.21",
59
- "@xylabs/tsconfig": "^7.0.0-rc.21",
58
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
59
+ "@xylabs/tsconfig": "^7.0.0-rc.23",
60
60
  "publint": "^0.3.12",
61
61
  "tsup": "8.5.0",
62
62
  "typescript": "^5.8.3"
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAA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A2C,CAAC;AAAA,EACrE,CAAC,EACA,KAAK,EAAE;AACZ;","names":["runSteps","runSteps","runSteps","runSteps"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,OAAO,MAAM;AACxB,SAAOA,UAAS,QAAQ,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC;AAC1D;;;ACHA;AAAA,EACE;AAAA,EAAiB;AAAA,EAAkB;AAAA,EAAmB;AAAA,EAAgB;AAAA,OACjE;AACP,OAAO,WAAW;AAOX,IAAM,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":["runSteps","runSteps","runSteps","runSteps"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/actions/analyze.ts","../../../src/actions/eject.ts","../../../src/actions/sitemap.ts","../../../src/actions/start.ts","../../../src/actions/test.ts","../../../src/lib/xyReact.ts"],"sourcesContent":["import { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const analyze = () => {\n return runSteps('Analyze', [['yarn', ['source-map-explorer', 'build/static/js/*.ts']]])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const eject = () => {\n return runSteps('Eject', [['yarn', 'react-scripts eject']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const sitemap = () => {\n return runSteps('Sitemap', [['ts-node-script', './scripts/sitemap.ts']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const start = () => {\n return runSteps('Start', [['yarn', 'react-scripts start']])\n}\n","#!/usr/bin/env node\nimport { runSteps } from '@xylabs/ts-scripts-yarn3'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', 'react-scripts test']])\n}\n","#!/usr/bin/env node\n\nimport {\n xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions,\n} from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nimport {\n analyze, eject, sitemap, start,\n} from '../actions/index.ts'\n\n/** @public */\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":";AAAA,SAAS,gBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,uBAAuB,sBAAsB,CAAC,CAAC,CAAC;AACxF;;;ACHA,SAAS,YAAAA,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,UAAU,MAAM;AAC3B,SAAOA,UAAS,WAAW,CAAC,CAAC,kBAAkB,sBAAsB,CAAC,CAAC;AACzE;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,QAAQ,MAAM;AACzB,SAAOA,UAAS,SAAS,CAAC,CAAC,QAAQ,qBAAqB,CAAC,CAAC;AAC5D;;;ACJA,SAAS,YAAAC,iBAAgB;AAElB,IAAM,OAAO,MAAM;AACxB,SAAOA,UAAS,QAAQ,CAAC,CAAC,QAAQ,oBAAoB,CAAC,CAAC;AAC1D;;;ACHA;AAAA,EACE;AAAA,EAAiB;AAAA,EAAkB;AAAA,EAAmB;AAAA,EAAgB;AAAA,OACjE;AACP,OAAO,WAAW;AAOX,IAAM,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,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