This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.js
61 lines (58 loc) · 1.68 KB
/
defaults.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
Copyright (c) 2022 Arrowhead Apps Ltd.
*/
/**
* @type {import('lockfile-shaker').Configuration}
*/
const config = {
patterns: [
{
safeDependants: [
/\/strapi/, // Only operate on dependants of Strapi packages
],
packages: [
// These each match multiple packages
/babel/,
/buffetjs/,
/fortawesome/,
/fingerprintjs/,
/react/,
/webpack/,
/redux/,
/node_modules\/markdown-it/,
/node_modules\/strapi-generate/,
// These each match only one package
/node_modules\/autoprefixer$/,
/node_modules\/bootstrap$/,
/node_modules\/classnames$/,
/node_modules\/cross-env$/,
/node_modules\/codemirror$/,
/node_modules\/cropperjs$/,
/node_modules\/font-awesome$/,
/node_modules\/formik$/,
/node_modules\/history$/,
/node_modules\/js-cookie$/,
/node_modules\/html-loader$/,
/node_modules\/css-loader$/,
/node_modules\/file-loader$/,
/node_modules\/style-loader$/,
/node_modules\/url-loader$/,
/node_modules\/immer$/,
/node_modules\/immutable$/,
/node_modules\/invariant$/,
/node_modules\/moment$/,
/node_modules\/mini-css-extract-plugin$/,
/node_modules\/material-design-lite$/,
/node_modules\/prop-types$/,
/node_modules\/reselect$/,
/node_modules\/strapi-helper-plugin$/,
/node_modules\/styled-components$/,
/node_modules\/sanitize\.css$/,
/node_modules\/sanitize-html$/,
/node_modules\/draft-js$/,
/node_modules\/highlight\.js$/,
],
}
],
};
module.exports = config;