-
Notifications
You must be signed in to change notification settings - Fork 682
Expand file tree
/
Copy path.adiorc.js
More file actions
33 lines (32 loc) · 1 KB
/
Copy path.adiorc.js
File metadata and controls
33 lines (32 loc) · 1 KB
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
import path from "path";
import { listWorkspaces } from "@webiny/stdlib/node";
export default {
ignore: {
src: ["~tests", "~"],
dependencies: [
// Packages below are defined as peerDependencies in many 3rd party packages
// and make yarn go crazy with warnings. We define these packages as "dependencies"
// in our own packages, but we don't directly use them:
"@emotion/react",
"@svgr/webpack",
"@types/react",
"graphql",
"react-dom"
],
devDependencies: true,
peerDependencies: true
},
ignoreDirs: [
"node_modules/",
"dist/",
"build/",
"nextjs/",
"packages/admin-ui/storybook-static/"
],
packages: listWorkspaces()
.map(pkg => {
return pkg.path;
})
.filter(pkg => !pkg.includes("system-requirements"))
.map(pkg => pkg.replace(/\//g, path.sep).replace(process.cwd() + path.sep, ""))
};