Skip to content

Commit

Permalink
Merge pull request #19429 from storybookjs/shilman/delete-vue-kitchen…
Browse files Browse the repository at this point in the history
…-sink

Vue: Delete vue-cli/vue-kitchen-sink examples
  • Loading branch information
shilman authored Oct 11, 2022
2 parents d4a6878 + b8fa5b2 commit c9ebf3d
Show file tree
Hide file tree
Showing 65 changed files with 133 additions and 2,916 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
executor:
class: medium+
name: sb_node_14_browsers
parallelism: 8
parallelism: 7
steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
import Vue from 'vue';

// this is defined in @storybook/vue but not exported,
Expand All @@ -7,13 +8,15 @@ const VALUES = 'STORYBOOK_VALUES';
function getRenderedTree(story: any) {
const component = story.render();

// @ts-ignore FIXME storyshots type error
const vm = new Vue({
// @ts-ignore FIXME storyshots type error
render(h) {
return h(component);
},
});

// @ts-expect-error (Converted from ts-ignore)
// @ts-ignore FIXME storyshots type error
vm[VALUES] = story.initialArgs;

return vm.$mount().$el;
Expand Down
24 changes: 0 additions & 24 deletions code/examples/vue-cli/.storybook/main.ts

This file was deleted.

5 changes: 0 additions & 5 deletions code/examples/vue-cli/.storybook/preview.js

This file was deleted.

8 changes: 0 additions & 8 deletions code/examples/vue-cli/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions code/examples/vue-cli/babel.config.js

This file was deleted.

30 changes: 0 additions & 30 deletions code/examples/vue-cli/package.json

This file was deleted.

26 changes: 0 additions & 26 deletions code/examples/vue-cli/src/App.vue

This file was deleted.

28 changes: 0 additions & 28 deletions code/examples/vue-cli/src/button/Button.stories.ts

This file was deleted.

49 changes: 0 additions & 49 deletions code/examples/vue-cli/src/button/Button.vue

This file was deleted.

2 changes: 0 additions & 2 deletions code/examples/vue-cli/src/button/types.ts

This file was deleted.

6 changes: 0 additions & 6 deletions code/examples/vue-cli/src/main.ts

This file was deleted.

4 changes: 0 additions & 4 deletions code/examples/vue-cli/src/shims-vue.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions code/examples/vue-cli/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions code/examples/vue-kitchen-sink/.babelrc

This file was deleted.

15 changes: 0 additions & 15 deletions code/examples/vue-kitchen-sink/.gitignore

This file was deleted.

26 changes: 0 additions & 26 deletions code/examples/vue-kitchen-sink/.storybook/main.ts

This file was deleted.

14 changes: 0 additions & 14 deletions code/examples/vue-kitchen-sink/.storybook/preview.js

This file was deleted.

3 changes: 0 additions & 3 deletions code/examples/vue-kitchen-sink/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions code/examples/vue-kitchen-sink/index.html

This file was deleted.

16 changes: 0 additions & 16 deletions code/examples/vue-kitchen-sink/jest.config.js

This file was deleted.

52 changes: 0 additions & 52 deletions code/examples/vue-kitchen-sink/package.json

This file was deleted.

Binary file removed code/examples/vue-kitchen-sink/public/favicon.ico
Binary file not shown.
Loading

0 comments on commit c9ebf3d

Please sign in to comment.