-
Notifications
You must be signed in to change notification settings - Fork 25
/
.syncpackrc.js
61 lines (59 loc) · 1.76 KB
/
.syncpackrc.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
// @ts-check
/** @type {import("syncpack").RcFile} */
const config = {
versionGroups: [
{
label: 'Internal packages that have inconsistent version usage',
packages: ['**'],
dependencies: [
'@kadena/chainweb-node-client',
'@kadena/client',
'@kadena/fonts',
'@kadena/pactjs-cli',
'@kadena-dev/eslint-plugin',
'@kadena/spirekey-sdk',
'remark-gfm',
],
isIgnored: true, // Toggle flag or or remove group to see inconsistencies
},
{
label: 'Internal dev packages are pinned to `workspace:*`',
packages: ['**'],
dependencies: [
'@kadena-dev/*',
'@kadena/types',
'@kadena/kode-icons',
'@kadena/docs-tools',
],
dependencyTypes: ['dev'],
pinVersion: 'workspace:*',
},
{
label: 'Internal packages are pinned to `workspace:*`',
packages: ['**'],
dependencies: ['@kadena/*'],
dependencyTypes: ['prod', 'dev'],
pinVersion: 'workspace:*',
},
{
label:
'Types and internal dev packages are banned from dependencies (only allowed in devDependencies)',
packages: ['**'],
dependencies: ['@types/*', '*/types', '@kadena-dev/*'],
dependencyTypes: ['prod'],
isBanned: true,
},
{
label:
'Allow `@kadena/tools` to downgrade `@vanilla-extract/next-plugin` to fix initial render issues (see https://github.com/vanilla-extract-css/vanilla-extract/issues/1152#issuecomment-1784531987)',
packages: ['@kadena/tools'],
dependencies: ['@vanilla-extract/next-plugin'],
},
{
label: 'Allow buffer to have two versions',
packages: ['@kadena/js-monorepo'],
dependencies: ['buffer'],
},
],
};
module.exports = config;