@pure-ds/storybook 0.3.12 → 0.3.13

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.
@@ -20,9 +20,10 @@ const config = {
20
20
  ? normalizePath(resolve(process.env.PDS_STORIES_PATH, '**/*.stories.@(js|jsx|mjs|ts|tsx)'))
21
21
  : '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)',
22
22
  // Include user stories from the project root, but only if we are NOT running in the package itself
23
- ...(process.cwd() === resolve(__dirname, '..') ? [] : [
23
+ ...(process.cwd() === resolve(currentDirname, '..') ? [] : [
24
24
  normalizePath(resolve(process.cwd(), 'stories/**/*.stories.@(js|jsx|mjs|ts|tsx)')),
25
- normalizePath(resolve(process.cwd(), 'src/**/*.stories.@(js|jsx|mjs|ts|tsx)'))
25
+ normalizePath(resolve(process.cwd(), 'src/**/*.stories.@(js|jsx|mjs|ts|tsx)')),
26
+ normalizePath(resolve(process.cwd(), 'public/**/*.stories.@(js|jsx|mjs|ts|tsx)'))
26
27
  ])
27
28
  ],
28
29
  addons: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pure-ds/storybook",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Storybook showcase for Pure Design System with live configuration",
5
5
  "type": "module",
6
6
  "private": false,