design-token-library 0.3.0 → 0.3.1
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/CHANGELOG.md +6 -0
- package/package.json +5 -4
- package/dist/lib/public.d.ts +0 -1405
- package/dist/lib/tsdoc-metadata.json +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.3.1] - 2026-11-04
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The published typings (`types` / `exports.types`) are `dist/lib/index.d.ts` again, as in 0.2.0. In 0.3.0 they were the API Extractor rollup `dist/lib/public.d.ts`, trimmed to what is tagged `@public`, which left out the `@internal` types that public types are written in terms of (`DesignToken.Shape`, `ValueByToken`, the `REF` key of a ref). Their uses didn't resolve, so `refs<T>()` of a group had no members, any object was a `Ref`, and `Library.create`, which the rollup hides, was missing.
|
|
13
|
+
|
|
8
14
|
## [0.3.0] - 2026-11-03
|
|
9
15
|
|
|
10
16
|
### Added
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "design-token-library",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A library for managing design tokens",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/lib/index.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/lib/
|
|
10
|
+
"types": "./dist/lib/index.d.ts",
|
|
11
11
|
"default": "./dist/lib/index.js"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"./dist/lib/**.*",
|
|
16
16
|
"CHANGELOG.md"
|
|
17
17
|
],
|
|
18
|
-
"types": "./dist/lib/
|
|
18
|
+
"types": "./dist/lib/index.d.ts",
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "tsc -b
|
|
20
|
+
"build": "tsc -b",
|
|
21
21
|
"watch": "tsc -b -w",
|
|
22
22
|
"watch:test": "watchlist dist/test -- npm test",
|
|
23
23
|
"test": "npx uvu dist/test .spec.js$",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"report-size": "npx esbuild dist/lib/index.js --bundle --outfile=temp/bundle.js --minify; rm -rf temp",
|
|
26
26
|
"api-report": "npx api-extractor run --local --verbose",
|
|
27
27
|
"api-report:check": "npx api-extractor run --verbose",
|
|
28
|
+
"typings:check": "tsc -p typings-check",
|
|
28
29
|
"docs:api-reference": "npx api-documenter markdown --input-folder temp --output-folder doc-site/docs/api-reference",
|
|
29
30
|
"prettier": "npx prettier ./src --write"
|
|
30
31
|
},
|