@xylabs/ts-scripts-react-yarn3 6.1.4 → 6.1.5
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/neutral/bin/package/build.mjs +17 -0
- package/dist/neutral/bin/package/build.mjs.map +1 -0
- package/dist/neutral/bin/package/lint.mjs +11 -0
- package/dist/neutral/bin/package/lint.mjs.map +1 -0
- package/dist/neutral/bin/package/publint.mjs +0 -0
- package/dist/neutral/bin/package/recompile.mjs +0 -0
- package/dist/neutral/bin/package/relint.mjs +11 -0
- package/dist/neutral/bin/package/relint.mjs.map +1 -0
- package/dist/types/bin/package/build.d.ts +3 -0
- package/dist/types/bin/package/build.d.ts.map +1 -0
- package/dist/types/bin/package/lint.d.ts +3 -0
- package/dist/types/bin/package/lint.d.ts.map +1 -0
- package/dist/types/bin/package/relint.d.ts +3 -0
- package/dist/types/bin/package/relint.d.ts.map +1 -0
- package/package.json +9 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/bin/package/build.ts
|
|
4
|
+
import { packageCompile } from "@xylabs/ts-scripts-yarn3";
|
|
5
|
+
import chalk from "chalk";
|
|
6
|
+
packageCompile({
|
|
7
|
+
verbose: false,
|
|
8
|
+
publint: true
|
|
9
|
+
}).then((value) => {
|
|
10
|
+
if (value) {
|
|
11
|
+
process.exit(value);
|
|
12
|
+
}
|
|
13
|
+
}).catch((reason) => {
|
|
14
|
+
console.error(chalk.red(reason));
|
|
15
|
+
process.exit(-1);
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=build.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/bin/package/build.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCompile } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\npackageCompile({ verbose: false, publint: true })\n .then((value) => {\n if (value) {\n process.exit(value)\n }\n })\n .catch((reason) => {\n console.error(chalk.red(reason))\n process.exit(-1)\n })\n"],"mappings":";;;AAEA,SAASA,sBAAsB;AAC/B,OAAOC,WAAW;AAElBD,eAAe;EAAEE,SAAS;EAAOC,SAAS;AAAK,CAAA,EAC5CC,KAAK,CAACC,UAAAA;AACL,MAAIA,OAAO;AACTC,YAAQC,KAAKF,KAAAA;EACf;AACF,CAAA,EACCG,MAAM,CAACC,WAAAA;AACNC,UAAQC,MAAMV,MAAMW,IAAIH,MAAAA,CAAAA;AACxBH,UAAQC,KAAK,EAAC;AAChB,CAAA;","names":["packageCompile","chalk","verbose","publint","then","value","process","exit","catch","reason","console","error","red"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/bin/package/lint.ts
|
|
4
|
+
import { packageLint } from "@xylabs/ts-scripts-yarn3";
|
|
5
|
+
import chalk from "chalk";
|
|
6
|
+
packageLint().then((value) => process.exitCode = value).catch((ex) => {
|
|
7
|
+
console.error(`Lint Failed: ${chalk.red(ex)}`);
|
|
8
|
+
console.error(chalk.gray(ex.stack));
|
|
9
|
+
process.exitCode = -1;
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=lint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/bin/package/lint.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageLint } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\npackageLint()\n .then(value => (process.exitCode = value))\n .catch((ex: Error) => {\n console.error(`Lint Failed: ${chalk.red(ex)}`)\n console.error(chalk.gray(ex.stack))\n process.exitCode = -1\n })\n"],"mappings":";;;AAEA,SAASA,mBAAmB;AAC5B,OAAOC,WAAW;AAElBD,YAAAA,EACGE,KAAKC,CAAAA,UAAUC,QAAQC,WAAWF,KAAAA,EAClCG,MAAM,CAACC,OAAAA;AACNC,UAAQC,MAAM,gBAAgBR,MAAMS,IAAIH,EAAAA,CAAAA,EAAK;AAC7CC,UAAQC,MAAMR,MAAMU,KAAKJ,GAAGK,KAAK,CAAA;AACjCR,UAAQC,WAAW;AACrB,CAAA;","names":["packageLint","chalk","then","value","process","exitCode","catch","ex","console","error","red","gray","stack"]}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/bin/package/relint.ts
|
|
4
|
+
import { packageLint } from "@xylabs/ts-scripts-yarn3";
|
|
5
|
+
import chalk from "chalk";
|
|
6
|
+
packageLint(false, false, false).then((value) => process.exitCode = value).catch((ex) => {
|
|
7
|
+
console.error(`Lint Failed: ${chalk.red(ex)}`);
|
|
8
|
+
console.error(chalk.gray(ex.stack));
|
|
9
|
+
process.exitCode = -1;
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=relint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/bin/package/relint.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageLint } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\npackageLint(false, false, false)\n .then(value => (process.exitCode = value))\n .catch((ex: Error) => {\n console.error(`Lint Failed: ${chalk.red(ex)}`)\n console.error(chalk.gray(ex.stack))\n process.exitCode = -1\n })\n"],"mappings":";;;AAEA,SAASA,mBAAmB;AAC5B,OAAOC,WAAW;AAElBD,YAAY,OAAO,OAAO,KAAA,EACvBE,KAAKC,CAAAA,UAAUC,QAAQC,WAAWF,KAAAA,EAClCG,MAAM,CAACC,OAAAA;AACNC,UAAQC,MAAM,gBAAgBR,MAAMS,IAAIH,EAAAA,CAAAA,EAAK;AAC7CC,UAAQC,MAAMR,MAAMU,KAAKJ,GAAGK,KAAK,CAAA;AACjCR,UAAQC,WAAW;AACrB,CAAA;","names":["packageLint","chalk","then","value","process","exitCode","catch","ex","console","error","red","gray","stack"]}
|
|
@@ -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":"lint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/lint.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relint.d.ts","sourceRoot":"","sources":["../../../../src/bin/package/relint.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/ts-scripts-react-yarn3",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.5",
|
|
4
4
|
"description": "TypeScript project scripts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -34,9 +34,14 @@
|
|
|
34
34
|
"module": "dist/neutral/index.mjs",
|
|
35
35
|
"types": "dist/types/index.d.ts",
|
|
36
36
|
"bin": {
|
|
37
|
+
"package-build": "dist/neutral/bin/package/build.mjs",
|
|
37
38
|
"package-clean": "dist/neutral/bin/package/clean.mjs",
|
|
38
39
|
"package-compile": "dist/neutral/bin/package/compile.mjs",
|
|
39
40
|
"package-deps": "dist/neutral/bin/package/deps.mjs",
|
|
41
|
+
"package-lint": "dist/neutral/bin/package/lint.mjs",
|
|
42
|
+
"package-publint": "dist/neutral/bin/package/publint.mjs",
|
|
43
|
+
"package-recompile": "dist/neutral/bin/package/recompile.mjs",
|
|
44
|
+
"package-relint": "dist/neutral/bin/package/relint.mjs",
|
|
40
45
|
"xy": "dist/neutral/bin/xy.mjs"
|
|
41
46
|
},
|
|
42
47
|
"files": [
|
|
@@ -45,14 +50,14 @@
|
|
|
45
50
|
"LICENSE"
|
|
46
51
|
],
|
|
47
52
|
"dependencies": {
|
|
48
|
-
"@xylabs/ts-scripts-yarn3": "^6.1.
|
|
53
|
+
"@xylabs/ts-scripts-yarn3": "^6.1.5",
|
|
49
54
|
"chalk": "^5.4.1",
|
|
50
55
|
"yargs": "^17.7.2"
|
|
51
56
|
},
|
|
52
57
|
"devDependencies": {
|
|
53
58
|
"@types/yargs": "^17.0.33",
|
|
54
|
-
"@xylabs/ts-scripts-yarn3": "^6.1.
|
|
55
|
-
"@xylabs/tsconfig": "^6.1.
|
|
59
|
+
"@xylabs/ts-scripts-yarn3": "^6.1.5",
|
|
60
|
+
"@xylabs/tsconfig": "^6.1.5",
|
|
56
61
|
"publint": "^0.3.9",
|
|
57
62
|
"tsup": "8.4.0",
|
|
58
63
|
"typescript": "^5.8.2"
|