@iksnerd/blazon 0.1.1 → 0.2.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.
Files changed (67) hide show
  1. package/README.md +3 -3
  2. package/dist/chunks/{site-builder-CPfjBOmR.js → site-builder-BtGOvjBC.js} +2331 -2633
  3. package/dist/cli/commands/tokens.d.ts +4 -0
  4. package/dist/cli/commands/tokens.d.ts.map +1 -1
  5. package/dist/cli/handlers/brand.d.ts +1 -1
  6. package/dist/cli/handlers/index.d.ts +2 -2
  7. package/dist/cli/index.js +915 -941
  8. package/dist/core/brand/export.d.ts +2 -9
  9. package/dist/core/brand/export.d.ts.map +1 -1
  10. package/dist/core/brand/schema.d.ts +0 -58
  11. package/dist/core/brand/schema.d.ts.map +1 -1
  12. package/dist/core/brand-theme.d.ts +0 -2
  13. package/dist/core/brand-theme.d.ts.map +1 -1
  14. package/dist/core/checker/catalogue.d.ts +2 -2
  15. package/dist/core/checker/contrast.d.ts +1 -1
  16. package/dist/core/checker/variables.d.ts +2 -2
  17. package/dist/core/checker/variables.d.ts.map +1 -1
  18. package/dist/core/config/removed-keys.d.ts +6 -0
  19. package/dist/core/config/removed-keys.d.ts.map +1 -0
  20. package/dist/core/config/validate.d.ts +1 -1
  21. package/dist/core/config/validate.d.ts.map +1 -1
  22. package/dist/core/emit.d.ts +1 -3
  23. package/dist/core/emit.d.ts.map +1 -1
  24. package/dist/core/index.d.ts.map +1 -1
  25. package/dist/core/operations/list.d.ts.map +1 -1
  26. package/dist/core/plugin-name.d.ts +1 -1
  27. package/dist/core/read/token.d.ts +1 -6
  28. package/dist/core/read/token.d.ts.map +1 -1
  29. package/dist/index.js +33 -33
  30. package/dist/plugins/roles/integrate.d.ts +5 -2
  31. package/dist/plugins/roles/integrate.d.ts.map +1 -1
  32. package/dist/plugins/roles/roles.d.ts +5 -2
  33. package/dist/plugins/roles/roles.d.ts.map +1 -1
  34. package/dist/plugins/wire/profile.d.ts +5 -0
  35. package/dist/plugins/wire/profile.d.ts.map +1 -1
  36. package/dist/types/config.d.ts +1 -3
  37. package/dist/types/config.d.ts.map +1 -1
  38. package/dist/types/theme.d.ts +0 -3
  39. package/dist/types/theme.d.ts.map +1 -1
  40. package/dist/ui/assets/{index-D0WCUmtA.css → index-DluSqfla.css} +1 -1
  41. package/dist/ui/index.html +2 -2
  42. package/package.json +1 -1
  43. package/plugins/blazon.brand-deck/bin/blazon-blazon.brand-deck./360/237/224/214 +24 -2
  44. package/plugins/blazon.copy/bin/blazon-blazon.copy./360/237/224/214 +25 -3
  45. package/plugins/blazon.favicons/bin/blazon-blazon.favicons./360/237/224/214 +26 -3
  46. package/plugins/blazon.logo-geometry/bin/blazon-blazon.logo-geometry./360/237/224/214 +37 -8
  47. package/plugins/blazon.logo-kit/bin/blazon-blazon.logo-kit./360/237/224/214 +37 -8
  48. package/plugins/blazon.office-template/bin/blazon-blazon.office-template./360/237/224/214 +37 -8
  49. package/plugins/blazon.platform-tokens/bin/blazon-blazon.platform-tokens./360/237/224/214 +37 -9
  50. package/plugins/blazon.press-kit/bin/blazon-blazon.press-kit./360/237/224/214 +37 -8
  51. package/plugins/blazon.print-book/bin/blazon-blazon.print-book./360/237/224/214 +36 -7
  52. package/plugins/blazon.shadcn/README.md +27 -0
  53. package/plugins/blazon.shadcn/bin/blazon-blazon.shadcn./360/237/224/214 +8273 -0
  54. package/plugins/blazon.shadcn/package.json +3 -0
  55. package/plugins/blazon.social-cards/bin/blazon-blazon.social-cards./360/237/224/214 +37 -8
  56. package/plugins/blazon.tailwind/README.md +23 -0
  57. package/plugins/blazon.tailwind/bin/blazon-blazon.tailwind./360/237/224/214 +420 -0
  58. package/plugins/blazon.tailwind/package.json +3 -0
  59. package/plugins/shipped.lock +24 -10
  60. package/template/AGENTS.md +1 -1
  61. package/template/blazon.json +0 -10
  62. package/template/docs/12-web.md +2 -2
  63. package/dist/core/tokens/formatters/tailwind.d.ts +0 -37
  64. package/dist/core/tokens/formatters/tailwind.d.ts.map +0 -1
  65. package/dist/core/tokens/shadcn.d.ts +0 -43
  66. package/dist/core/tokens/shadcn.d.ts.map +0 -1
  67. /package/dist/ui/assets/{index-DhSc0Zxv.js → index-CLKH0m9J.js} +0 -0
@@ -1,4 +1,8 @@
1
1
  import { PluginOptions } from './check.js';
2
+ /**
3
+ * Writes the token files, then runs the build plugins with no site: a plugin that derives its files from the brand (blazon.platform-tokens,
4
+ * blazon.tailwind, blazon.shadcn) writes them to `<tokensOutDir>/<name>/`, and one that needs the built site says so and writes nothing.
5
+ */
2
6
  export declare function runTokens(cwd?: string, options?: PluginOptions): Promise<{
3
7
  findings: import('../../index.js').Finding[];
4
8
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/tokens.ts"],"names":[],"mappings":"AAMA,OAAO,EAA8C,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAE5F,wBAAsB,SAAS,CAAC,GAAG,GAAE,MAAsB,EAAE,OAAO,CAAC,EAAE,aAAa;;GAcnF"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/tokens.ts"],"names":[],"mappings":"AAQA,OAAO,EAA0E,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAExH;;;GAGG;AACH,wBAAsB,SAAS,CAAC,GAAG,GAAE,MAAsB,EAAE,OAAO,CAAC,EAAE,aAAa;;GA6BnF"}
@@ -1,7 +1,7 @@
1
1
  import { Handler } from './types.js';
2
2
  /**
3
3
  * `get_brand`, `blazon brand`: the brand as brand.json holds it, compiled now and printed to standard output, so nothing is written and
4
- * nothing is stale. `--key theme.shadcn` prints only that part. Always JSON; exits 2 for a key the document does not have.
4
+ * nothing is stale. `--key theme.roles` prints only that part. Always JSON; exits 2 for a key the document does not have.
5
5
  */
6
6
  export declare const getBrandHandler: Handler;
7
7
  //# sourceMappingURL=brand.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { Handler } from './types.js';
2
2
  /**
3
- * One handler for each operation of the list that has a command (src/core/operations/list.ts), by the operation's name. `check_brand` and
4
- * `get_shadcn` have none: the first is `blazon check`, which runs plugins and is not an operation yet, and the second is `blazon brand --key`.
3
+ * One handler for each operation of the list that has a command (src/core/operations/list.ts), by the operation's name. `check_brand` has none:
4
+ * it is `blazon check`, which runs plugins and is not an operation yet.
5
5
  */
6
6
  export declare const HANDLERS: Record<string, Handler>;
7
7
  export type { Context, Handler, Outcome } from './types.js';