@papillonarts/setup 0.1.0 → 0.3.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/babel/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  module.exports = {
4
- presets: ['@babel/preset-env', '@babel/preset-react'],
4
+ presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
5
5
  plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-optional-catch-binding', '@babel/plugin-proposal-optional-chaining', '@babel/plugin-syntax-dynamic-import', '@babel/plugin-transform-classes', ['@babel/plugin-transform-react-jsx', {
6
6
  runtime: 'automatic'
7
7
  }], '@babel/plugin-transform-runtime', '@babel/plugin-transform-spread', 'syntax-async-functions']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonarts/setup",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Papillon Arts Setup",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
6
6
  "repository": {
@@ -29,5 +29,5 @@
29
29
  "build-acceptance": "npm run build",
30
30
  "build-release": "npm run build"
31
31
  },
32
- "gitHead": "54b32a7d2fd6b05906764bb2633ae16171ff3c48"
32
+ "gitHead": "64407ff0b9f2aa1999382316603c419f2b51bfe2"
33
33
  }
@@ -11,9 +11,10 @@ var _object = require("@papillonarts/library/object");
11
11
  /* eslint-disable no-unused-vars */
12
12
  /* eslint-disable no-param-reassign */
13
13
  /* eslint-disable global-require */
14
+ /* eslint-disable @typescript-eslint/no-unused-vars */
15
+ /* eslint-disable @typescript-eslint/no-var-requires */
14
16
 
15
17
  function getStorybookMainSetup(_ref) {
16
- var _webpackFinal;
17
18
  var storiesBasePath = _ref.storiesBasePath,
18
19
  includeBasePath = _ref.includeBasePath,
19
20
  modulesBasePath = _ref.modulesBasePath;
@@ -183,8 +184,8 @@ function getStorybookMainSetup(_ref) {
183
184
  // ...
184
185
 
185
186
  // https://storybook.js.org/docs/react/api/main-config-webpack-final
186
- webpackFinal: function webpackFinal(_x, _x2) {
187
- return (_webpackFinal = _webpackFinal || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(config, _ref2) {
187
+ webpackFinal: function () {
188
+ var _webpackFinal = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(config, _ref2) {
188
189
  var configType, fileLoaderRuleSVG;
189
190
  return _regenerator["default"].wrap(function _callee$(_context) {
190
191
  while (1) switch (_context.prev = _context.next) {
@@ -253,7 +254,11 @@ function getStorybookMainSetup(_ref) {
253
254
  return _context.stop();
254
255
  }
255
256
  }, _callee);
256
- }))).apply(this, arguments);
257
- }
257
+ }));
258
+ function webpackFinal(_x, _x2) {
259
+ return _webpackFinal.apply(this, arguments);
260
+ }
261
+ return webpackFinal;
262
+ }()
258
263
  };
259
264
  }