@histoire/shared 0.11.9 → 0.12.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/dist/types/config.d.ts +5 -0
- package/package.json +3 -3
- package/src/types/config.ts +5 -0
package/dist/types/config.d.ts
CHANGED
|
@@ -201,5 +201,10 @@ export interface HistoireConfig {
|
|
|
201
201
|
*/
|
|
202
202
|
web?: RegExp[];
|
|
203
203
|
};
|
|
204
|
+
/**
|
|
205
|
+
* Maximum number of threads used to collect stories.
|
|
206
|
+
* By default based on available number of cores.
|
|
207
|
+
*/
|
|
208
|
+
collectMaxThreads?: number;
|
|
204
209
|
}
|
|
205
210
|
export type ConfigMode = 'build' | 'dev';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Shared utilities for Histoire",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"picocolors": "^1.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"vite": "^2.9.0 || ^3.0.0"
|
|
35
|
+
"vite": "^2.9.0 || ^3.0.0 || ^4.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^4.7.4",
|
|
39
|
-
"vite": "^
|
|
39
|
+
"vite": "^4.0.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "rimraf dist && tsc -d",
|
package/src/types/config.ts
CHANGED
|
@@ -210,6 +210,11 @@ export interface HistoireConfig {
|
|
|
210
210
|
*/
|
|
211
211
|
web?: RegExp[]
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Maximum number of threads used to collect stories.
|
|
215
|
+
* By default based on available number of cores.
|
|
216
|
+
*/
|
|
217
|
+
collectMaxThreads?: number
|
|
213
218
|
}
|
|
214
219
|
|
|
215
220
|
export type ConfigMode = 'build' | 'dev'
|