@terrazzo/token-tools 0.1.1 → 0.1.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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @terrazzo/token-tools@0.1.1 build /home/runner/work/terrazzo/terrazzo/packages/token-tools
2
+ > @terrazzo/token-tools@0.1.2 build /home/runner/work/terrazzo/terrazzo/packages/token-tools
3
3
  > pnpm run build:ts && pnpm -w run inject-license @terrazzo/token-tools dist/index.js
4
4
 
5
5
 
6
- > @terrazzo/token-tools@0.1.1 build:ts /home/runner/work/terrazzo/terrazzo/packages/token-tools
6
+ > @terrazzo/token-tools@0.1.2 build:ts /home/runner/work/terrazzo/terrazzo/packages/token-tools
7
7
  > tsc -p tsconfig.build.json
8
8
 
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @terrazzo/token-tools
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#342](https://github.com/terrazzoapp/terrazzo/pull/342) [`4bd7b85`](https://github.com/terrazzoapp/terrazzo/commit/4bd7b85427267728ba8c3ffd80aa4e01e8616c98) Thanks [@tomasfrancisco](https://github.com/tomasfrancisco)! - Improve typings for Group to allow nested Groups
8
+
3
9
  ## 0.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/types.d.ts CHANGED
@@ -187,8 +187,8 @@ export interface GroupCore {
187
187
  $type?: Token['$type'];
188
188
  $extensions?: Record<string, unknown>;
189
189
  }
190
- export type Group = GroupCore & {
191
- [key: string]: GroupOrToken;
190
+ export type Group = GroupCore | {
191
+ [key: string]: GroupOrToken | GroupCore;
192
192
  };
193
193
  export type GroupOrToken = Group | Token;
194
194
  export interface TokenNormalizedCore {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@terrazzo/token-tools",
3
3
  "description": "Various utilities for token types",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "author": {
6
6
  "name": "Drew Powers",
7
7
  "email": "drew@pow.rs"