Merge branch 'MAILWEB-6036-hide-simple-login' into 'main'
[ProtonMail-WebClient.git] / findApp.config.mjs
blob56d814d05290d9c874bc049af1499a8879f4e5ae
1 const TEST_FILES_GLOB = '**/*.{test,spec}.{js,ts,tsx,jsx}';
3 export default {
4     packages: {
5         glob: 'packages/*',
6         directory: 'packages',
7         globIgnore: [TEST_FILES_GLOB, '__mocks__'],
8         alias: true,
9         scope: '@proton',
10         config: [
11             {
12                 name: 'polyfill',
13                 glob: 'index.js',
14             },
15             {
16                 name: 'srp',
17                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
18             },
19             {
20                 name: 'shared',
21                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
22             },
23             {
24                 name: 'key-transparency',
25                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
26             },
27             {
28                 name: 'encrypted-search',
29                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
30             },
31             {
32                 name: 'drive-store',
33                 glob: '**/*.{js,jsx,ts,tsx}',
34             },
35             {
36                 name: 'docs-core',
37                 glob: '**/*.{js,jsx,ts,tsx}',
38             },
39             {
40                 name: 'docs-shared',
41                 glob: '**/*.{js,jsx,ts,tsx}',
42             },
43             {
44                 name: 'docs-proto',
45                 glob: '**/*.{js,jsx,ts,tsx}',
46             },
47             {
48                 name: 'docs-editor',
49                 glob: '**/*.{js,jsx,ts,tsx}',
50             },
51             {
52                 name: 'crypto',
53                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
54             },
55             {
56                 name: 'cross-storage',
57                 glob: '{lib,*-impl}/**/*.{js,jsx,ts,tsx}',
58             },
59             {
60                 name: 'atoms',
61                 glob: '**/*.{js,jsx,ts,tsx}',
62             },
63             {
64                 name: 'hooks',
65                 glob: '**/*.{js,jsx,ts,tsx}',
66             },
67             {
68                 name: 'account',
69                 glob: '**/*.{js,jsx,ts,tsx}',
70             },
71             {
72                 name: 'mail',
73                 glob: '**/*.{js,jsx,ts,tsx}',
74             },
75             {
76                 name: 'calendar',
77                 glob: '**/*.{js,jsx,ts,tsx}',
78             },
79             {
80                 name: 'features',
81                 glob: '**/*.{js,jsx,ts,tsx}',
82             },
83             {
84                 name: 'utils',
85                 glob: '**/*.{js,jsx,ts,tsx}',
86             },
87             {
88                 name: 'colors',
89                 glob: '**/*.{js,jsx,ts,tsx}',
90             },
91             {
92                 name: 'components',
93                 glob: '{{components,containers,helpers,hooks}/**/*,index}.{js,jsx,ts,tsx}',
94             },
95             {
96                 name: 'encrypted-search',
97                 glob: 'lib/**/*.{js,jsx,ts,tsx}',
98             },
99             {
100                 name: 'activation',
101                 glob: '{src/**/*,index}.{js,jsx,ts,tsx}',
102             },
103             {
104                 name: 'sieve',
105                 glob: '{src/**/*,index}.{js,jsx,ts,tsx}',
106             },
107         ],
108         ignore: ['pack', 'config', 'i18n', 'eslint-config-proton', 'stylelint-config-proton', 'styles', 'testing'],
109     },
111     applications: {
112         glob: 'applications/*',
113         directory: 'applications',
114         globIgnore: [TEST_FILES_GLOB],
115         sourcesGlob: 'src/app/**/*.{js,jsx,ts,tsx}',
116         ignore: ['storybook', 'pass-extension', 'pass-desktop', 'preview-sandbox', 'pdf-ui'],
117     },