forked from npm/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.js
54 lines (54 loc) · 1.31 KB
/
root.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
module.exports = {
rootModule: {
add: {
'CONTRIBUTING.md': false,
},
},
rootRepo: {
add: {
'.github/ISSUE_TEMPLATE/bug.yml': false,
'.github/ISSUE_TEMPLATE/config.yml': false,
'.github/dependabot.yml': false,
'.github/settings.yml': false,
'.github/workflows/ci-release.yml': 'ci-release.yml',
'.github/workflows/ci.yml': 'ci.yml',
'.github/workflows/create-node-pr.yml': 'create-node-pr.yml',
'.github/workflows/node-integration.yml': 'node-integration.yml',
'.github/workflows/post-dependabot.yml': false,
},
},
workspaceRepo: {
add: {
'.github/dependabot.yml': false,
'.github/settings.yml': false,
'.github/workflows/ci-release.yml': false,
'.github/workflows/post-dependabot.yml': false,
'.github/workflows/release.yml': false,
},
},
lockfile: true,
npm: '.',
defaultBranch: 'latest',
distPaths: [
'index.js',
'docs/content/',
'docs/output/',
'man/',
],
allowPaths: [
'/node_modules/',
'/index.js',
'/DEPENDENCIES.md',
'/CONTRIBUTING.md',
'/configure',
'/AUTHORS',
'/.mailmap',
'/.licensee.json',
'/.gitattributes',
],
ignorePaths: [
'/node_modules/.bin/',
'/node_modules/.cache/',
],
...require('./branch-specific-config.js'),
}