-
Notifications
You must be signed in to change notification settings - Fork 0
/
nxMonorepo.json
104 lines (104 loc) · 3.46 KB
/
nxMonorepo.json
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^ts-node", "^zone\\.js", "^cypress$", "^jest", "@types/jest", "^ts-jest", "^rxjs"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^typescript"],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^tslib"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^@angular/", "^zone\\.js", "^@ngrx/", "^@ng-easy/", "^@nx-"],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"semanticCommitType": "fix"
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": [
"^@nrwl/",
"^@nx/",
"^nx$",
"^@angular-devkit/",
"^ng-packagr",
"^tslib",
"^ts-node",
"^@angular-eslint/",
"^@schematics/"
],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"semanticCommitType": "chore"
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackageNames": ["ngx-deploy-npm"],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"semanticCommitType": "chore"
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackagePatterns": ["^@nrwl/", "^@nx/", "^nx$", "^@nx-", "^@ng-easy/"],
"matchFiles": ["package.json"],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"postUpgradeTasks": {
"commands": [
"npm install --ignore-scripts",
"npm run prepare --if-present",
"npx --no-install nx migrate {{{depName}}} --from={{{depName}}}@{{{replace '^[^\\d]*' '' currentValue}}} --to={{{depName}}}@{{{replace '^[^\\d]*' '' newValue}}}",
"npm install --ignore-scripts",
"npx --no-install nx migrate --run-migrations --if-exists",
"rm -f migrations.json",
"npx --no-install nx run-many --target=lint --all --parallel --fix --skip-nx-cache"
],
"fileFilters": ["**/**"]
}
},
{
"groupName": "Nx monorepo",
"matchManagers": ["npm"],
"matchPackageNames": [
"@angular/cli",
"@angular/core",
"@angular/cdk",
"@angular/material",
"@angular-eslint/schematics",
"@ngrx/store",
"@ngrx/component-store",
"ngx-deploy-npm"
],
"matchFiles": ["package.json"],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"postUpgradeTasks": {
"commands": [
"npm install --ignore-scripts",
"npm run prepare --if-present",
"npx --no-install nx migrate {{{depName}}} --from={{{depName}}}@{{{replace '^[^\\d]*' '' currentValue}}} --to={{{depName}}}@{{{replace '^[^\\d]*' '' newValue}}}",
"npm install --ignore-scripts",
"npx --no-install nx migrate --run-migrations --if-exists",
"rm -f migrations.json",
"npx --no-install nx run-many --target=lint --all --parallel --fix --skip-nx-cache"
],
"fileFilters": ["**/**"]
}
}
]
}