forked from npm/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.js
47 lines (47 loc) · 1.17 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
module.exports = {
rootRepo: {
add: {
'.github/workflows/ci.yml': 'ci.yml',
'.github/workflows/ci-release.yml': 'ci-release.yml',
'.github/workflows/create-node-pr.yml': 'create-node-pr.yml',
'.github/workflows/node-integration.yml': 'node-integration.yml',
'.github/ISSUE_TEMPLATE/bug.yml': false,
'.github/ISSUE_TEMPLATE/config.yml': false,
'.github/dependabot.yml': false,
'.github/workflows/post-dependabot.yml': false,
},
},
workspaceRepo: {
add: {
'.github/workflows/release.yml': false,
'.github/workflows/ci-release.yml': false,
'.github/dependabot.yml': false,
'.github/workflows/post-dependabot.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'),
}