forked from nodejs/iojs.org
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.js
More file actions
47 lines (40 loc) · 1.65 KB
/
project.js
File metadata and controls
47 lines (40 loc) · 1.65 KB
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
// temporary merge to help avoid some merge confusion when landed:
var versions = require('./versions.json');
var project = {};
project.current_version = versions[0].version.replace(/^v/, '');
project.current_v8 = versions[0].v8;
project.versions = versions;
project.languages = require('./languages.js');
project.banner = {
visible: true,
content: 'Critical <a href="https://medium.com/@iojs/important-security-upgrades-for-node-js-and-io-js-8ac14ece5852">security release</a>, please update now!'
};
project.links = {
nodejs: 'https://nodejs.org/',
npm: 'https://www.npmjs.com/',
website: 'https://iojs.org/',
pages: {
changelog: 'https://github.com/nodejs/io.js/blob/master/CHANGELOG.md',
home: './index.html',
es6: './es6.html',
faq: './faq.html',
faq_verbose: './faq.html',
releases: './releases.html'
},
rss: [
{
title: 'Releases (GitHub)',
url: 'https://github.com/nodejs/io.js/releases.atom'
}
]
};
var baseURL = `https://iojs.org/dist`;
project.current_version_downloads = [
{key: 'linux', url: `${baseURL}/v${project.current_version}/iojs-v${project.current_version}-linux-x64.tar.xz`},
{key: 'win32', url: `${baseURL}/v${project.current_version}/iojs-v${project.current_version}-x86.msi`},
{key: 'win64', url: `${baseURL}/v${project.current_version}/iojs-v${project.current_version}-x64.msi`},
{key: 'mac', url: `${baseURL}/v${project.current_version}/iojs-v${project.current_version}.pkg`},
{key: 'all', url: `${baseURL}/v${project.current_version}/`}
];
Object.defineProperty(project.current_version_downloads, 'all', {value: `${baseURL}/v${project.current_version}/`});
module.exports = project;