@tramvai/storybook-addon 2.112.0 → 2.117.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.
|
@@ -4,7 +4,7 @@ exports.removeRules = void 0;
|
|
|
4
4
|
function removeRules({ baseConfig, extensions, }) {
|
|
5
5
|
var _a, _b;
|
|
6
6
|
// eslint-disable-next-line no-param-reassign
|
|
7
|
-
baseConfig.module.rules = (_b = (_a = baseConfig.module) === null || _a === void 0 ? void 0 : _a.rules) === null || _b === void 0 ? void 0 : _b.filter((rule) => { var _a; return typeof rule
|
|
7
|
+
baseConfig.module.rules = (_b = (_a = baseConfig.module) === null || _a === void 0 ? void 0 : _a.rules) === null || _b === void 0 ? void 0 : _b.filter((rule) => { var _a; return typeof rule === 'object' && !String((_a = rule === null || rule === void 0 ? void 0 : rule.test) === null || _a === void 0 ? void 0 : _a.toString()).match(extensions); });
|
|
8
8
|
}
|
|
9
9
|
exports.removeRules = removeRules;
|
|
10
10
|
//# sourceMappingURL=removeRules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeRules.js","sourceRoot":"","sources":["../../src/webpack/removeRules.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,UAAU,GAIX;;IACC,6CAA6C;IAC7C,UAAU,CAAC,MAAO,CAAC,KAAK,GAAG,MAAA,MAAA,UAAU,CAAC,MAAM,0CAAE,KAAK,0CAAE,MAAM,CACzD,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,MAAA,IAAI,
|
|
1
|
+
{"version":3,"file":"removeRules.js","sourceRoot":"","sources":["../../src/webpack/removeRules.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,UAAU,GAIX;;IACC,6CAA6C;IAC7C,UAAU,CAAC,MAAO,CAAC,KAAK,GAAG,MAAA,MAAA,UAAU,CAAC,MAAM,0CAAE,KAAK,0CAAE,MAAM,CACzD,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,0CAAE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA,EAAA,CACxF,CAAC;AACJ,CAAC;AAXD,kCAWC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/storybook-addon",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.117.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/preset.js",
|
|
6
6
|
"typings": "lib/preset.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"registry": "https://registry.npmjs.org/"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tramvai/test-mocks": "2.
|
|
24
|
-
"@tinkoff/is-modern-lib": "2.0.
|
|
23
|
+
"@tramvai/test-mocks": "2.117.0",
|
|
24
|
+
"@tinkoff/is-modern-lib": "2.0.10",
|
|
25
25
|
"webpack-chain": "^6.5.1",
|
|
26
26
|
"webpack-merge": "^5.8.0",
|
|
27
27
|
"@tanstack/react-query": "^4.7.1"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/webpack": ">=5.28",
|
|
31
31
|
"@babel/core": "^7.16.0",
|
|
32
|
-
"webpack": "5.
|
|
32
|
+
"webpack": "5.87.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@tramvai/cli": "2.
|
|
36
|
-
"@tramvai/core": "2.
|
|
37
|
-
"@tramvai/state": "2.
|
|
38
|
-
"@tramvai/react": "2.
|
|
39
|
-
"@tramvai/tokens-common": "2.
|
|
35
|
+
"@tramvai/cli": "2.117.0",
|
|
36
|
+
"@tramvai/core": "2.117.0",
|
|
37
|
+
"@tramvai/state": "2.117.0",
|
|
38
|
+
"@tramvai/react": "2.117.0",
|
|
39
|
+
"@tramvai/tokens-common": "2.117.0",
|
|
40
40
|
"@tinkoff/dippy": "0.8.15",
|
|
41
41
|
"@tinkoff/router": "0.2.17",
|
|
42
42
|
"@tinkoff/url": "0.8.6",
|