-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsyncpack.config.ts
More file actions
40 lines (40 loc) · 1.1 KB
/
syncpack.config.ts
File metadata and controls
40 lines (40 loc) · 1.1 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
// biome-ignore lint/style/noDefaultExport: Required by syncpack https://jamiemason.github.io/syncpack/config/syncpackrc/
export default {
// https://stackoverflow.com/questions/79470698/with-syncpack-on-a-turborepo-how-to-set-app-version-dependencies-through-a-packa/79477388#79477388
versionGroups: [
{
label: "use workspace protocol for local dependencies",
packages: ["**"],
dependencies: ["$LOCAL"],
dependencyTypes: ["!local"],
pinVersion: "workspace:*",
},
],
// https://jamiemason.github.io/syncpack/semver-groups/
semverGroups: [
{
// "highly recommended to save the exact version" - https://biomejs.dev/internals/versioning/
dependencies: ["@biomejs/biome"],
dependencyTypes: ["dev"],
range: "",
},
{
dependencyTypes: [
"prod",
"resolutions",
"overrides",
"pnpmOverrides",
"local",
],
range: "^",
},
{
dependencyTypes: ["dev"],
range: "^",
},
{
dependencyTypes: ["peer"],
range: "^",
},
],
} satisfies import("syncpack").RcFile;