@pantoken/astro 0.1.22 → 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.
- package/README.md +7 -0
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -4,6 +4,13 @@ Astro / Starlight integration for pantoken. `InstUI` is a Starlight plugin that
|
|
|
4
4
|
Instructure design tokens and icons as CSS into the page head. It ports the approach of
|
|
5
5
|
`starlight-theme-instui` onto the shared `@pantoken/css` pipeline.
|
|
6
6
|
|
|
7
|
+
## Compatibility
|
|
8
|
+
|
|
9
|
+
Verified with real Starlight site builds for Starlight 0.35.0 / Astro 5.18.2 and Starlight 0.42.4
|
|
10
|
+
/ Astro 7.3.5. Both generated pages contain the injected token stylesheet. These are tested pairs,
|
|
11
|
+
not a claim that every combination in between is supported. See the
|
|
12
|
+
[compatibility matrix](https://pantoken.app/compatibility) for exact versions.
|
|
13
|
+
|
|
7
14
|
## Install
|
|
8
15
|
|
|
9
16
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/astro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Astro / Starlight integration for pantoken: inject Instructure design tokens and icons as CSS.",
|
|
5
5
|
"homepage": "https://pantoken.app",
|
|
6
6
|
"bugs": "https://github.com/thedannywahl/pantoken/issues",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"provenance": true
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pantoken/css": "0.4.
|
|
31
|
-
"@pantoken/model": "0.
|
|
32
|
-
"@pantoken/tokens": "0.
|
|
30
|
+
"@pantoken/css": "0.4.2",
|
|
31
|
+
"@pantoken/model": "0.5.0",
|
|
32
|
+
"@pantoken/tokens": "0.8.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@pantoken/components": "
|
|
36
|
-
"@pantoken/plugin-custom-components": "0.
|
|
37
|
-
"@types/node": "^26.6.
|
|
35
|
+
"@pantoken/components": "2.0.1",
|
|
36
|
+
"@pantoken/plugin-custom-components": "0.7.0",
|
|
37
|
+
"@types/node": "^26.6.3",
|
|
38
38
|
"typescript": "^7.0.2",
|
|
39
39
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0-rc.0",
|
|
40
40
|
"vite-plus": "1.0.0-rc.0"
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"kind": "namespace"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
|
+
"check:compatibility": "node scripts/check-compatibility.ts",
|
|
50
51
|
"generate": "node scripts/generate.ts",
|
|
51
52
|
"dev": "vp run generate && vp pack --watch",
|
|
52
53
|
"test": "vp test",
|