forked from npm/documentation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
59 lines (59 loc) · 1.42 KB
/
index.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
55
56
57
58
59
module.exports = {
rootRepo: {
add: {
'.github/workflows/ci.yml': 'ci-yml.hbs',
'.github/workflows/publish.yml': 'publish-yml.hbs',
'.github/CODEOWNERS': false,
'.github/ISSUE_TEMPLATE/bug.yml': false,
'.commitlintrc.js': false,
'.github/settings.yml': false,
'.github/dependabot.yml': 'dependabot-yml.hbs',
},
},
rootModule: {
add: {
'package.json': {file: 'package-json.hbs', overwrite: false},
'.eslintrc.js': false,
'CODE_OF_CONDUCT.md': false,
'CONTRIBUTING.md': false,
},
},
workspaceRepo: {
add: {
'.github/settings.yml': false,
'.github/dependabot.yml': false,
},
},
workspaceModule: {
add: {
'.eslintrc.js': false,
},
},
ciVersions: 'latest',
latestCiVersion: 18,
macCI: false,
windowsCI: false,
lockfile: true,
// these need to be allowed since they need to installed explicitly since
// the repo uses legacy-peer-deps to avoid gatsby errors
allowedPackages: ['eslint', 'eslint-plugin-import', 'eslint-plugin-node', 'eslint-plugin-promise'],
requiredPackages: {
devDependencies: [],
},
allowPaths: [
'/.nvmrc',
'/.prettierignore',
'/.prettierrc.js',
'/.reuse/',
'/CODE_OF_CONDUCT.md',
'/CONTENT-MODEL.md',
'/content/',
'/CONTRIBUTING.md',
'/gatsby-*',
'/jest*.js',
'/LICENSE*',
'/src',
'/static/',
'/webpack.config.js',
],
}