@xylabs/ts-scripts-react-yarn3 3.9.1 → 3.10.1
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/actions/index.js +0 -2
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/index.mjs +0 -1
- package/dist/actions/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -4
- package/dist/index.d.ts +1 -4
- package/package.json +4 -4
- package/src/actions/index.ts +0 -1
- package/dist/actions/package/compile.js +0 -43
- package/dist/actions/package/compile.js.map +0 -1
- package/dist/actions/package/compile.mjs +0 -18
- package/dist/actions/package/compile.mjs.map +0 -1
- package/dist/actions/package/index.js +0 -23
- package/dist/actions/package/index.js.map +0 -1
- package/dist/actions/package/index.mjs +0 -2
- package/dist/actions/package/index.mjs.map +0 -1
- package/src/actions/package/compile.ts +0 -15
- package/src/actions/package/index.ts +0 -1
package/dist/actions/index.js
CHANGED
|
@@ -19,7 +19,6 @@ __reExport(actions_exports, require("./analyze"), module.exports);
|
|
|
19
19
|
__reExport(actions_exports, require("./build"), module.exports);
|
|
20
20
|
__reExport(actions_exports, require("./build-ci"), module.exports);
|
|
21
21
|
__reExport(actions_exports, require("./eject"), module.exports);
|
|
22
|
-
__reExport(actions_exports, require("./package"), module.exports);
|
|
23
22
|
__reExport(actions_exports, require("./rebuild"), module.exports);
|
|
24
23
|
__reExport(actions_exports, require("./sitemap"), module.exports);
|
|
25
24
|
__reExport(actions_exports, require("./start"), module.exports);
|
|
@@ -30,7 +29,6 @@ __reExport(actions_exports, require("./test"), module.exports);
|
|
|
30
29
|
...require("./build"),
|
|
31
30
|
...require("./build-ci"),
|
|
32
31
|
...require("./eject"),
|
|
33
|
-
...require("./package"),
|
|
34
32
|
...require("./rebuild"),
|
|
35
33
|
...require("./sitemap"),
|
|
36
34
|
...require("./start"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/index.ts"],"sourcesContent":["export * from './analyze'\nexport * from './build'\nexport * from './build-ci'\nexport * from './eject'\nexport * from './
|
|
1
|
+
{"version":3,"sources":["../../src/actions/index.ts"],"sourcesContent":["export * from './analyze'\nexport * from './build'\nexport * from './build-ci'\nexport * from './eject'\nexport * from './rebuild'\nexport * from './sitemap'\nexport * from './start'\nexport * from './test'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4BAAc,sBAAd;AACA,4BAAc,oBADd;AAEA,4BAAc,uBAFd;AAGA,4BAAc,oBAHd;AAIA,4BAAc,sBAJd;AAKA,4BAAc,sBALd;AAMA,4BAAc,oBANd;AAOA,4BAAc,mBAPd;","names":[]}
|
package/dist/actions/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/index.ts"],"sourcesContent":["export * from './analyze'\nexport * from './build'\nexport * from './build-ci'\nexport * from './eject'\nexport * from './
|
|
1
|
+
{"version":3,"sources":["../../src/actions/index.ts"],"sourcesContent":["export * from './analyze'\nexport * from './build'\nexport * from './build-ci'\nexport * from './eject'\nexport * from './rebuild'\nexport * from './sitemap'\nexport * from './start'\nexport * from './test'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -8,9 +8,6 @@ declare const buildci: () => number;
|
|
|
8
8
|
|
|
9
9
|
declare const eject: () => number;
|
|
10
10
|
|
|
11
|
-
declare const packageCompile: () => number;
|
|
12
|
-
declare const packageCompileAsync: () => Promise<number>;
|
|
13
|
-
|
|
14
11
|
declare const rebuild: () => number;
|
|
15
12
|
|
|
16
13
|
declare const sitemap: () => number;
|
|
@@ -31,4 +28,4 @@ declare const xyReact: () => {
|
|
|
31
28
|
|
|
32
29
|
declare const xyReactBuildCommands: (args: yargs.Argv) => yargs.Argv<{}>;
|
|
33
30
|
|
|
34
|
-
export { analyze, build, buildci, eject,
|
|
31
|
+
export { analyze, build, buildci, eject, rebuild, sitemap, start, test, xyReact, xyReactBuildCommands };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,6 @@ declare const buildci: () => number;
|
|
|
8
8
|
|
|
9
9
|
declare const eject: () => number;
|
|
10
10
|
|
|
11
|
-
declare const packageCompile: () => number;
|
|
12
|
-
declare const packageCompileAsync: () => Promise<number>;
|
|
13
|
-
|
|
14
11
|
declare const rebuild: () => number;
|
|
15
12
|
|
|
16
13
|
declare const sitemap: () => number;
|
|
@@ -31,4 +28,4 @@ declare const xyReact: () => {
|
|
|
31
28
|
|
|
32
29
|
declare const xyReactBuildCommands: (args: yargs.Argv) => yargs.Argv<{}>;
|
|
33
30
|
|
|
34
|
-
export { analyze, build, buildci, eject,
|
|
31
|
+
export { analyze, build, buildci, eject, rebuild, sitemap, start, test, xyReact, xyReactBuildCommands };
|
package/package.json
CHANGED
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"url": "https://github.com/xylabs/config/issues"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@xylabs/ts-scripts-yarn3": "~3.
|
|
52
|
+
"@xylabs/ts-scripts-yarn3": "~3.10.1",
|
|
53
53
|
"chalk": "^4.1.2",
|
|
54
54
|
"yargs": "^17.7.2"
|
|
55
55
|
},
|
|
56
56
|
"description": "TypeScript project scripts",
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/yargs": "^17.0.32",
|
|
59
|
-
"@xylabs/ts-scripts-yarn3": "~3.
|
|
60
|
-
"@xylabs/tsconfig": "~3.
|
|
59
|
+
"@xylabs/ts-scripts-yarn3": "~3.10.1",
|
|
60
|
+
"@xylabs/tsconfig": "~3.10.1",
|
|
61
61
|
"publint": "^0.2.7",
|
|
62
62
|
"tsup": "^8.0.2",
|
|
63
63
|
"typescript": "^5.4.5"
|
|
@@ -112,6 +112,6 @@
|
|
|
112
112
|
"package-recompile": "tsup && publint ."
|
|
113
113
|
},
|
|
114
114
|
"sideEffects": false,
|
|
115
|
-
"version": "3.
|
|
115
|
+
"version": "3.10.1",
|
|
116
116
|
"type": "commonjs"
|
|
117
117
|
}
|
package/src/actions/index.ts
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var compile_exports = {};
|
|
20
|
-
__export(compile_exports, {
|
|
21
|
-
packageCompile: () => packageCompile,
|
|
22
|
-
packageCompileAsync: () => packageCompileAsync
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(compile_exports);
|
|
25
|
-
var import_ts_scripts_yarn3 = require("@xylabs/ts-scripts-yarn3");
|
|
26
|
-
const packageCompile = () => {
|
|
27
|
-
return (0, import_ts_scripts_yarn3.runSteps)("Package Compile", [
|
|
28
|
-
["yarn", ["react-scripts", "build"]],
|
|
29
|
-
["ts-node-script", "./scripts/sitemap.ts"]
|
|
30
|
-
]);
|
|
31
|
-
};
|
|
32
|
-
const packageCompileAsync = () => {
|
|
33
|
-
return (0, import_ts_scripts_yarn3.runStepsAsync)("Package Compile", [
|
|
34
|
-
["yarn", ["react-scripts", "build"]],
|
|
35
|
-
["ts-node-script", "./scripts/sitemap.ts"]
|
|
36
|
-
]);
|
|
37
|
-
};
|
|
38
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
-
0 && (module.exports = {
|
|
40
|
-
packageCompile,
|
|
41
|
-
packageCompileAsync
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=compile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import { runSteps, runStepsAsync } from '@xylabs/ts-scripts-yarn3'\n\nexport const packageCompile = () => {\n return runSteps('Package Compile', [\n ['yarn', ['react-scripts', 'build']],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n\nexport const packageCompileAsync = () => {\n return runStepsAsync('Package Compile', [\n ['yarn', ['react-scripts', 'build']],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAwC;AAEjC,MAAM,iBAAiB,MAAM;AAClC,aAAO,kCAAS,mBAAmB;AAAA,IACjC,CAAC,QAAQ,CAAC,iBAAiB,OAAO,CAAC;AAAA,IACnC,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;AAEO,MAAM,sBAAsB,MAAM;AACvC,aAAO,uCAAc,mBAAmB;AAAA,IACtC,CAAC,QAAQ,CAAC,iBAAiB,OAAO,CAAC;AAAA,IACnC,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;","names":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { runSteps, runStepsAsync } from "@xylabs/ts-scripts-yarn3";
|
|
2
|
-
const packageCompile = () => {
|
|
3
|
-
return runSteps("Package Compile", [
|
|
4
|
-
["yarn", ["react-scripts", "build"]],
|
|
5
|
-
["ts-node-script", "./scripts/sitemap.ts"]
|
|
6
|
-
]);
|
|
7
|
-
};
|
|
8
|
-
const packageCompileAsync = () => {
|
|
9
|
-
return runStepsAsync("Package Compile", [
|
|
10
|
-
["yarn", ["react-scripts", "build"]],
|
|
11
|
-
["ts-node-script", "./scripts/sitemap.ts"]
|
|
12
|
-
]);
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
packageCompile,
|
|
16
|
-
packageCompileAsync
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=compile.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import { runSteps, runStepsAsync } from '@xylabs/ts-scripts-yarn3'\n\nexport const packageCompile = () => {\n return runSteps('Package Compile', [\n ['yarn', ['react-scripts', 'build']],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n\nexport const packageCompileAsync = () => {\n return runStepsAsync('Package Compile', [\n ['yarn', ['react-scripts', 'build']],\n ['ts-node-script', './scripts/sitemap.ts'],\n ])\n}\n"],"mappings":"AAAA,SAAS,UAAU,qBAAqB;AAEjC,MAAM,iBAAiB,MAAM;AAClC,SAAO,SAAS,mBAAmB;AAAA,IACjC,CAAC,QAAQ,CAAC,iBAAiB,OAAO,CAAC;AAAA,IACnC,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;AAEO,MAAM,sBAAsB,MAAM;AACvC,SAAO,cAAc,mBAAmB;AAAA,IACtC,CAAC,QAAQ,CAAC,iBAAiB,OAAO,CAAC;AAAA,IACnC,CAAC,kBAAkB,sBAAsB;AAAA,EAC3C,CAAC;AACH;","names":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
var package_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(package_exports);
|
|
18
|
-
__reExport(package_exports, require("./compile"), module.exports);
|
|
19
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
-
0 && (module.exports = {
|
|
21
|
-
...require("./compile")
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/index.ts"],"sourcesContent":["export * from './compile'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4BAAc,sBAAd;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/index.ts"],"sourcesContent":["export * from './compile'\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { runSteps, runStepsAsync } from '@xylabs/ts-scripts-yarn3'
|
|
2
|
-
|
|
3
|
-
export const packageCompile = () => {
|
|
4
|
-
return runSteps('Package Compile', [
|
|
5
|
-
['yarn', ['react-scripts', 'build']],
|
|
6
|
-
['ts-node-script', './scripts/sitemap.ts'],
|
|
7
|
-
])
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const packageCompileAsync = () => {
|
|
11
|
-
return runStepsAsync('Package Compile', [
|
|
12
|
-
['yarn', ['react-scripts', 'build']],
|
|
13
|
-
['ts-node-script', './scripts/sitemap.ts'],
|
|
14
|
-
])
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './compile'
|