Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/util/consts/software-envs.ts
1447 views
1
/*
2
* This file is part of CoCalc: Copyright © 2021 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
export const LANGUAGE_NAMES = [
7
"python",
8
"R",
9
"octave",
10
"julia",
11
"sagemath",
12
] as const;
13
14
export type LanguageName = (typeof LANGUAGE_NAMES)[number];
15
16
// sort this starting from the newest to the oldest – appears in the UI, e.g. on that /software/index page
17
export const SOFTWARE_ENV_NAMES = ["24.04", "22.04", "20.04"] as const;
18
export type SoftwareEnvNames = (typeof SOFTWARE_ENV_NAMES)[number];
19
export const SOFTWARE_ENV_DEFAULT: SoftwareEnvNames = "24.04";
20
21