@xylabs/ts-scripts-react-yarn3 7.6.21 → 7.7.3
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.
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// src/bin/package/publint.ts
|
|
4
|
-
import { packagePublint } from "@xylabs/ts-scripts-yarn3";
|
|
4
|
+
import { loadPublintOptions, packagePublint } from "@xylabs/ts-scripts-yarn3";
|
|
5
5
|
import chalk from "chalk";
|
|
6
|
-
|
|
6
|
+
loadPublintOptions().then(async ({ exclude, pack }) => {
|
|
7
|
+
process.exitCode = await packagePublint({ exclude, pack });
|
|
8
|
+
}).catch((ex) => {
|
|
7
9
|
console.error(`Publint Failed: ${chalk.red(ex)}`);
|
|
8
10
|
console.error(chalk.gray(ex.stack));
|
|
9
11
|
process.exitCode = -1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/publint.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packagePublint } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/publint.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { loadPublintOptions, packagePublint } from '@xylabs/ts-scripts-yarn3'\nimport chalk from 'chalk'\n\nloadPublintOptions()\n .then(async ({ exclude, pack }) => {\n process.exitCode = await packagePublint({ exclude, pack })\n })\n .catch((ex: Error) => {\n console.error(`Publint Failed: ${chalk.red(ex)}`)\n console.error(chalk.gray(ex.stack))\n process.exitCode = -1\n })\n"],"mappings":";;;AAEA,SAAS,oBAAoB,sBAAsB;AACnD,OAAO,WAAW;AAElB,mBAAmB,EAChB,KAAK,OAAO,EAAE,SAAS,KAAK,MAAM;AACjC,UAAQ,WAAW,MAAM,eAAe,EAAE,SAAS,KAAK,CAAC;AAC3D,CAAC,EACA,MAAM,CAAC,OAAc;AACpB,UAAQ,MAAM,mBAAmB,MAAM,IAAI,EAAE,CAAC,EAAE;AAChD,UAAQ,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC;AAClC,UAAQ,WAAW;AACrB,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/ts-scripts-react-yarn3",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.7.3",
|
|
4
4
|
"description": "TypeScript project scripts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.mjs",
|
|
30
31
|
"default": "./dist/index.mjs"
|
|
31
32
|
},
|
|
32
33
|
"./package.json": "./package.json"
|
|
33
34
|
},
|
|
34
|
-
"module": "dist/index.mjs",
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"bin": {
|
|
37
37
|
"package-build": "dist/bin/package/build.mjs",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"package-recompile": "tsup && publint"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
57
|
+
"@xylabs/ts-scripts-yarn3": "workspace:~",
|
|
58
58
|
"chalk": "~5.6.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^25.5.0",
|
|
62
|
-
"@xylabs/ts-scripts-common": "
|
|
63
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
64
|
-
"@xylabs/tsconfig": "
|
|
62
|
+
"@xylabs/ts-scripts-common": "workspace:~",
|
|
63
|
+
"@xylabs/ts-scripts-yarn3": "workspace:~",
|
|
64
|
+
"@xylabs/tsconfig": "workspace:~",
|
|
65
65
|
"acorn": "^8.16.0",
|
|
66
66
|
"cosmiconfig": "^9.0.1",
|
|
67
67
|
"esbuild": "^0.28.0",
|