sku 11.11.0 → 11.11.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # sku
2
2
 
3
+ ## 11.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Check only directories for Storybook stories ([#797](https://github.com/seek-oss/sku/pull/797))
8
+
3
9
  ## 11.11.0
4
10
 
5
11
  ### Minor Changes
@@ -1,10 +1,11 @@
1
+ const fs = require('fs');
1
2
  const path = require('path');
2
3
  const { paths, storybookAddons } = require('../../context');
3
4
 
4
5
  module.exports = {
5
- stories: paths.src.map((srcPath) =>
6
- path.join(srcPath, '**/*.stories.@(js|ts|tsx)'),
7
- ),
6
+ stories: paths.src
7
+ .filter((srcPath) => fs.statSync(srcPath).isDirectory())
8
+ .map((srcPath) => path.join(srcPath, '**/*.stories.@(js|ts|tsx)')),
8
9
  addons: storybookAddons,
9
10
  core: {
10
11
  builder: 'webpack5',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sku",
3
- "version": "11.11.0",
3
+ "version": "11.11.1",
4
4
  "description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -134,14 +134,14 @@
134
134
  "devDependencies": {
135
135
  "@types/dedent": "^0.7.0",
136
136
  "@types/express": "^4.17.11",
137
- "@types/react": "^17.0.0",
138
- "@types/react-dom": "^17.0.0",
137
+ "@types/react": "^18.2.3",
138
+ "@types/react-dom": "^18.2.3",
139
139
  "@vanilla-extract/css": "^1.0.0",
140
140
  "@vocab/react": "^1.0.1",
141
141
  "assert": "^2.0.0",
142
142
  "braid-design-system": "^31.0.0",
143
- "react": "^17.0.1",
144
- "react-dom": "^17.0.1",
143
+ "react": "^18.2.0",
144
+ "react-dom": "^18.2.0",
145
145
  "react-helmet": "^6.1.0",
146
146
  "react-router-dom": "^5.2.0",
147
147
  "seek-style-guide": "^42.0.0",