Skip to content

Commit

Permalink
Rename renderer to runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed May 28, 2024
1 parent eb432de commit f05a689
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Meta, StoryContext as BaseStoryContext, StoryObj } from '@storyboo
import Story from './renderer/Story.svelte';

export type { Story };
export { setTemplate } from './renderer/contexts/template.svelte.js';
export { setTemplate } from './runtime/contexts/template.svelte.js';

export function defineMeta<const TMeta extends Meta = Meta>(meta: TMeta) {
return {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/utils/parser/collect-stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { mount, unmount, type ComponentType } from 'svelte';

import StoriesExtractor from './StoriesExtractor.svelte';
import StoryRenderer from '../../renderer/StoryRenderer.svelte';
import type { StoriesRepository } from '../../renderer/contexts/extractor.svelte.js';
import type { StoriesRepository } from '../../runtime/contexts/extractor.svelte.js';

const createFragment = document.createDocumentFragment
? () => document.createDocumentFragment()
Expand Down

0 comments on commit f05a689

Please sign in to comment.