CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/util/consts/software-envs.ts
Views: 687
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
// TODO: after https://github.com/sagemathinc/cocalc/pull/6284 has been merged, make 22.04 the first entry in that list
18
export const SOFTWARE_ENV_NAMES = ["22.04", "20.04", "18.04"] as const;
19
export type SoftwareEnvNames = (typeof SOFTWARE_ENV_NAMES)[number];
20
export const SOFTWARE_ENV_DEFAULT: SoftwareEnvNames = "22.04";
21
22