@bridge-ds/core 0.15.0 → 0.16.0
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/bridge.config.schema.json +5 -0
- package/dist/audit/index.js +3 -3
- package/dist/config.d.ts +5 -0
- package/dist/index.js +124 -71
- package/dist/index.js.map +1 -1
- package/dist/node/index.js +3 -3
- package/dist/{prod-branch-BjXFIz74.js → prod-branch-CSM0c2OF.js} +74 -72
- package/dist/prod-branch-CSM0c2OF.js.map +1 -0
- package/dist/repo-model.d.ts +35 -1
- package/dist/{repo-source-CNZLq_xK.js → repo-source-73kARDJv.js} +2 -2
- package/dist/{repo-source-CNZLq_xK.js.map → repo-source-73kARDJv.js.map} +1 -1
- package/dist/{report-DCPfvvoq.js → report-DbE6yJCw.js} +2 -2
- package/dist/{report-DCPfvvoq.js.map → report-DbE6yJCw.js.map} +1 -1
- package/dist/snapshot.d.ts +5 -0
- package/package.json +1 -1
- package/dist/prod-branch-BjXFIz74.js.map +0 -1
package/dist/snapshot.d.ts
CHANGED
|
@@ -80,6 +80,11 @@ export interface RepoSnapshot {
|
|
|
80
80
|
audits: SnapshotAudit[];
|
|
81
81
|
/** What could not be read when the snapshot was written. */
|
|
82
82
|
problems: string[];
|
|
83
|
+
/**
|
|
84
|
+
* The global stylesheet globs the model read (components.styles), their files among `files`. Absent from a snapshot
|
|
85
|
+
* written before Bridge read global stylesheets: a reader then reads those files from the repository.
|
|
86
|
+
*/
|
|
87
|
+
styles?: string[];
|
|
83
88
|
}
|
|
84
89
|
export declare class SnapshotError extends Error {
|
|
85
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridge-ds/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bridge core: bridge.config.json, DTCG token loading (tiers and layered modes), alias resolution, WCAG contrast, diffs, minimal-diff edits, PR body, the shared risk tier classifier, changesets and a fetch-based GitHub client. No Figma API, no DOM; Node-only helpers (git, reading a product folder) under @bridge-ds/core/node; the adoption audit under @bridge-ds/core/audit.",
|
|
6
6
|
"license": "MIT",
|