-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
config.ts
57 lines (53 loc) · 1.39 KB
/
config.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
import path from 'path'
import { BranchConfig, Package } from './types'
// TODO: List your npm packages here. The first package will be used as the versioner.
export const packages: Package[] = [
{ name: '@tanstack/query-core', packageDir: 'query-core', srcDir: 'src' },
{
name: '@tanstack/query-async-storage-persister',
packageDir: 'query-async-storage-persister',
srcDir: 'src',
},
{
name: '@tanstack/query-broadcast-client-experimental',
packageDir: 'query-broadcast-client-experimental',
srcDir: 'src',
},
{
name: '@tanstack/query-sync-storage-persister',
packageDir: 'query-sync-storage-persister',
srcDir: 'src',
},
{ name: '@tanstack/react-query', packageDir: 'react-query', srcDir: 'src' },
{
name: '@tanstack/react-query-devtools',
packageDir: 'react-query-devtools',
srcDir: 'src',
},
{
name: '@tanstack/react-query-persist-client',
packageDir: 'react-query-persist-client',
srcDir: 'src',
},
]
export const latestBranch = 'main'
export const branchConfigs: Record<string, BranchConfig> = {
main: {
prerelease: false,
ghRelease: true,
},
next: {
prerelease: true,
ghRelease: true,
},
beta: {
prerelease: true,
ghRelease: true,
},
alpha: {
prerelease: true,
ghRelease: true,
},
}
export const rootDir = path.resolve(__dirname, '..')
export const examplesDirs = ['examples/react']