@papillonarts/setup 0.49.3 → 0.49.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAOhE,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,mBAoQ1E"}
|
|
@@ -6,14 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.getStorybookMainSetup = getStorybookMainSetup;
|
|
8
8
|
var _object = require("@papillonarts/library/object");
|
|
9
|
+
var _webpack = require("@papillonarts/setup/webpack");
|
|
9
10
|
var _forkTsCheckerWebpackPlugin = _interopRequireDefault(require("fork-ts-checker-webpack-plugin"));
|
|
10
|
-
var
|
|
11
|
-
var _webpack2 = require("../webpack");
|
|
11
|
+
var _webpack2 = _interopRequireDefault(require("webpack"));
|
|
12
12
|
// https://storybook.js.org/docs/configure#configure-story-loading
|
|
13
13
|
/* eslint-disable import-x/no-named-as-default */
|
|
14
14
|
|
|
15
|
-
// import { getBabelLoaderAdvancedSetup } from '@papillonarts/setup/webpack'
|
|
16
|
-
|
|
17
15
|
// https://storybook.js.org/docs/api
|
|
18
16
|
// https://storybook.js.org/docs/api/main-config/main-config
|
|
19
17
|
// https://storybook.js.org/docs/api/csf/csf-next#definemain
|
|
@@ -210,8 +208,8 @@ function getStorybookMainSetup({
|
|
|
210
208
|
loader: '@mdx-js/loader',
|
|
211
209
|
options: {}
|
|
212
210
|
}]
|
|
213
|
-
}, (0,
|
|
214
|
-
config.plugins.push(new
|
|
211
|
+
}, (0, _webpack.getBabelLoaderAdvancedSetup)()]);
|
|
212
|
+
config.plugins.push(new _webpack2.default.ProvidePlugin({
|
|
215
213
|
process: 'process/browser'
|
|
216
214
|
}));
|
|
217
215
|
config.plugins.push(new _forkTsCheckerWebpackPlugin.default());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.4",
|
|
4
4
|
"description": "Papillon Arts Setup",
|
|
5
5
|
"homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
|
|
6
6
|
"repository": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"exports": {
|
|
18
18
|
"./babel": "./build/babel/index.js",
|
|
19
19
|
"./eslint": "./build/eslint/index.mjs",
|
|
20
|
-
"./jest": "./build/jest/index.
|
|
20
|
+
"./jest": "./build/jest/index.js",
|
|
21
21
|
"./prettier": "./build/prettier/index.js",
|
|
22
|
-
"./storybook": "./build/storybook/index.
|
|
23
|
-
"./storybook/mainSetup": "./build/storybook/mainSetup.
|
|
24
|
-
"./storybook/managerSetup": "./build/storybook/managerSetup.
|
|
25
|
-
"./storybook/previewSetup": "./build/storybook/previewSetup.
|
|
22
|
+
"./storybook": "./build/storybook/index.js",
|
|
23
|
+
"./storybook/mainSetup": "./build/storybook/mainSetup.js",
|
|
24
|
+
"./storybook/managerSetup": "./build/storybook/managerSetup.js",
|
|
25
|
+
"./storybook/previewSetup": "./build/storybook/previewSetup.js",
|
|
26
26
|
"./stylelint": "./build/stylelint/index.js",
|
|
27
|
-
"./webpack": "./build/webpack/index.
|
|
27
|
+
"./webpack": "./build/webpack/index.js"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"cleanup": "rimraf build node_modules package-lock.json",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-acceptance": "npm run build",
|
|
38
38
|
"build-release": "npm run build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "d60fdde69a23d1272c73ddb9548ac0a70f26babf"
|
|
41
41
|
}
|