-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathcella.config.js
78 lines (77 loc) · 2.77 KB
/
cella.config.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* Cella configuration object.
*
* @typedef {Object} CellaConfig
* @property {string} divergedFile - Path to the file where diverged files will be listed.
* @property {string[]} [ignoreList] - Optional. Array of file paths to ignore. Takes precedence over `ignoreFile` if both are provided.
* @property {string} [ignoreFile] - Optional. Path to a file containing a list of files to ignore. Ignored if `ignoreList` is present.
* @property {string} [upstreamBranch] - Name of the upstream branch. Defaults to `development`.
* @property {Fork[]} [forks] - Optional. Array of fork reposotories.
* @property {string} [forks.name] - Name of the fork repository. Only lowercase characters are allowed.
* @property {string} [forks.remoteUrl] - Url to the fork repository.
*/
/**
* Cella configuration file.
* This configuration defines how the Cella scripts handle diverged and ignored files.
*
* @type {CellaConfig}
*/
export const config = {
upstreamBranch: 'development',
divergedFile: 'cella.diverged.txt',
forks: [
{
name: 'fork',
remoteUrl: '[email protected]:cellajs/raak.git',
branch: 'development',
},
],
ignoreList: [
'README.md',
'package.json',
'pnpm-lock.yaml',
'render.yaml',
'compose.yaml',
'cella.config.js',
'info/*',
'config/default.ts',
'config/development.ts',
'config/production.ts',
'config/tunnel.ts',
'cli/create-cella/*',
'frontend/vite.config.ts',
'frontend/public/favicon.ico',
'frontend/public/static/icons/*',
'frontend/public/static/images/*',
'frontend/public/static/logo/*',
'frontend/public/static/screenshots/*',
'frontend/src/nav-config.tsx',
'frontend/src/alert-config.tsx',
'frontend/src/offline-config.tsx',
'frontend/src/gradients.css',
'frontend/src/routes/index.tsx',
'frontend/src/routes/marketing.tsx',
'frontend/src/types/app.ts',
'frontend/src/modules/common/logo.tsx',
'frontend/src/modules/common/bg-animation/*',
'frontend/src/modules/home/onboarding/onboarding-config.ts',
'frontend/src/modules/marketing/nav.tsx',
'frontend/src/modules/marketing/footer.tsx',
'frontend/src/modules/marketing/about/about-config.tsx',
'frontend/src/modules/marketing/about/counters.tsx',
'frontend/src/modules/marketing/about/hero.tsx',
'frontend/src/modules/marketing/about/index.tsx',
'frontend/src/modules/marketing/about/why.tsx',
'frontend/src/modules/users/profile-page-content.tsx',
'frontend/package.json',
'backend/package.json',
'backend/drizzle/*',
'backend/scripts/seeds/data/*',
'backend/src/routes.ts',
'backend/src/types/app.ts',
'backend/src/entity-config.ts',
'backend/src/lib/permission-manager.ts',
'locales/en/about.json',
'locales/en/app.json',
],
};