41220 Commits

Author SHA1 Message Date
Tom Coleman
cc4f0ca630 Update tests 2022-07-11 10:22:14 +10:00
Tom Coleman
f0f08d08b0 Clean up debugging 2022-07-10 21:38:28 +10:00
Tom Coleman
353962151f Deepscan Cleanup 2022-07-08 14:56:40 +10:00
Tom Coleman
88561de25c Cleanup 2022-07-08 14:54:25 +10:00
Tom Coleman
1d81c29789 Get rid of identifiers from DocsContext 2022-07-08 14:42:33 +10:00
Tom Coleman
41275f197d Rebased content got lost 2022-07-08 14:03:02 +10:00
Tom Coleman
8705ae1282 Deepscan 2022-07-07 13:21:15 +10:00
Tom Coleman
eaf5af0f77 Add some template exampes to external docs
And make sure doc blocks use the "primary" story by id when possible.
2022-07-07 13:21:15 +10:00
Tom Coleman
b2e34b88f1 Refactor ExternalX to reuse DocsContext
Simplifies things down a lot!
2022-07-07 13:21:15 +10:00
Tom Coleman
697de50991 Refactor DocsRender/Context 2022-07-07 13:21:15 +10:00
Tom Coleman
392603beee Properly disable e2e-tests-sb-docs 2022-07-07 12:43:32 +10:00
Tom Coleman
abd94041a6 Don't append title prefix to Meta of= docs entries 2022-07-07 12:26:33 +10:00
Tom Coleman
e19e16c090 Disable test runner docs test
cc @yannbf
2022-07-07 12:25:28 +10:00
Tom Coleman
b4130f3675 Ok, I think I fixed all e2e tests 2022-07-07 12:25:28 +10:00
Tom Coleman
a54747bf13 It's not so easy to differentiate single story entries 2022-07-07 12:25:28 +10:00
Tom Coleman
e7781146ea Fix e2e tests! 2022-07-07 12:25:28 +10:00
Tom Coleman
7a3b9e1743 Deepscan + snapshot updates 2022-07-07 12:25:28 +10:00
Tom Coleman
cd6bcc0b51 Render standalone and template stories 2022-07-07 12:25:27 +10:00
Tom Coleman
efa1d76224 Update snapshots 2022-07-07 12:18:01 +10:00
Tom Coleman
dd6fe0cab4 Refactor for clarity as per suggestion 2022-07-07 12:16:32 +10:00
Tom Coleman
095a5a9196 Exclude test files properly in core-server 2022-07-07 12:04:14 +10:00
Tom Coleman
3d6ef0b74c Some TS fixes 2022-07-07 12:04:14 +10:00
Tom Coleman
0dd08bbf9a Update StoryIndexGenerator to generate "template" entries
Template (standalone: false) entries are needed for:
  - Docs Page
  - *.stories.mdx files that define a docs page and stories.

A Template entry expects to be rendered from and against a story file. (A standalone entry expects to be rendered as a MDX file)
2022-07-07 12:04:11 +10:00
Tom Coleman
223bfe626b Add docs option and use to drive the indexer 2022-07-07 12:02:40 +10:00
Tom Coleman
45f141b4d2 Code review 2022-07-07 12:00:04 +10:00
Tom Coleman
20e3a89b8d Added test for disabling 2022-07-07 12:00:04 +10:00
Tom Coleman
fea109aa1f Add docs option and use to drive the indexer 2022-07-07 12:00:02 +10:00
Gert Hengeveld
49bdd7b434 Remove chromatic ignore attributes, instead just don't run the play function 2022-07-07 00:35:32 +02:00
Norbert de Langen
a5762c99cd
Merge pull request #18377 from AriPerkkio/fix/builder-stats-typings
Core: Fix builder stats typings to be optional
2022-07-07 00:03:20 +02:00
Norbert de Langen
1935e3f173
Merge pull request #18647 from storybookjs/future/base-with-next-merged
Future - merge next into future/base
2022-07-06 23:44:15 +02:00
Norbert de Langen
ee64493647
Merge branch 'next' into future/base-with-next-merged
# Conflicts:
#	frameworks/ember/src/client/preview/render.ts
#	lib/components/package.json
#	yarn.lock
2022-07-06 23:21:35 +02:00
Gert Hengeveld
74ce82c950 Ignore tooltips in Chromatic 2022-07-06 21:43:48 +02:00
Norbert de Langen
4dd58724db
Merge pull request #18101 from storybookjs/typescript-config
Clarify main.ts typescript instructions
2022-07-06 20:15:38 +02:00
Norbert de Langen
a5eace1db0
Merge branch 'next' into typescript-config
# Conflicts:
#	docs/configure/overview.md
2022-07-06 20:15:16 +02:00
Norbert de Langen
c70361fa25
Merge pull request #18642 from storybookjs/future/improve-linting-a-bit
Future - improve linting a bit
2022-07-06 20:07:54 +02:00
Norbert de Langen
dee7788bdf
Merge pull request #18608 from storybookjs/luke/next
Future - dependencies: use `dequal` for equality checks
2022-07-06 20:05:33 +02:00
Norbert de Langen
8c0d7bed49
only show errors in lint output, scrolling past 10000 warnings isn't helping 2022-07-06 19:45:02 +02:00
Norbert de Langen
997dc7496a
fix lint error 2022-07-06 19:32:51 +02:00
Norbert de Langen
b49b835c0c
Merge branch 'future/base' into fix/builder-stats-typings 2022-07-06 19:22:49 +02:00
Norbert de Langen
184e97c8e8
Merge branch 'future/base' into luke/next
# Conflicts:
#	examples/web-components-kitchen-sink/yarn.lock
#	lib/api/src/modules/layout.ts
#	lib/blocks/src/blocks/SourceContainer.tsx
2022-07-06 19:04:33 +02:00
Michael Shilman
0bcc17bd3f Update git head to 7.0.0-alpha.11, update yarn.lock 2022-07-06 09:10:09 -07:00
Michael Shilman
688d338903 v7.0.0-alpha.11 v7.0.0-alpha.11 2022-07-06 09:05:27 -07:00
Michael Shilman
605b163711 Update root, peer deps, version.ts/json to 7.0.0-alpha.11 [ci skip] 2022-07-06 08:51:36 -07:00
Michael Shilman
5cae86c3fd 7.0.0-alpha.11 changelog 2022-07-06 08:51:15 -07:00
Norbert de Langen
b409619226
Merge pull request #18637 from storybookjs/future/linting-ejs
Future - add a linter for .ejs files (our templates)
2022-07-06 15:37:31 +02:00
Norbert de Langen
1415dc494d
Merge pull request #18638 from storybookjs/future/prep-for-esbuild-register
Future - prep for #18619
2022-07-06 15:21:23 +02:00
Norbert de Langen
71240236c7
deduplicate interopRequireDefault 2022-07-06 14:21:24 +02:00
Norbert de Langen
c713a9b8dd
add a linter for .ejs files (our templates) 2022-07-06 14:03:17 +02:00
Norbert de Langen
4390ceaaba
fix 2022-07-06 13:35:13 +02:00
Norbert de Langen
8b6c097885
fix 2022-07-06 13:08:38 +02:00