histoire 0.0.5 → 0.1.0

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.
@@ -10,7 +10,10 @@ export function getDefaultConfig() {
10
10
  return {
11
11
  outDir: 'histoire-dist',
12
12
  storyMatch: ['**/*.story.vue'],
13
- storyIgnored: ['**/node_modules/**'],
13
+ storyIgnored: [
14
+ '**/node_modules/**',
15
+ '**/dist/**',
16
+ ],
14
17
  tree: {
15
18
  file: 'title',
16
19
  order: 'asc',
@@ -38,6 +38,8 @@ export async function createVitePlugins(ctx) {
38
38
  include: [
39
39
  'vue',
40
40
  '@vue/runtime-core',
41
+ 'shiki',
42
+ 'case',
41
43
  ],
42
44
  },
43
45
  server: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histoire",
3
- "version": "0.0.5",
3
+ "version": "0.1.0",
4
4
  "description": "A fast story book powered by Vite",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@iconify/vue": "^3.1.3",
37
- "@histoire/controls": "^0.0.5",
37
+ "@histoire/controls": "^0.1.0",
38
38
  "@vitejs/plugin-vue": "^2.2.0",
39
39
  "@vueuse/core": "^7.6.2",
40
40
  "case": "^1.6.3",
@@ -60,6 +60,7 @@
60
60
  "vue-router": "^4.0.12"
61
61
  },
62
62
  "peerDependencies": {
63
+ "@vue/runtime-core": "^3.2.31",
63
64
  "vite": "^2.8.3",
64
65
  "vue": "^3.2.31"
65
66
  },
@@ -135,7 +135,10 @@ export function getDefaultConfig (): HistoireConfig {
135
135
  return {
136
136
  outDir: 'histoire-dist',
137
137
  storyMatch: ['**/*.story.vue'],
138
- storyIgnored: ['**/node_modules/**'],
138
+ storyIgnored: [
139
+ '**/node_modules/**',
140
+ '**/dist/**',
141
+ ],
139
142
  tree: {
140
143
  file: 'title',
141
144
  order: 'asc',
@@ -46,6 +46,8 @@ export async function createVitePlugins (ctx: Context): Promise<VitePlugin[]> {
46
46
  include: [
47
47
  'vue',
48
48
  '@vue/runtime-core',
49
+ 'shiki',
50
+ 'case',
49
51
  ],
50
52
  },
51
53
  server: {