@ariestools/toolchain 8.7.2 → 8.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.
- package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -1
- package/dist/actions/api-exposure/reporters.d.ts.map +1 -1
- package/dist/actions/api-exposure/scoring.d.ts +1 -0
- package/dist/actions/api-exposure/scoring.d.ts.map +1 -1
- package/dist/actions/api-exposure/types.d.ts +3 -0
- package/dist/actions/api-exposure/types.d.ts.map +1 -1
- package/dist/actions/license.d.ts +2 -1
- package/dist/actions/license.d.ts.map +1 -1
- package/dist/actions/lintNextWorker.d.ts.map +1 -1
- package/dist/actions/package/compile/XyConfig.d.ts +2 -0
- package/dist/actions/package/compile/XyConfig.d.ts.map +1 -1
- package/dist/bin/xy.mjs +62 -31
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/lib/licenseCheck/checkLicenses.d.ts +17 -1
- package/dist/lib/licenseCheck/checkLicenses.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -13,11 +13,27 @@ export interface DisallowedLicenseFinding {
|
|
|
13
13
|
license: string;
|
|
14
14
|
packageName: string;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* `xy license` settings, read from `commands.license` in xy.config
|
|
18
|
+
* (root config cascades into workspaces; workspace config overrides).
|
|
19
|
+
*/
|
|
20
|
+
export interface LicenseConfig {
|
|
21
|
+
/** License identifiers accepted in addition to the defaults. */
|
|
22
|
+
allow?: string[];
|
|
23
|
+
/** Replaces the default allowlist entirely; `allow` / `deny` still apply on top. */
|
|
24
|
+
allowOnly?: string[];
|
|
25
|
+
/** License identifiers removed from the effective allowlist. */
|
|
26
|
+
deny?: string[];
|
|
27
|
+
/** Packages to skip — bare names (`left-pad`) or pinned (`left-pad@1.3.0`). */
|
|
28
|
+
ignorePackages?: string[];
|
|
29
|
+
}
|
|
30
|
+
/** Effective allowlist for a workspace: (allowOnly ?? defaults) + allow − deny. */
|
|
31
|
+
export declare function resolveAllowedLicenses(config?: LicenseConfig): Set<string>;
|
|
16
32
|
/**
|
|
17
33
|
* Returns findings for packages whose declared licenses are not on the
|
|
18
34
|
* allowlist. Empty license arrays are treated as allowed (unknown).
|
|
19
35
|
*/
|
|
20
36
|
export declare function findDisallowedLicenses(packages: Record<string, {
|
|
21
37
|
licenses?: string | string[];
|
|
22
|
-
}>, allowed?: ReadonlySet<string
|
|
38
|
+
}>, allowed?: ReadonlySet<string>, ignorePackages?: readonly string[]): DisallowedLicenseFinding[];
|
|
23
39
|
//# sourceMappingURL=checkLicenses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkLicenses.d.ts","sourceRoot":"","sources":["../../../src/lib/licenseCheck/checkLicenses.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAkBrD,CAAA;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAClC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,GAC3B,OAAO,CAUT;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC,EAC1D,OAAO,GAAE,WAAW,CAAC,MAAM,CAAqC,
|
|
1
|
+
{"version":3,"file":"checkLicenses.d.ts","sourceRoot":"","sources":["../../../src/lib/licenseCheck/checkLicenses.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAkBrD,CAAA;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAClC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,GAC3B,OAAO,CAUT;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;CAC1B;AAED,mFAAmF;AACnF,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,GAAG,CAAC,MAAM,CAAC,CAM1E;AAUD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC,EAC1D,OAAO,GAAE,WAAW,CAAC,MAAM,CAAqC,EAChE,cAAc,GAAE,SAAS,MAAM,EAAO,GACrC,wBAAwB,EAAE,CAoB5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ariestools/toolchain",
|
|
3
|
-
"version": "8.7.
|
|
3
|
+
"version": "8.7.3",
|
|
4
4
|
"description": "Unified TypeScript toolchain for XY Labs — build, lint, test, deploy with auto-detected package manager and React support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xylabs",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"cosmiconfig-typescript-loader": "~6.3.0",
|
|
55
55
|
"esbuild": "~0.28.1",
|
|
56
|
-
"@ariestools/eslint-config-flat": "~8.7.
|
|
56
|
+
"@ariestools/eslint-config-flat": "~8.7.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@inquirer/core": "~11.2.1",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"table": "~6.9.0",
|
|
83
83
|
"tsx": "~4.23.0",
|
|
84
84
|
"typescript": "~6.0.3",
|
|
85
|
-
"vite": "~8.1.
|
|
85
|
+
"vite": "~8.1.4",
|
|
86
86
|
"vitest": "~4.1.10",
|
|
87
87
|
"yaml": "~2.9.0",
|
|
88
88
|
"yargs": "~18.0.0",
|
|
89
|
-
"@ariestools/toolchain": "~8.7.
|
|
90
|
-
"@ariestools/tsconfig": "~8.7.
|
|
89
|
+
"@ariestools/toolchain": "~8.7.3",
|
|
90
|
+
"@ariestools/tsconfig": "~8.7.3"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"eslint": "^10.3",
|