forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyncpack.config.js
More file actions
133 lines (131 loc) · 3.59 KB
/
syncpack.config.js
File metadata and controls
133 lines (131 loc) · 3.59 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// @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',
'@microsoft/load-themed-styles',
'babel-loader',
'chalk',
'codesandbox-import-utils',
'copy-to-clipboard',
'del',
'eslint-config-airbnb-extended',
'eslint-config-prettier',
'eslint-import-resolver-typescript',
'eslint-plugin-compat',
'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',
'prettier',
'schema-utils',
'react-is',
'react-test-renderer',
'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-conformance', '@fluentui/react-conformance-griffel'],
dependencies: [
'chalk',
// TODO: remove once modern yarn is used as v1 contains a bug that forces linking @types/react v17 within react-conformance node_modules which causes build issues
'@types/react',
],
},
{
packages: ['@fluentui/test-utilities'],
dependencies: [
// test utilities uses enzyme and thus needs to be forcer to use react types v17
'@types/react',
],
},
{
packages: [
// hybrid package use for v0 and react-button test in v9
'@fluentui/a11y-testing',
// v8 - TODO make this package private, then bump to r18
'@fluentui/codemods',
],
dependencies: [
'react',
'react-dom',
'react-frame-component',
'@types/react-frame-component',
'@testing-library/dom',
'@testing-library/react',
'@types/react',
'@types/react-dom',
'@types/react-is',
'@types/react-transition-group',
],
},
],
};
module.exports = config;