@reuters-graphics/graphics-components 3.9.0 → 3.10.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/package.json +23 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reuters-graphics/graphics-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://reuters-graphics.github.io/graphics-components",
|
|
@@ -82,12 +82,19 @@
|
|
|
82
82
|
"react-colorful": "^5.6.1",
|
|
83
83
|
"react-dom": "^18.3.1",
|
|
84
84
|
"react-syntax-highlighter": "^15.6.1",
|
|
85
|
+
"remark-mdx": "^3.1.1",
|
|
86
|
+
"remark-parse": "^11.0.0",
|
|
87
|
+
"remark-stringify": "^11.0.0",
|
|
85
88
|
"rimraf": "^6.0.1",
|
|
86
89
|
"sass": "^1.86.3",
|
|
87
90
|
"storybook": "^8.6.12",
|
|
88
91
|
"svelte": "^5.28.1",
|
|
89
92
|
"svelte-check": "^4.1.6",
|
|
93
|
+
"ts-morph": "^28.0.0",
|
|
94
|
+
"tsx": "^4.22.4",
|
|
90
95
|
"typescript": "^5.8.3",
|
|
96
|
+
"unified": "^11.0.5",
|
|
97
|
+
"unist-util-visit": "^5.1.0",
|
|
91
98
|
"vite": "^6.3.2"
|
|
92
99
|
},
|
|
93
100
|
"dependencies": {
|
|
@@ -118,7 +125,19 @@
|
|
|
118
125
|
"svelte": "./dist/index.js",
|
|
119
126
|
"default": "./dist/index.js"
|
|
120
127
|
},
|
|
121
|
-
"./scss/*": "./dist/scss/*"
|
|
128
|
+
"./scss/*": "./dist/scss/*",
|
|
129
|
+
"./llm-docs/*": "./dist/llm-docs/*"
|
|
130
|
+
},
|
|
131
|
+
"llms": {
|
|
132
|
+
"description": [
|
|
133
|
+
"Svelte 5 component library for Reuters Graphics journalism.",
|
|
134
|
+
"Provides components for page layout, text elements, multimedia, maps, and data visualisation,",
|
|
135
|
+
"alongside a full SCSS design system with spacing tokens, typography utilities, colour palettes,",
|
|
136
|
+
"and CSS custom properties for theming."
|
|
137
|
+
],
|
|
138
|
+
"files": [
|
|
139
|
+
"./dist/llm-docs/**/*"
|
|
140
|
+
]
|
|
122
141
|
},
|
|
123
142
|
"svelte": "./dist/index.js",
|
|
124
143
|
"types": "./dist/index.d.ts",
|
|
@@ -129,7 +148,8 @@
|
|
|
129
148
|
"start": "storybook dev -p 3000",
|
|
130
149
|
"lint": "eslint --fix",
|
|
131
150
|
"format": "prettier . --write",
|
|
132
|
-
"
|
|
151
|
+
"generate:llm-docs": "tsx scripts/generate-llm-docs/index.ts",
|
|
152
|
+
"build": "rimraf ./dist && svelte-package -i ./src && pnpm generate:llm-docs && publint",
|
|
133
153
|
"build:docs": "storybook build -o docs",
|
|
134
154
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
135
155
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|