-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
syncpack.config.js
111 lines (109 loc) · 2.89 KB
/
syncpack.config.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// @ts-check
/** @type {import("syncpack").RcFile} */
const config = {
dependencyTypes: ['prod', 'dev'],
source: [
'package.json',
'packages/*/package.json',
'packages/web-components/package.json',
'packages/react-components/*/package.json',
'packages/fluentui/!(e2e|docs|circulars-test|local-sandbox|perf-test-northstar|perf|projects-test)/package.json',
],
semverGroups: [
{
dependencyTypes: ['dev'],
packages: ['@fluentui/**'],
dependencies: ['@fluentui/**'],
isIgnored: true,
},
],
versionGroups: [
// completely ignore all devDeps that specify inner workspace deps - as we enforce usage of `*` or `>9.0.0-alpha`
{
dependencyTypes: ['dev'],
packages: ['@fluentui/**'],
dependencies: ['@fluentui/**'],
isIgnored: true,
},
{
packages: ['@fluentui/fluentui-repo'],
dependencies: [
'@floating-ui/dom',
'@babel/core',
'@babel/preset-typescript',
'@babel/generator',
'@babel/traverse',
'@rnx-kit/eslint-plugin',
'@swc/helpers',
'@types/react-test-renderer',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/utils',
'@typescript-eslint/parser',
'@microsoft/load-themed-styles',
'chalk',
'copy-to-clipboard',
'del',
'eslint-config-airbnb',
'eslint-config-prettier',
'eslint-import-resolver-typescript',
'eslint-plugin-deprecation',
'eslint-plugin-import',
'eslint-plugin-jest',
'eslint-plugin-jsx-a11y',
'eslint-plugin-react',
'eslint-plugin-react-hooks',
'eslint-plugin-jsdoc',
'fs-extra',
'glob',
'jju',
'loader-utils',
'lodash',
'schema-utils',
'react-is',
'react-hot-loader',
'react-test-renderer',
'react-vis',
'tslib',
'terser',
'terser-webpack-plugin',
'webpack',
'webpack-bundle-analyzer',
'yargs',
'dedent',
'd3-array',
'd3-axis',
'd3-format',
'd3-hierarchy',
'd3-sankey',
'd3-scale',
'd3-selection',
'd3-shape',
'd3-time-format',
'd3-time',
'@types/d3-array',
'@types/d3-axis',
'@types/d3-format',
'@types/d3-hierarchy',
'@types/d3-sankey',
'@types/d3-scale',
'@types/d3-selection',
'@types/d3-shape',
'@types/d3-time-format',
'@types/d3-time',
],
},
{
packages: ['@fluentui/react-bindings', '@fluentui/react-northstar'],
dependencies: ['@fluentui/dom-utilities'],
},
{
packages: ['@fluentui/react-northstar-emotion-renderer'],
dependencies: ['stylis'],
},
{
packages: ['@fluentui/react-conformance'],
dependencies: ['chalk'],
},
],
};
module.exports = config;