-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.syncpackrc.cjs
49 lines (48 loc) · 1.14 KB
/
.syncpackrc.cjs
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
// @ts-check
/** @type {import("syncpack").RcFile} */
const config = {
indent: '\t',
lintFormatting: false, // handled by prettier
// dependencyTypes: ['prod'], // disabled filter to enable all types
dependencyTypes: ['!peer'],
versionGroups: [
{
label: 'local packages',
packages: ['**'],
dependencies: [
'@repo/*',
// TODO: maybe find a way to automate getting these package names?
'workers-tagged-logger',
'@jahands/otel-cf-workers',
'http-codex',
'@jahands/cli-tools',
],
dependencyTypes: ['!local'], // Exclude the local package itself
pinVersion: 'workspace:*',
},
{
label: 'pin vitest compatible with workers-pool-vitest',
dependencies: ['vitest', '@vitest/ui'],
pinVersion: '2.1.1',
},
{
label: 'pin typescript to version compatible with eslint',
dependencies: ['typescript'],
pinVersion: '5.5.4',
},
{
label: 'pin node types to prevent conflicts with Workers types',
dependencies: ['@types/node'],
pinVersion: '20.8.3',
},
],
semverGroups: [
{
label: 'pin all deps',
range: '',
dependencies: ['**'],
packages: ['**'],
},
],
}
module.exports = config