forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
syncpack.config.js
89 lines (87 loc) · 2.37 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
// @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: [
'@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/experimental-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',
],
},
{
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;