Skip to content

Commit 80d4dee

Browse files
feat: rewrite and redesign
1 parent cde2cad commit 80d4dee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+19432
-4913
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @electron/wg-ecosystem @electron/wg-releases
1+
* @electron/wg-ecosystem @electron/wg-releases

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: 'CI'
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
- sam/rewrite
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
- name: 'Install Node'
19+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
20+
with:
21+
node-version: '22.x'
22+
- name: 'Install Deps'
23+
run: npm ci
24+
- name: 'Build'
25+
run: npm run build
26+
build:
27+
runs-on: ubuntu-latest
28+
29+
permissions:
30+
contents: read
31+
32+
steps:
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
- name: 'Install Node'
35+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
36+
with:
37+
node-version: '22.x'
38+
- name: 'Install Deps'
39+
run: npm ci
40+
- name: 'Lint'
41+
run: npm run lint
42+
- name: 'Typecheck'
43+
run: npm run typecheck
44+
- name: 'Test'
45+
run: npm run test

.github/workflows/lint.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
.envrc
21
node_modules
3-
src/static/css/prismjs/*.css
2+
3+
/.cache
4+
/build
5+
.env
6+
7+
.envrc
8+
coverage
9+
.kvcache

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.15.0

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"tabWidth": 2,
44
"singleQuote": true,
55
"printWidth": 100,
6-
"endOfLine": "lf"
6+
"parser": "typescript"
77
}

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@ the [Electron](https://github.com/electron/electron) project.
55

66
## Getting started
77

8-
The website is a simple Node.js app built using [Express](https://expressjs.com/) and [Handlebars.js](https://handlebarsjs.com/).
8+
The website is built using [Remix](https://remix.run/).
99

1010
### Installation
1111

12-
To run the app locally, install dependencies and run the `start` script:
12+
To run the app locally, install dependencies and run the `dev` script:
1313

1414
```
15-
yarn
16-
yarn start
15+
npm install
16+
npm run dev
1717
```
1818

19-
When developing locally, you may want to use the `watch` script instead, which watches for file changes using [nodemon](https://github.com/remy/nodemon).
20-
2119
### GitHub Authentication
2220

2321
The app pulls release information from GitHub, and local usage (especially going through pages of past releases) may hit the rate limit for anonymous GitHub usage. You can provide a GitHub Personal Access Token (PAT) by setting the `GITHUB_TOKEN` environment variable before running the app locally, which will have higher rate limits.
2422

2523
## License
2624

27-
Distributed under the [MIT License](https://github.com/electron/release-status/blob/main/LICENSE).
25+
Distributed under the [MIT License](https://github.com/electron/release-status/blob/main/LICENSE).

app/api/active.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { getActiveReleasesOrUpdate } from '~/data/release-data';
2+
3+
export const loader = async () => {
4+
return await getActiveReleasesOrUpdate();
5+
};

0 commit comments

Comments
 (0)