@iksnerd/blazon 0.2.2 → 0.3.2
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/README.md +7 -6
- package/dist/chunks/{site-builder-CsBH_ocA.js → site-builder-NRN9UNyn.js} +2490 -2406
- package/dist/cli/commands/mcp-check.d.ts +3 -1
- package/dist/cli/commands/mcp-check.d.ts.map +1 -1
- package/dist/cli/commands/mcp.d.ts +2 -1
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/index.js +1153 -1126
- package/dist/core/brand/export.d.ts +3 -1
- package/dist/core/brand/export.d.ts.map +1 -1
- package/dist/core/brand/schema.d.ts +21 -0
- package/dist/core/brand/schema.d.ts.map +1 -1
- package/dist/core/checker/catalogue.d.ts +8 -0
- package/dist/core/checker/catalogue.d.ts.map +1 -1
- package/dist/core/fonts.d.ts +10 -1
- package/dist/core/fonts.d.ts.map +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/inputs.d.ts.map +1 -1
- package/dist/core/mcp-config.d.ts +12 -6
- package/dist/core/mcp-config.d.ts.map +1 -1
- package/dist/core/operations/list.d.ts.map +1 -1
- package/dist/index.js +32 -32
- package/dist/types/data.d.ts +10 -0
- package/dist/types/data.d.ts.map +1 -1
- package/dist/ui/assets/index-Biy1hkeq.css +2 -0
- package/dist/ui/assets/{index-CLKH0m9J.js → index-BpdgjM9E.js} +7 -0
- package/dist/ui/index.html +2 -2
- package/mcp/dist/index.js +22748 -0
- package/package.json +7 -4
- package/plugins/blazon.office-template/bin/blazon-blazon.office-template./360/237/224/214 +1 -1
- package/plugins/blazon.platform-tokens/README.md +58 -2
- package/plugins/blazon.platform-tokens/bin/blazon-blazon.platform-tokens./360/237/224/214 +57 -12
- package/plugins/blazon.press-kit/README.md +54 -3
- package/plugins/blazon.press-kit/bin/blazon-blazon.press-kit./360/237/224/214 +247 -49
- package/plugins/blazon.print-book/README.md +6 -0
- package/plugins/shipped.lock +4 -4
- package/template/AGENTS.md +1 -1
- package/template/docs/01-principles.md +1 -1
- package/dist/ui/assets/index-DluSqfla.css +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetCategoryInfo, AssetMeta, Finding, BlazonConfig, BlazonData, BlazonExtension, IconSet, SectionId, SectionInfo, ThemeRole, Vocabulary } from '../../types/index.js';
|
|
1
|
+
import { AssetCategoryInfo, AssetMeta, Finding, FontLicense, BlazonConfig, BlazonData, BlazonExtension, IconSet, SectionId, SectionInfo, ThemeRole, Vocabulary } from '../../types/index.js';
|
|
2
2
|
import { BRAND_SCHEMA_FILE } from './schema.js';
|
|
3
3
|
import { BlazonIdentity } from '../blazon-pin.js';
|
|
4
4
|
export declare const BRAND_FORMAT = "blazon-brand";
|
|
@@ -45,6 +45,8 @@ export interface BrandExport {
|
|
|
45
45
|
roles: Partial<Record<ThemeRole, string>>;
|
|
46
46
|
tokens: Partial<Record<ThemeRole, string>>;
|
|
47
47
|
fonts: string[];
|
|
48
|
+
/** The license file found beside the font files the config embeds, one per family, read by blazon because a plugin is never given the project folder. `licenseFile` is a project path, not shipped beside brand.json; absent when no family has one */
|
|
49
|
+
fontLicenses?: FontLicense[];
|
|
48
50
|
};
|
|
49
51
|
/** A path beside brand.json, or the file embedded as a data URI when it is not an asset. `onLightInk` and `onDarkInk`: the color a logo's sidecar declares for it, when it does; without one a reader judges the file as black on light or white on dark */
|
|
50
52
|
logo: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/core/brand/export.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,SAAS,EAEd,KAAK,UAAU,EAChB,MAAM,sBAAsB,CAAC;AAC9B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AS,CAAC;KAClB,EAAE,CAAC;IACJ,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,QAAQ,EAAE,CAAC,OAAO,GAAG;QAA6D,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACnG,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AA4CD,oHAAoH;AACpH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAc,GAAG,IAAuB,GAAG,WAAW,CAsDrJ;AAED,kEAAkE;AAClE,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM,CAE7H"}
|
|
@@ -66,6 +66,27 @@ export declare const BRAND_SCHEMA: {
|
|
|
66
66
|
type: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
+
fontLicenses: {
|
|
70
|
+
type: string;
|
|
71
|
+
items: {
|
|
72
|
+
type: string;
|
|
73
|
+
properties: {
|
|
74
|
+
family: {
|
|
75
|
+
type: string;
|
|
76
|
+
minLength: number;
|
|
77
|
+
};
|
|
78
|
+
licenseFile: {
|
|
79
|
+
type: string;
|
|
80
|
+
minLength: number;
|
|
81
|
+
};
|
|
82
|
+
licenseText: {
|
|
83
|
+
type: string;
|
|
84
|
+
maxLength: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
required: string[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
69
90
|
};
|
|
70
91
|
required: string[];
|
|
71
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/core/brand/schema.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot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nC,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,kEAAkE;AAClE,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C"}
|
|
@@ -233,6 +233,14 @@ export declare const CHECKS: {
|
|
|
233
233
|
readonly rfc: "1#4";
|
|
234
234
|
readonly manual: "03-checks";
|
|
235
235
|
};
|
|
236
|
+
readonly 'font-license-invalid': {
|
|
237
|
+
readonly severity: "warning";
|
|
238
|
+
readonly summary: "A license file beside a font file was not read.";
|
|
239
|
+
readonly fix: "Keep the license file (OFL.txt, LICENSE, LICENCE or COPYING) under 64 KiB, as UTF-8 text, inside the project folder, or state the license on the font token with font.license.";
|
|
240
|
+
readonly appliesTo: readonly ["config"];
|
|
241
|
+
readonly rfc: "1#4";
|
|
242
|
+
readonly manual: "03-checks";
|
|
243
|
+
};
|
|
236
244
|
readonly 'font-license-unknown': {
|
|
237
245
|
readonly severity: "info";
|
|
238
246
|
readonly summary: "A font license is not a known SPDX id.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogue.d.ts","sourceRoot":"","sources":["../../../src/core/checker/catalogue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,sBAAsB,CAAC;AAE9D,2CAA2C;AAC3C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAiBpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,kRAuBX,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"catalogue.d.ts","sourceRoot":"","sources":["../../../src/core/checker/catalogue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,sBAAsB,CAAC;AAE9D,2CAA2C;AAC3C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,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,aAAa,GAAG,OAAO,CAYvE"}
|
package/dist/core/fonts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Finding, BlazonConfig, FontEntry, LocalFont, ParsedTokens } from '../types/index.js';
|
|
1
|
+
import { Finding, BlazonConfig, FontEntry, FontLicense, LocalFont, ParsedTokens } from '../types/index.js';
|
|
2
2
|
export declare const FONT_EXTENSIONS: string[];
|
|
3
3
|
/** The CSS format name of a font file, from its extension. Undefined for a file blazon does not embed. */
|
|
4
4
|
export declare const fontFormat: (file: string) => string | undefined;
|
|
@@ -8,6 +8,13 @@ export declare const isLocalFont: (entry: FontEntry) => entry is LocalFont;
|
|
|
8
8
|
* A family is a name, so this refuses nothing real.
|
|
9
9
|
*/
|
|
10
10
|
export declare const isFamilyName: (value: unknown) => value is string;
|
|
11
|
+
/** The most of a license file that is read: the OFL is about 4 KiB, the Apache License 2.0 about 11 KiB */
|
|
12
|
+
export declare const LICENSE_MAX_BYTES: number;
|
|
13
|
+
/**
|
|
14
|
+
* The license file in `dir` (the folder of a font file): the first of OFL, LICENSE, LICENCE and COPYING by name, and among equals the lowest
|
|
15
|
+
* name in code point order. Only that folder is looked at, never a parent, and only a regular file counts.
|
|
16
|
+
*/
|
|
17
|
+
export declare function licenseFileIn(dir: string): string | undefined;
|
|
11
18
|
export interface LoadedFonts {
|
|
12
19
|
/** Stylesheet URLs for the brand book, in the order the config lists them: a local font is a `data:` stylesheet among the URLs */
|
|
13
20
|
stylesheets: string[];
|
|
@@ -17,6 +24,8 @@ export interface LoadedFonts {
|
|
|
17
24
|
declared: boolean;
|
|
18
25
|
/** True when a URL names no family blazon can read (a self-hosted stylesheet), so what it loads is not known */
|
|
19
26
|
opaque: boolean;
|
|
27
|
+
/** The license file beside a local font's file, once per family: the first font of a family that has one gives it */
|
|
28
|
+
licenses: FontLicense[];
|
|
20
29
|
problems: Finding[];
|
|
21
30
|
}
|
|
22
31
|
/**
|
package/dist/core/fonts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/core/fonts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/core/fonts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAUhH,eAAO,MAAM,eAAe,UAA0B,CAAC;AAEvD,0GAA0G;AAC1G,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,SAAiE,CAAC;AAErH,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,KAAG,KAAK,IAAI,SAAsC,CAAC;AAE/F;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAAsF,CAAC;AAE9I,2GAA2G;AAC3G,eAAO,MAAM,iBAAiB,QAAY,CAAC;AAK3C;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAc7D;AA2BD,MAAM,WAAW,WAAW;IAC1B,kIAAkI;IAClI,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,4IAA4I;IAC5I,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,2JAA2J;IAC3J,QAAQ,EAAE,OAAO,CAAC;IAClB,gHAAgH;IAChH,MAAM,EAAE,OAAO,CAAC;IAChB,qHAAqH;IACrH,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAaD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,MAAM,CASlF;AAQD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CA4BhF;AAED,uHAAuH;AACvH,eAAO,MAAM,eAAe,aAqC1B,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAGrD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,EAAE,CAwBjF"}
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,YAAY,EAAE,UAAU,EAAqC,MAAM,mBAAmB,CAAC;AAyC9G,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOlF;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,YAAY,EAAE,UAAU,EAAqC,MAAM,mBAAmB,CAAC;AAyC9G,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOlF;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,CAgJ7G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/core/inputs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/core/inputs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAc/D,MAAM,WAAW,KAAK;IACpB,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,6FAA6F;IAC7F,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oGAAoG;IACpG,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,gEAAgE;AAChE,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,EAAE,CA+BxE;AAED,gEAAgE;AAChE,eAAO,MAAM,UAAU,GAAI,QAAQ,YAAY,EAAE,KAAK,MAAM,KAAG,MAAM,EAGtC,CAAC;AAEhC;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,EAAE,CAK3E"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** The MCP server's package name. It is not published to npm yet; the `npx` form below is the proposed one. */
|
|
2
|
-
export declare const MCP_PACKAGE = "@iksnerd/blazon-mcp";
|
|
3
1
|
export declare const MCP_CLIENTS: readonly ["claude-code", "claude-desktop", "cursor", "vscode"];
|
|
4
2
|
export type McpClient = (typeof MCP_CLIENTS)[number];
|
|
5
3
|
/** How a client is told to start blazon-mcp: one program, its arguments and the environment it needs. */
|
|
@@ -7,8 +5,10 @@ export interface McpLaunch {
|
|
|
7
5
|
command: string;
|
|
8
6
|
args: string[];
|
|
9
7
|
env: Record<string, string>;
|
|
10
|
-
/** False when
|
|
8
|
+
/** False when the server file is not there: the command then names the file it would have, and `problem` says why it fails. */
|
|
11
9
|
built: boolean;
|
|
10
|
+
/** Why the command does not work, said when `built` is false. */
|
|
11
|
+
problem?: string;
|
|
12
12
|
}
|
|
13
13
|
/** One thing to paste: a shell command, or the JSON entry for a client's config file. */
|
|
14
14
|
export interface McpSnippet {
|
|
@@ -25,10 +25,16 @@ export interface McpConfig {
|
|
|
25
25
|
note?: string;
|
|
26
26
|
snippets: McpSnippet[];
|
|
27
27
|
}
|
|
28
|
+
/** True for a source checkout (it has `mcp/package.json`); the npm package ships only the built file `mcp/dist/index.js`. */
|
|
29
|
+
export declare const isSourceCheckout: (root?: string) => boolean;
|
|
30
|
+
/** What an install without the server file says: the package is meant to hold it, so the install is damaged or stale. */
|
|
31
|
+
export declare const INCOMPLETE_INSTALL = "The MCP server file mcp/dist/index.js is missing from this blazon, so the install is incomplete; reinstall it (npm install @iksnerd/blazon) and run blazon mcp --check again.";
|
|
32
|
+
/** The fix to print with {@link INCOMPLETE_INSTALL}. */
|
|
33
|
+
export declare const REINSTALL = "npm install @iksnerd/blazon";
|
|
28
34
|
/**
|
|
29
|
-
* How to start blazon-mcp from this blazon
|
|
30
|
-
* `npm
|
|
31
|
-
*
|
|
35
|
+
* How to start blazon-mcp from this blazon: `node` and `mcp/dist/index.js` in the package root, with BLAZON_BIN naming this blazon's
|
|
36
|
+
* `bin/blazon.js`. An npm install holds that file (it is built into the package) and a source checkout has it after `npm run build -w mcp`,
|
|
37
|
+
* so one rule covers both. When the file is missing the launch still names it, with `built: false` and the reason in `problem`.
|
|
32
38
|
*/
|
|
33
39
|
export declare function resolveMcpLaunch(root?: string, node?: string): McpLaunch;
|
|
34
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-config.d.ts","sourceRoot":"","sources":["../../src/core/mcp-config.ts"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"mcp-config.d.ts","sourceRoot":"","sources":["../../src/core/mcp-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,gEAAiE,CAAC;AAC1F,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,yGAAyG;AACzG,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,+HAA+H;IAC/H,KAAK,EAAE,OAAO,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yFAAyF;AACzF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB;AAED,6HAA6H;AAC7H,eAAO,MAAM,gBAAgB,GAAI,OAAM,MAAsB,KAAG,OAA6D,CAAC;AAE9H,yHAAyH;AACzH,eAAO,MAAM,kBAAkB,kLACkJ,CAAC;AAElL,wDAAwD;AACxD,eAAO,MAAM,SAAS,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;AAsC3E;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/core/operations/list.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA2B,SAAS,EAAQ,MAAM,YAAY,CAAC;AAsC3E;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAqhB1C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { $ as e,
|
|
1
|
+
import { $ as e, B as t, Cn as n, D as r, Dn as i, En as a, Et as o, F as s, G as c, Gt as l, H as u, Ht as d, I as f, J as p, K as m, Kt as h, L as g, Lt as _, N as v, O as y, On as b, Ot as x, P as S, Q as C, Sn as w, St as T, Tn as E, U as D, Ut as O, V as k, W as A, Wt as j, X as M, Xt as N, Y as P, Yt as F, Z as I, Zt as L, at as R, bn as z, ct as B, dt as V, et as H, ft as U, gn as W, ht as G, i as K, in as q, it as J, j as Y, k as X, kt as Z, lt as Q, mt as $, n as ee, nn as te, nt as ne, o as re, ot as ie, pn as ae, pt as oe, qt as se, r as ce, rn as le, rt as ue, st as de, t as fe, tt as pe, ut as me, vn as he, wn as ge, xn as _e, xt as ve, yn as ye } from "./chunks/site-builder-NRN9UNyn.js";
|
|
2
2
|
// src/plugins/index.ts
|
|
3
|
-
var be = /* @__PURE__ */
|
|
4
|
-
BASE_ENV: () =>
|
|
5
|
-
BLAZON_CORE_PROFILE: () =>
|
|
6
|
-
BLAZON_PROFILE: () =>
|
|
7
|
-
Breaker: () =>
|
|
3
|
+
var be = /* @__PURE__ */ b({
|
|
4
|
+
BASE_ENV: () => p,
|
|
5
|
+
BLAZON_CORE_PROFILE: () => r,
|
|
6
|
+
BLAZON_PROFILE: () => y,
|
|
7
|
+
Breaker: () => s,
|
|
8
8
|
DEFAULT_THRESHOLD: () => 3,
|
|
9
9
|
DEFAULT_TIMEOUT: () => 5,
|
|
10
10
|
MANIFEST_TIMEOUT: () => 15,
|
|
11
|
-
MAX_BYTES: () =>
|
|
12
|
-
MAX_ENTRIES: () =>
|
|
13
|
-
ManifestError: () =>
|
|
14
|
-
Pin: () =>
|
|
15
|
-
PinMismatch: () =>
|
|
16
|
-
REDACTED: () =>
|
|
11
|
+
MAX_BYTES: () => t,
|
|
12
|
+
MAX_ENTRIES: () => k,
|
|
13
|
+
ManifestError: () => M,
|
|
14
|
+
Pin: () => u,
|
|
15
|
+
PinMismatch: () => D,
|
|
16
|
+
REDACTED: () => ue,
|
|
17
17
|
Refused: () => A,
|
|
18
18
|
STDERR_KEEP: () => ie,
|
|
19
|
-
STDOUT_LIMIT: () =>
|
|
19
|
+
STDOUT_LIMIT: () => de,
|
|
20
20
|
TIMEOUT_CAP: () => 60,
|
|
21
|
-
admit: () =>
|
|
22
|
-
blazonRequests: () =>
|
|
23
|
-
check: () =>
|
|
24
|
-
decodeManifest: () =>
|
|
25
|
-
encodings: () =>
|
|
26
|
-
environment: () =>
|
|
27
|
-
fileDigest: () =>
|
|
28
|
-
graphemeCount: () =>
|
|
29
|
-
isPluginName: () =>
|
|
30
|
-
manifestTimeout: () =>
|
|
31
|
-
message: () =>
|
|
32
|
-
profileTimeoutCap: () =>
|
|
33
|
-
requestFile: () =>
|
|
34
|
-
run: () =>
|
|
35
|
-
scrub: () =>
|
|
36
|
-
setPointer: () =>
|
|
37
|
-
treeDigest: () =>
|
|
38
|
-
truncateGraphemes: () =>
|
|
21
|
+
admit: () => S,
|
|
22
|
+
blazonRequests: () => X,
|
|
23
|
+
check: () => Y,
|
|
24
|
+
decodeManifest: () => I,
|
|
25
|
+
encodings: () => R,
|
|
26
|
+
environment: () => P,
|
|
27
|
+
fileDigest: () => c,
|
|
28
|
+
graphemeCount: () => H,
|
|
29
|
+
isPluginName: () => ae,
|
|
30
|
+
manifestTimeout: () => C,
|
|
31
|
+
message: () => pe,
|
|
32
|
+
profileTimeoutCap: () => e,
|
|
33
|
+
requestFile: () => f,
|
|
34
|
+
run: () => g,
|
|
35
|
+
scrub: () => J,
|
|
36
|
+
setPointer: () => v,
|
|
37
|
+
treeDigest: () => m,
|
|
38
|
+
truncateGraphemes: () => ne
|
|
39
39
|
});
|
|
40
|
-
export {
|
|
40
|
+
export { he as ASSET_URL_BASE, ge as BLAZON_EXTENSION_KEY, B as BRAND_FORMAT, U as BRAND_SCHEMA, oe as BRAND_SCHEMA_FILE, Q as BRAND_VERSION, te as CONFIG_KEYS, le as ConfigError, W as DEFAULT_CONFIG, l as DEFAULT_GRADIENT_ANGLE, ye as INITIATIVE_POSITIONS, z as LOGO_CORNERS, E as PATTERN_KINDS, _e as STANDARD_LOGO_LOCKUPS, w as STANDARD_SECTION_IDS, n as STANDARD_SECTION_TITLES, a as STANDARD_USAGE_ROLES, i as TOKEN_TYPES, F as aliasTarget, me as buildBrandExport, fe as buildSite, o as checkTokens, $ as compileBlazonData, h as compositeParts, re as createBlazonVitePlugin, G as emitTokenOutputs, V as formatBrandJson, x as formatCssTokens, ve as formatJsonTokens, T as formatTsTokens, Z as formatTypographyCss, se as generateCssVarName, L as loadConfig, N as loadTokenTree, d as parseDocs, be as plugins, q as resolveConfig, ee as resolvePrebuiltViewerDir, O as resolveTokenTree, ce as resolveViewer, _ as scanAssets, K as startDevServer, j as toCssValue };
|
package/dist/types/data.d.ts
CHANGED
|
@@ -4,6 +4,14 @@ import { Finding } from './findings.js';
|
|
|
4
4
|
import { LogoSet, BrandTheme, ThemeRole } from './theme.js';
|
|
5
5
|
import { ParsedTokens } from './parsed.js';
|
|
6
6
|
import { EmailSignatureConfig } from './config.js';
|
|
7
|
+
/** The license file in the folder of a font file the config lists, read by blazon: a plugin is never given the project folder, so brand.json carries the text */
|
|
8
|
+
export interface FontLicense {
|
|
9
|
+
family: string;
|
|
10
|
+
/** From the project root, with `/` separators */
|
|
11
|
+
licenseFile: string;
|
|
12
|
+
/** The file's text: UTF-8, at most 64 KiB, line breaks as `\n` */
|
|
13
|
+
licenseText: string;
|
|
14
|
+
}
|
|
7
15
|
export interface BlazonData {
|
|
8
16
|
title: string;
|
|
9
17
|
description?: string;
|
|
@@ -17,6 +25,8 @@ export interface BlazonData {
|
|
|
17
25
|
themeTokens?: Partial<Record<ThemeRole, string>>;
|
|
18
26
|
/** Font stylesheet URLs the brand book loads */
|
|
19
27
|
fonts: string[];
|
|
28
|
+
/** The license text found beside the font files of the config, one per family (absent when none was found): see `readFontLicense` */
|
|
29
|
+
fontLicenses?: FontLicense[];
|
|
20
30
|
/** Logo variants as data URIs: onLight for light backgrounds, onDark for dark ones */
|
|
21
31
|
logo?: LogoSet;
|
|
22
32
|
docs: DocItem[];
|
package/dist/types/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/types/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,iGAAiG;IACjG,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,wFAAwF;IACxF,KAAK,EAAE,UAAU,CAAC;IAClB,gHAAgH;IAChH,WAAW,CAAC,EAAE,O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