@papillonarts/setup 0.20.0 → 0.22.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonarts/setup",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Papillon Arts Setup",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
6
6
  "repository": {
@@ -31,5 +31,5 @@
31
31
  "build-acceptance": "npm run build",
32
32
  "build-release": "npm run build"
33
33
  },
34
- "gitHead": "97e22915b6c7962ac185e0b930c5ce707f60ee05"
34
+ "gitHead": "5493cf40dd005fc8f60f3dde1e9dbd61bfffd8bc"
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAWA,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,uDA0P1E"}
1
+ {"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAWA,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,uDA+P1E"}
@@ -5,8 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getStorybookPreviewSetup = getStorybookPreviewSetup;
7
7
  var _reactRouterDom = require("react-router-dom");
8
- var _blocks = require("@storybook/addon-docs/blocks");
9
8
  var _jsxRuntime = require("react/jsx-runtime");
9
+ // import { DocsContainer, DocsPage } from '@storybook/addon-docs/blocks'
10
+
10
11
  // https://storybook.js.org/docs/configure#configure-story-rendering
11
12
  // https://storybook.js.org/docs/api/csf/csf-next#definepreview
12
13
  function getStorybookPreviewSetup() {
@@ -45,18 +46,18 @@ function getStorybookPreviewSetup() {
45
46
  * to learn more about the available options.
46
47
  */
47
48
  options: {}
48
- },
49
+ }
49
50
  // https://storybook.js.org/docs/writing-docs/doc-blocks
50
51
  // https://storybook.js.org/docs/writing-docs/autodocs#customize-the-docs-container
51
52
  // https://storybook.js.org/docs/writing-docs/autodocs#working-with-custom-mdx-components
52
53
  // https://storybook.js.org/docs/writing-docs/autodocs#write-a-custom-template
53
- docs: {
54
- container: _blocks.DocsContainer,
55
- // https://storybook.js.org/docs/writing-docs/doc-blocks#customizing-the-automatic-docs-page
56
- // https://github.com/storybookjs/storybook/blob/next/code/addons/docs/docs/docspage.md#replacing-docspage
57
- // https://github.com/storybookjs/storybook/blob/next/code/addons/docs/docs/docspage.md
58
- page: _blocks.DocsPage
59
- }
54
+ // docs: {
55
+ // container: DocsContainer,
56
+ // // https://storybook.js.org/docs/writing-docs/doc-blocks#customizing-the-automatic-docs-page
57
+ // // https://github.com/storybookjs/storybook/blob/next/code/addons/docs/docs/docspage.md#replacing-docspage
58
+ // // https://github.com/storybookjs/storybook/blob/next/code/addons/docs/docs/docspage.md
59
+ // page: DocsPage,
60
+ // },
60
61
  },
61
62
  initialGlobals: {
62
63
  a11y: {
@@ -9,7 +9,7 @@ var _constant = require("../constant");
9
9
 
10
10
  function getBabelLoaderAdvancedSetup() {
11
11
  return {
12
- test: /\.(js|jsx|ts|tsx)$/,
12
+ test: /\.(js|jsx|ts|tsx|mjs|cjs)$/,
13
13
  exclude: /node_modules/,
14
14
  use: {
15
15
  loader: 'babel-loader',