Skip to content

Commit b271338

Browse files
feat: rewrite and redesign
1 parent cde2cad commit b271338

File tree

99 files changed

+20854
-4909
lines changed

Some content is hidden

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

99 files changed

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

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx lint-staged
1+
npm run lint-staged

.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)