@xylabs/ts-scripts-yarn3 5.0.33 → 5.0.34
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.mjs +2 -2
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +2 -2
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +2 -2
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +2 -2
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/index.mjs +2 -2
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +2 -2
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +2 -2
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +2 -2
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +2 -2
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +2 -2
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +2 -2
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +2 -2
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/xy-ts.mjs +1 -1
- package/dist/bin/xy-ts.mjs.map +1 -1
- package/dist/bin/xy.mjs +1 -1
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +1 -1
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +1 -1
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyParseOptions.mjs +1 -1
- package/dist/xy/xyParseOptions.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/compile/packageCompileTsup.ts +2 -2
- package/src/xy/xyParseOptions.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/xy/xyParseOptions.ts"],"sourcesContent":["import yargs, { Argv } from 'yargs'\n// eslint-disable-next-line import-x/no-internal-modules\nimport { hideBin } from 'yargs/helpers'\n\nexport const xyParseOptions = (): Argv => {\n return yargs(hideBin(process.argv))\n .scriptName('yarn xy')\n .option('jobs', {\n alias: 'j',\n default: undefined,\n description: 'Max parallel jobs',\n type: 'number',\n })\n .option('verbose', {\n alias: 'v',\n default: false,\n description: 'Run with verbose logging',\n type: 'boolean',\n })\n .option('target', {\n alias: 't',\n default: 'esm',\n choices: ['esm', 'cjs'],\n description: 'Limit output to specific target',\n type: 'string',\n })\n .option('incremental', {\n alias: 'i',\n default: false,\n description: 'Attempt to perform the action only on changed packages',\n type: 'boolean',\n })\n .option('fix', {\n alias: 'f',\n default: false,\n description: 'Try to fix errors',\n type: 'boolean',\n })\n .option('cache', {\n alias: 'c',\n default: false,\n description: 'Use caching for performance',\n type: 'boolean',\n })\n .option('profile', {\n alias: 'p',\n default: false,\n description: 'Profile action',\n type: 'boolean',\n })\n .option('types', {\n default: '
|
|
1
|
+
{"version":3,"sources":["../../src/xy/xyParseOptions.ts"],"sourcesContent":["import yargs, { Argv } from 'yargs'\n// eslint-disable-next-line import-x/no-internal-modules\nimport { hideBin } from 'yargs/helpers'\n\nexport const xyParseOptions = (): Argv => {\n return yargs(hideBin(process.argv))\n .scriptName('yarn xy')\n .option('jobs', {\n alias: 'j',\n default: undefined,\n description: 'Max parallel jobs',\n type: 'number',\n })\n .option('verbose', {\n alias: 'v',\n default: false,\n description: 'Run with verbose logging',\n type: 'boolean',\n })\n .option('target', {\n alias: 't',\n default: 'esm',\n choices: ['esm', 'cjs'],\n description: 'Limit output to specific target',\n type: 'string',\n })\n .option('incremental', {\n alias: 'i',\n default: false,\n description: 'Attempt to perform the action only on changed packages',\n type: 'boolean',\n })\n .option('fix', {\n alias: 'f',\n default: false,\n description: 'Try to fix errors',\n type: 'boolean',\n })\n .option('cache', {\n alias: 'c',\n default: false,\n description: 'Use caching for performance',\n type: 'boolean',\n })\n .option('profile', {\n alias: 'p',\n default: false,\n description: 'Profile action',\n type: 'boolean',\n })\n .option('types', {\n default: 'tsc',\n choices: ['tsc', 'tsup'],\n description: 'Tool to generate Typescript types',\n type: 'string',\n })\n}\n"],"mappings":";;;;AAAA,OAAOA,WAAqB;AAE5B,SAASC,eAAe;AAEjB,IAAMC,iBAAiB,6BAAA;AAC5B,SAAOC,MAAMC,QAAQC,QAAQC,IAAI,CAAA,EAC9BC,WAAW,SAAA,EACXC,OAAO,QAAQ;IACdC,OAAO;IACPC,SAASC;IACTC,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,WAAW;IACjBC,OAAO;IACPC,SAAS;IACTE,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,UAAU;IAChBC,OAAO;IACPC,SAAS;IACTI,SAAS;MAAC;MAAO;;IACjBF,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,eAAe;IACrBC,OAAO;IACPC,SAAS;IACTE,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,OAAO;IACbC,OAAO;IACPC,SAAS;IACTE,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,SAAS;IACfC,OAAO;IACPC,SAAS;IACTE,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,WAAW;IACjBC,OAAO;IACPC,SAAS;IACTE,aAAa;IACbC,MAAM;EACR,CAAA,EACCL,OAAO,SAAS;IACfE,SAAS;IACTI,SAAS;MAAC;MAAO;;IACjBF,aAAa;IACbC,MAAM;EACR,CAAA;AACJ,GApD8B;","names":["yargs","hideBin","xyParseOptions","yargs","hideBin","process","argv","scriptName","option","alias","default","undefined","description","type","choices"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/ts-scripts-yarn3",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.34",
|
|
4
4
|
"description": "TypeScript project scripts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"@swc/core": "^1.11.5",
|
|
92
92
|
"@types/node": "^22.13.5",
|
|
93
93
|
"@types/yargs": "^17.0.33",
|
|
94
|
-
"@xylabs/tsconfig": "^5.0.
|
|
95
|
-
"@xylabs/tsconfig-dom": "^5.0.
|
|
94
|
+
"@xylabs/tsconfig": "^5.0.34",
|
|
95
|
+
"@xylabs/tsconfig-dom": "^5.0.34",
|
|
96
96
|
"async-mutex": "^0.5.0",
|
|
97
97
|
"chalk": "^5.4.1",
|
|
98
98
|
"cosmiconfig": "^9.0.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@types/eslint": "^9.6.1",
|
|
132
132
|
"@types/license-checker": "^25.0.6",
|
|
133
133
|
"@types/parse-git-config": "^3.0.4",
|
|
134
|
-
"@xylabs/tsconfig": "^5.0.
|
|
134
|
+
"@xylabs/tsconfig": "^5.0.34",
|
|
135
135
|
"publint": "^0.3.7",
|
|
136
136
|
"rimraf": "^6.0.1",
|
|
137
137
|
"typescript": "^5.7.3"
|
|
@@ -11,7 +11,7 @@ const compileFolder = async (
|
|
|
11
11
|
folder: string,
|
|
12
12
|
entryMode: EntryMode = 'single',
|
|
13
13
|
options?: Options,
|
|
14
|
-
types: 'tsc' | 'tsup' = '
|
|
14
|
+
types: 'tsc' | 'tsup' = 'tsc',
|
|
15
15
|
verbose?: boolean,
|
|
16
16
|
): Promise<number> => {
|
|
17
17
|
const outDir = options?.outDir ?? 'dist'
|
|
@@ -52,7 +52,7 @@ const compileFolder = async (
|
|
|
52
52
|
return 0
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export const packageCompileTsup = async (config?: XyTsupConfig, types: 'tsc' | 'tsup' = '
|
|
55
|
+
export const packageCompileTsup = async (config?: XyTsupConfig, types: 'tsc' | 'tsup' = 'tsc') => {
|
|
56
56
|
console.warn('packageCompileTsup-types', types)
|
|
57
57
|
const compile = config?.compile
|
|
58
58
|
const verbose = config?.verbose ?? false
|
package/src/xy/xyParseOptions.ts
CHANGED