Skip to content

Commit 12c5786

Browse files
feat: upgrade to Storybook 10 RC.4 (#22)
1 parent 30ce9e8 commit 12c5786

File tree

4 files changed

+2185
-2439
lines changed

4 files changed

+2185
-2439
lines changed

.storybook/vitest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import '@angular/compiler';
12
import { beforeAll } from 'vitest';
23
import { setProjectAnnotations } from '@analogjs/storybook-angular/testing';
34
import * as a11yAddonAnnotations from "@storybook/addon-a11y/preview";

documentation.json

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"indexSignatures": [],
25-
"kind": 171,
25+
"kind": 172,
2626
"methods": [],
2727
"extends": []
2828
}
@@ -125,7 +125,7 @@
125125
{
126126
"pos": 798,
127127
"end": 811,
128-
"kind": 327,
128+
"kind": 328,
129129
"id": 0,
130130
"flags": 16842752,
131131
"modifierFlagsCache": 0,
@@ -414,6 +414,16 @@
414414
"deprecationMessage": "",
415415
"type": "ApplicationConfig",
416416
"defaultValue": "{\n providers: [provideRouter(routes)]\n}"
417+
},
418+
{
419+
"name": "routes",
420+
"ctype": "miscellaneous",
421+
"subtype": "variable",
422+
"file": "src/app/app.routes.ts",
423+
"deprecated": false,
424+
"deprecationMessage": "",
425+
"type": "Routes",
426+
"defaultValue": "[]"
417427
}
418428
],
419429
"functions": [],
@@ -431,15 +441,31 @@
431441
"type": "ApplicationConfig",
432442
"defaultValue": "{\n providers: [provideRouter(routes)]\n}"
433443
}
444+
],
445+
"src/app/app.routes.ts": [
446+
{
447+
"name": "routes",
448+
"ctype": "miscellaneous",
449+
"subtype": "variable",
450+
"file": "src/app/app.routes.ts",
451+
"deprecated": false,
452+
"deprecationMessage": "",
453+
"type": "Routes",
454+
"defaultValue": "[]"
455+
}
434456
]
435457
},
436458
"groupedFunctions": {},
437459
"groupedEnumerations": {},
438460
"groupedTypeAliases": {}
439461
},
440-
"routes": [],
462+
"routes": {
463+
"name": "<root>",
464+
"kind": "module",
465+
"children": []
466+
},
441467
"coverage": {
442-
"count": 13,
468+
"count": 11,
443469
"status": "low",
444470
"files": [
445471
{
@@ -461,6 +487,16 @@
461487
"coverageCount": "0/1",
462488
"status": "low"
463489
},
490+
{
491+
"filePath": "src/app/app.routes.ts",
492+
"type": "variable",
493+
"linktype": "miscellaneous",
494+
"linksubtype": "variable",
495+
"name": "routes",
496+
"coveragePercent": 0,
497+
"coverageCount": "0/1",
498+
"status": "low"
499+
},
464500
{
465501
"filePath": "src/stories/button.component.ts",
466502
"type": "component",

0 commit comments

Comments
 (0)