@xylabs/ts-scripts-react-yarn3 3.12.3 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/package/clean-outputs.js +2 -1
- package/dist/bin/package/clean-outputs.js.map +1 -1
- package/dist/bin/package/clean-outputs.mjs +2 -1
- package/dist/bin/package/clean-outputs.mjs.map +1 -1
- package/dist/bin/package/clean-typescript.js +2 -1
- package/dist/bin/package/clean-typescript.js.map +1 -1
- package/dist/bin/package/clean-typescript.mjs +2 -1
- package/dist/bin/package/clean-typescript.mjs.map +1 -1
- package/dist/bin/package/clean.js +2 -1
- package/dist/bin/package/clean.js.map +1 -1
- package/dist/bin/package/clean.mjs +2 -1
- package/dist/bin/package/clean.mjs.map +1 -1
- package/dist/bin/package/gen-docs.js +2 -1
- package/dist/bin/package/gen-docs.js.map +1 -1
- package/dist/bin/package/gen-docs.mjs +2 -1
- package/dist/bin/package/gen-docs.mjs.map +1 -1
- package/dist/bin/xy.js +2 -1
- package/dist/bin/xy.js.map +1 -1
- package/dist/bin/xy.mjs +2 -1
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/lib/xyReact.js +2 -2
- package/dist/lib/xyReact.js.map +1 -1
- package/dist/lib/xyReact.mjs +2 -2
- package/dist/lib/xyReact.mjs.map +1 -1
- package/package.json +7 -6
- package/src/bin/package/clean-outputs.ts +3 -1
- package/src/bin/package/clean-typescript.ts +3 -1
- package/src/bin/package/clean.ts +3 -1
- package/src/bin/package/gen-docs.ts +3 -1
- package/src/bin/xy.ts +3 -1
- package/src/lib/xyReact.ts +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
|
|
4
|
-
|
|
4
|
+
var import_forget = require("@xylabs/forget");
|
|
5
|
+
(0, import_forget.forget)((0, import_ts_scripts_yarn3.packageCleanOutputs)());
|
|
5
6
|
//# sourceMappingURL=clean-outputs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageCleanOutputs())\n"],"mappings":";;AAEA,8BAAoC;AAEpC,oBAAuB;AAAA,IAEvB,0BAAO,6CAAoB,CAAC;","names":[]}
|
|
@@ -4,9 +4,10 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
6
|
import { packageCleanOutputs } from "@xylabs/ts-scripts-yarn3";
|
|
7
|
+
import { forget } from "@xylabs/forget";
|
|
7
8
|
var require_clean_outputs = __commonJS({
|
|
8
9
|
"src/bin/package/clean-outputs.ts"() {
|
|
9
|
-
packageCleanOutputs();
|
|
10
|
+
forget(packageCleanOutputs());
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export default require_clean_outputs();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageCleanOutputs())\n"],"mappings":";;;;;AAEA,SAAS,2BAA2B;AAEpC,SAAS,cAAc;AAJvB;AAAA;AAMA,WAAO,oBAAoB,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
|
|
4
|
-
|
|
4
|
+
var import_forget = require("@xylabs/forget");
|
|
5
|
+
(0, import_forget.forget)((0, import_ts_scripts_yarn3.packageCleanTypescript)());
|
|
5
6
|
//# sourceMappingURL=clean-typescript.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageCleanTypescript())\n"],"mappings":";;AAEA,8BAAuC;AAEvC,oBAAuB;AAAA,IAEvB,0BAAO,gDAAuB,CAAC;","names":[]}
|
|
@@ -4,9 +4,10 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
6
|
import { packageCleanTypescript } from "@xylabs/ts-scripts-yarn3";
|
|
7
|
+
import { forget } from "@xylabs/forget";
|
|
7
8
|
var require_clean_typescript = __commonJS({
|
|
8
9
|
"src/bin/package/clean-typescript.ts"() {
|
|
9
|
-
packageCleanTypescript();
|
|
10
|
+
forget(packageCleanTypescript());
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export default require_clean_typescript();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageCleanTypescript())\n"],"mappings":";;;;;AAEA,SAAS,8BAA8B;AAEvC,SAAS,cAAc;AAJvB;AAAA;AAMA,WAAO,uBAAuB,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
|
|
4
|
-
|
|
4
|
+
var import_forget = require("@xylabs/forget");
|
|
5
|
+
(0, import_forget.forget)((0, import_ts_scripts_yarn3.packageClean)());
|
|
5
6
|
//# sourceMappingURL=clean.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageClean())\n"],"mappings":";;AAEA,8BAA6B;AAE7B,oBAAuB;AAAA,IAEvB,0BAAO,sCAAa,CAAC;","names":[]}
|
|
@@ -4,9 +4,10 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
6
|
import { packageClean } from "@xylabs/ts-scripts-yarn3";
|
|
7
|
+
import { forget } from "@xylabs/forget";
|
|
7
8
|
var require_clean = __commonJS({
|
|
8
9
|
"src/bin/package/clean.ts"() {
|
|
9
|
-
packageClean();
|
|
10
|
+
forget(packageClean());
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export default require_clean();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageClean())\n"],"mappings":";;;;;AAEA,SAAS,oBAAoB;AAE7B,SAAS,cAAc;AAJvB;AAAA;AAMA,WAAO,aAAa,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
|
|
4
|
-
|
|
4
|
+
var import_forget = require("@xylabs/forget");
|
|
5
|
+
(0, import_forget.forget)((0, import_ts_scripts_yarn3.packageGenDocs)());
|
|
5
6
|
//# sourceMappingURL=gen-docs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageGenDocs())\n"],"mappings":";;AAEA,8BAA+B;AAE/B,oBAAuB;AAAA,IAEvB,0BAAO,wCAAe,CAAC;","names":[]}
|
|
@@ -4,9 +4,10 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
6
|
import { packageGenDocs } from "@xylabs/ts-scripts-yarn3";
|
|
7
|
+
import { forget } from "@xylabs/forget";
|
|
7
8
|
var require_gen_docs = __commonJS({
|
|
8
9
|
"src/bin/package/gen-docs.ts"() {
|
|
9
|
-
packageGenDocs();
|
|
10
|
+
forget(packageGenDocs());
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export default require_gen_docs();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '@xylabs/ts-scripts-yarn3'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '@xylabs/ts-scripts-yarn3'\n\nimport { forget } from '@xylabs/forget'\n\nforget(packageGenDocs())\n"],"mappings":";;;;;AAEA,SAAS,sBAAsB;AAE/B,SAAS,cAAc;AAJvB;AAAA;AAMA,WAAO,eAAe,CAAC;AAAA;AAAA;","names":[]}
|
package/dist/bin/xy.js
CHANGED
package/dist/bin/xy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib'\n\
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib'\n\nimport { forget } from '@xylabs/forget'\n\nforget(xyReact())\n"],"mappings":";;AAEA,iBAAwB;AAExB,oBAAuB;AAAA,IAEvB,0BAAO,oBAAQ,CAAC;","names":[]}
|
package/dist/bin/xy.mjs
CHANGED
|
@@ -4,9 +4,10 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
6
|
import { xyReact } from "../lib";
|
|
7
|
+
import { forget } from "@xylabs/forget";
|
|
7
8
|
var require_xy = __commonJS({
|
|
8
9
|
"src/bin/xy.ts"() {
|
|
9
|
-
xyReact();
|
|
10
|
+
forget(xyReact());
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export default require_xy();
|
package/dist/bin/xy.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib'\n\
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xyReact } from '../lib'\n\nimport { forget } from '@xylabs/forget'\n\nforget(xyReact())\n"],"mappings":";;;;;AAEA,SAAS,eAAe;AAExB,SAAS,cAAc;AAJvB;AAAA;AAMA,WAAO,QAAQ,CAAC;AAAA;AAAA;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -8,11 +8,11 @@ declare const start: () => number;
|
|
|
8
8
|
|
|
9
9
|
declare const test: () => number;
|
|
10
10
|
|
|
11
|
-
declare const xyReact: () => {
|
|
11
|
+
declare const xyReact: () => Promise<{
|
|
12
12
|
[x: string]: unknown;
|
|
13
13
|
_: (string | number)[];
|
|
14
14
|
$0: string;
|
|
15
|
-
} |
|
|
15
|
+
} | {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
_: (string | number)[];
|
|
18
18
|
$0: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ declare const start: () => number;
|
|
|
8
8
|
|
|
9
9
|
declare const test: () => number;
|
|
10
10
|
|
|
11
|
-
declare const xyReact: () => {
|
|
11
|
+
declare const xyReact: () => Promise<{
|
|
12
12
|
[x: string]: unknown;
|
|
13
13
|
_: (string | number)[];
|
|
14
14
|
$0: string;
|
|
15
|
-
} |
|
|
15
|
+
} | {
|
|
16
16
|
[x: string]: unknown;
|
|
17
17
|
_: (string | number)[];
|
|
18
18
|
$0: string;
|
package/dist/lib/xyReact.js
CHANGED
|
@@ -35,8 +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
|
-
const xyReact = () => {
|
|
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(
|
|
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
40
|
"analyze",
|
|
41
41
|
"Analyze - Analyze Bundles",
|
|
42
42
|
(yargs) => {
|
package/dist/lib/xyReact.js.map
CHANGED
|
@@ -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 = () => {\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,
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,8BAAqG;AACrG,mBAAkB;AAElB,qBAA+C;AAExC,MAAM,UAAU,YAAY;AACjC,SAAO,UAAM,6CAAgB,+CAAkB,4CAAe,+CAAkB,8CAAiB,wCAAe,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,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,QAAS,SAAQ,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,QAAS,SAAQ,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,QAAS,SAAQ,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"]}
|
package/dist/lib/xyReact.mjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { xyBuildCommands, xyCommonCommands, xyInstallCommands, xyLintCommands, xyParseOptions } from "@xylabs/ts-scripts-yarn3";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { analyze, eject, sitemap, start } from "../actions";
|
|
5
|
-
const xyReact = () => {
|
|
6
|
-
return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command(
|
|
5
|
+
const xyReact = async () => {
|
|
6
|
+
return await xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions()))))).command(
|
|
7
7
|
"analyze",
|
|
8
8
|
"Analyze - Analyze Bundles",
|
|
9
9
|
(yargs) => {
|
package/dist/lib/xyReact.mjs.map
CHANGED
|
@@ -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 = () => {\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,iBAAiB,kBAAkB,mBAAmB,gBAAgB,sBAAsB;AACrG,OAAO,WAAW;AAElB,SAAS,SAAS,OAAO,SAAS,aAAa;AAExC,MAAM,UAAU,
|
|
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":[]}
|
package/package.json
CHANGED
|
@@ -49,17 +49,18 @@
|
|
|
49
49
|
"url": "https://github.com/xylabs/config/issues"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@xylabs/
|
|
52
|
+
"@xylabs/forget": "^3.6.5",
|
|
53
|
+
"@xylabs/ts-scripts-yarn3": "^3.13.0",
|
|
53
54
|
"chalk": "^4.1.2",
|
|
54
55
|
"yargs": "^17.7.2"
|
|
55
56
|
},
|
|
56
57
|
"description": "TypeScript project scripts",
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@types/yargs": "^17.0.32",
|
|
59
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
60
|
-
"@xylabs/tsconfig": "^3.
|
|
61
|
-
"publint": "^0.2.
|
|
62
|
-
"tsup": "^8.1.
|
|
60
|
+
"@xylabs/ts-scripts-yarn3": "^3.13.0",
|
|
61
|
+
"@xylabs/tsconfig": "^3.13.0",
|
|
62
|
+
"publint": "^0.2.9",
|
|
63
|
+
"tsup": "^8.1.2",
|
|
63
64
|
"typescript": "^5.5.3"
|
|
64
65
|
},
|
|
65
66
|
"peerDependencies": {
|
|
@@ -109,6 +110,6 @@
|
|
|
109
110
|
"package-recompile": "tsup && publint ."
|
|
110
111
|
},
|
|
111
112
|
"sideEffects": false,
|
|
112
|
-
"version": "3.
|
|
113
|
+
"version": "3.13.0",
|
|
113
114
|
"type": "commonjs"
|
|
114
115
|
}
|
package/src/bin/package/clean.ts
CHANGED
package/src/bin/xy.ts
CHANGED
package/src/lib/xyReact.ts
CHANGED
|
@@ -5,8 +5,8 @@ import chalk from 'chalk'
|
|
|
5
5
|
|
|
6
6
|
import { analyze, eject, sitemap, start } from '../actions'
|
|
7
7
|
|
|
8
|
-
export const xyReact = () => {
|
|
9
|
-
return xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))
|
|
8
|
+
export const xyReact = async () => {
|
|
9
|
+
return await xyBuildCommands(xyInstallCommands(xyLintCommands(xyInstallCommands(xyCommonCommands(xyParseOptions())))))
|
|
10
10
|
.command(
|
|
11
11
|
'analyze',
|
|
12
12
|
'Analyze - Analyze Bundles',
|