forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 3
/
_repoLayout.config.cjs
207 lines (202 loc) · 6.32 KB
/
_repoLayout.config.cjs
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
/**
* This file will be renamed to repoLayout.config.cjs in a future change. Right now it is an example of what the
* IFluidRepoLayout config would look like for our main FluidFramework repo.
*/
// Enable TypeScript type-checking for this file.
// See https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html#ts-check
// @ts-check
/**
* All fluid scopes EXCEPT for @fluid-example
*/
const fluidScopes = [
"@fluidframework",
"@fluid-experimental",
"@fluid-internal",
"@fluid-private",
"@fluid-tools",
];
/**
* The settings in this file configure the repo layout used by build-tools, such as fluid-build and flub.
*
* @type {import("@fluid-tools/build-infrastructure").IFluidRepoLayout}
*/
module.exports = {
version: 1,
repoLayout: {
workspaces: {
"client": {
directory: ".",
releaseGroups: {
client: {
include: [...fluidScopes, "fluid-framework", "@types/jest-environment-puppeteer"],
rootPackageName: "client-release-group-root",
defaultInterdependencyRange: "workspace:~",
},
examples: {
include: ["@fluid-example"],
defaultInterdependencyRange: "workspace:~",
},
},
},
"build-tools": {
directory: "./build-tools",
releaseGroups: {
"build-tools": {
include: [...fluidScopes, "@fluid-example"],
rootPackageName: "build-tools-release-group-root",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=14",
},
},
},
"server": {
directory: "./server/routerlicious",
releaseGroups: {
"server": {
include: [...fluidScopes, "@fluid-example", "tinylicious"],
rootPackageName: "server-release-group-root",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=30",
},
},
},
"gitrest": {
directory: "server/gitrest",
releaseGroups: {
"gitrest": {
include: [...fluidScopes, "@fluid-example"],
rootPackageName: "gitrest-release-group-root",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=26",
},
},
},
"historian": {
directory: "server/historian",
releaseGroups: {
"historian": {
include: [...fluidScopes, "@fluid-example"],
rootPackageName: "historian-release-group-root",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=25",
},
},
},
// legacy independent packages are all in their own workspaces, and are single-package release groups
"@fluid-tools/api-markdown-documenter": {
directory: "tools/api-markdown-documenter",
releaseGroups: {
"api-markdown-documenter": {
include: ["@fluid-tools/api-markdown-documenter"],
rootPackageName: "@fluid-tools/api-markdown-documenter",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=97",
},
},
},
"@fluid-tools/benchmark": {
directory: "tools/benchmark",
releaseGroups: {
"benchmark": {
include: ["@fluid-tools/benchmark"],
rootPackageName: "@fluid-tools/benchmark",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=62",
},
},
},
"@fluidframework/build-common": {
directory: "common/build/build-common",
releaseGroups: {
"build-common": {
include: ["@fluidframework/build-common"],
rootPackageName: "@fluidframework/build-common",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=3",
},
},
},
"@fluidframework/common-utils": {
directory: "common/lib/common-utils",
releaseGroups: {
"common-utils": {
include: ["@fluidframework/common-utils"],
rootPackageName: "@fluidframework/common-utils",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=10",
},
},
},
"@fluidframework/eslint-config-fluid": {
directory: "common/build/eslint-config-fluid",
releaseGroups: {
"eslint-config-fluid": {
include: ["@fluidframework/eslint-config-fluid"],
rootPackageName: "@fluidframework/eslint-config-fluid",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=7",
},
},
},
"@fluid-internal/eslint-plugin-fluid": {
directory: "common/build/eslint-plugin-fluid",
releaseGroups: {
"eslint-plugin-fluid": {
include: ["@fluid-internal/eslint-plugin-fluid"],
rootPackageName: "@fluid-internal/eslint-plugin-fluid",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=135",
},
},
},
"@fluid-internal/getkeys": {
directory: "tools/getkeys",
releaseGroups: {
"getkeys": {
include: ["@fluid-internal/getkeys"],
rootPackageName: "@fluid-internal/getkeys",
defaultInterdependencyRange: "workspace:~",
},
},
},
"@fluidframework/protocol-definitions": {
directory: "common/lib/protocol-definitions",
releaseGroups: {
"protocol-definitions": {
include: ["@fluidframework/protocol-definitions"],
rootPackageName: "@fluidframework/protocol-definitions",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=67",
},
},
},
"@fluidframework/test-tools": {
directory: "tools/test-tools",
releaseGroups: {
"test-tools": {
include: ["@fluidframework/test-tools"],
rootPackageName: "@fluidframework/test-tools",
defaultInterdependencyRange: "workspace:~",
adoPipelineUrl:
"https://dev.azure.com/fluidframework/internal/_build?definitionId=13",
},
},
},
},
},
};