-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapps.ts
71 lines (68 loc) · 1.94 KB
/
apps.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
import path from "path";
export const appData: AppData = {
admin: {
entry: path.resolve(__dirname, "./src/containers/Admin/index.tsx"),
platforms: ["Web"]
},
dashboard: {
entry: path.resolve(__dirname, "./src/containers/Dashboard/index.tsx"),
environmentVariables: ["dashboardEnvironment"],
platforms: ["JetBrains"]
},
documentation: {
entry: path.resolve(__dirname, "./src/containers/Documentation/index.tsx"),
environmentVariables: ["documentationPage"],
platforms: ["JetBrains"]
},
["ide-launcher"]: {
entry: path.resolve(__dirname, "./src/containers/IdeLauncher/index.tsx"),
platforms: ["Web"]
},
login: {
entry: path.resolve(__dirname, "./src/containers/Login/index.tsx"),
platforms: ["Web"]
},
["installation-wizard"]: {
entry: path.resolve(
__dirname,
"./src/containers/InstallationWizard/index.tsx"
),
environmentVariables: ["wizardFirstLaunch", "wizardSkipInstallationStep"],
platforms: ["JetBrains"]
},
main: {
entry: path.resolve(__dirname, "./src/containers/Main/index.tsx"),
platforms: ["JetBrains"]
},
// /** @deprecated */
// notifications: {
// entry: path.resolve(__dirname, "./src/containers/Notifications/index.tsx"),
// environmentVariables: [
// "notificationsViewMode"
// ],
// platforms: ["JetBrains"]
// },
["recent-activity"]: {
entry: path.resolve(__dirname, "./src/containers/RecentActivity/index.tsx"),
environmentVariables: ["recentActivityExpirationLimit"],
platforms: ["JetBrains"]
},
troubleshooting: {
entry: path.resolve(
__dirname,
"./src/containers/Troubleshooting/index.tsx"
),
platforms: ["JetBrains"]
}
};
type AppData = Record<
string,
{ entry: string; environmentVariables?: string[]; platforms: string[] }
>;
export interface WebpackEnv {
WEBPACK_BUNDLE: true;
WEBPACK_BUILD: true;
PLATFORM?: string;
ZIP?: boolean;
["ZIP_FILE_FORMAT"]?: string;
}