-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
packages.ts
123 lines (121 loc) · 3.03 KB
/
packages.ts
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import type { Preset } from '../types';
/* eslint sort-keys: ["error", "asc", {caseSensitive: false, natural: true}] */
export const presets: Record<string, Preset> = {
angularJs: {
description: 'All AngularJS packages.',
matchPackageNames: [
'angular',
'angular-animate',
'angular-scroll',
'angular-sanitize',
],
},
apollographql: {
description: 'All packages published by Apollo GraphQL.',
matchSourceUrlPrefixes: ['https://github.com/apollographql/'],
},
emberTemplateLint: {
description: 'All ember-template-lint packages.',
matchPackagePrefixes: ['ember-template-lint'],
},
eslint: {
description: 'All ESLint packages.',
matchPackageNames: ['@types/eslint', 'babel-eslint'],
matchPackagePrefixes: ['@typescript-eslint/', 'eslint'],
},
gatsby: {
description: 'All packages published by Gatsby.',
extends: ['monorepo:gatsby'],
},
googleapis: {
description: 'All `googleapis` packages.',
matchDatasources: ['npm'],
matchPackageNames: ['google-auth-library'],
matchPackagePrefixes: ['@google-cloud/'],
},
jsTest: {
description: 'JavaScript test packages.',
extends: ['packages:jsUnitTest'],
},
jsUnitTest: {
description: 'Unit test packages for JavaScript.',
matchPackageNames: [
'@types/chai',
'@types/ember-mocha',
'@types/ember-qunit',
'@types/enzyme',
'@types/istanbul',
'@types/jest',
'@types/mocha',
'@types/mock-fs',
'@types/proxyquire',
'@types/sinon',
'@types/supertest',
'coveralls',
'ember-exam',
'ember-mocha',
'ember-qunit',
'enzyme',
'istanbul',
'mock-fs',
'nock',
'nyc',
'proxyquire',
'supertest',
'ts-auto-mock',
'ts-jest',
'vitest',
],
matchPackagePrefixes: [
'@testing-library',
'@vitest',
'chai',
'jest',
'mocha',
'qunit',
'should',
'sinon',
],
},
linters: {
description: 'All lint-related packages.',
extends: [
'packages:emberTemplateLint',
'packages:eslint',
'packages:stylelint',
'packages:tslint',
],
matchPackageNames: ['prettier', 'remark-lint', 'standard'],
},
mapbox: {
description: 'All Mapbox-related packages.',
matchPackagePrefixes: ['leaflet', 'mapbox'],
},
postcss: {
description: 'All PostCSS packages.',
matchPackageNames: ['postcss'],
matchPackagePrefixes: ['postcss-'],
},
react: {
description: 'All React packages.',
matchPackageNames: ['@types/react'],
matchPackagePrefixes: ['react'],
},
stylelint: {
description: 'All Stylelint packages.',
matchPackagePrefixes: ['stylelint'],
},
test: {
description: 'Test packages.',
extends: ['packages:unitTest'],
},
tslint: {
description: 'All TSLint packages.',
matchPackageNames: ['codelyzer'],
matchPackagePatterns: ['\\btslint\\b'],
},
unitTest: {
description: 'All unit test packages.',
extends: ['packages:jsUnitTest'],
},
};