-
Notifications
You must be signed in to change notification settings - Fork 392
Expand file tree
/
Copy path.syncpackrc.cjs
More file actions
65 lines (64 loc) · 1.54 KB
/
.syncpackrc.cjs
File metadata and controls
65 lines (64 loc) · 1.54 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
// @ts-check
/** @type {import("syncpack").RcFile} */
const config = {
indent: '\t',
lintFormatting: false, // handled by prettier
versionGroups: [
{
label: 'local packages',
packages: ['**'],
dependencies: ['@repo/*'],
dependencyTypes: ['!local'], // Exclude the local package itself
pinVersion: 'workspace:*',
},
{
label: 'Sentry types that are compatible with toucan-js',
dependencies: ['@sentry/types', '@sentry/tracing'],
pinVersion: '8.9.2',
},
{
label: 'toucan-js that is compatible with pinned sentry types',
dependencies: ['toucan-js'],
pinVersion: '4.1.1',
},
{
label: 'pin vitest compatible with @cloudflare/vitest-pool-workers',
dependencies: ['vitest', '@vitest/ui'],
pinVersion: '3.0.9',
},
{
label: 'pin typescript for eslint',
dependencies: ['typescript'],
pinVersion: '5.5.4',
},
{
label: `pin eslint and all it's plugins for eslint v8`,
dependencies: [
'eslint',
'@types/eslint',
'eslint-config-prettier',
'eslint-plugin-react-hooks',
'eslint-plugin-unused-imports',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
],
// snapTo removes it from syncpack update list, which is the main goal
snapTo: ['@repo/eslint-config'],
},
{
label: 'use zod v4 in packages/tools',
dependencies: ['zod'],
pinVersion: '4.0.0-beta.20250505T195954',
packages: ['@repo/tools'],
},
],
semverGroups: [
{
label: 'pin all deps',
range: '',
dependencies: ['**'],
packages: ['**'],
},
],
}
module.exports = config