Skip to content

Commit 5451908

Browse files
committed
update
1 parent ee7b93a commit 5451908

17 files changed

+4315
-1703
lines changed

AGENTS.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Timebase Agent Guide
2+
3+
Timebase is a web application that provides a chronological visualization of web features and their browser support. It allows developers to visualize when features became available across different browsers, view developer signals for limited availability features, and filter results by browser, status, interop, and predicted support.
4+
5+
The project relies on [web-futures](https://github.com/rviscomi/web-futures) as a key dependency to provide a "future" view of the web platform's support landscape, including unreleased browser versions.
6+
7+
---
8+
9+
## Syncing with Web Futures
10+
11+
To synchronize Timebase with the latest version of `web-futures` and browser support data, follow these steps:
12+
13+
### 1. Update Dependencies
14+
Run the update script to pull the latest version of `web-futures` and synchronize the project's metadata.
15+
16+
```bash
17+
npm run update
18+
```
19+
20+
> [!NOTE]
21+
> This command updates the `web-futures` dependency to the latest version and runs a suite of metadata extraction scripts (including `extract-data.js`, `extract-bcd-data.js`, `developer-signals.js`, and `interop.js`) to ensure the timeline data is accurate and up-to-date.
22+
23+
### 2. Generate the HTML
24+
Rebuild the static HTML files for the timeline and BCD views.
25+
26+
```bash
27+
npm run build
28+
```
29+
30+
> [!NOTE]
31+
> This command ensures all metadata is fully refreshed and then executes the core build scripts (`scripts/build.js` and `scripts/build-bcd.js`) to generate the final static site in the `docs/` directory.
32+
33+
### 3. Test in the Browser
34+
Start a local development server to verify the updates.
35+
36+
```bash
37+
npm run dev
38+
```
39+
40+
> [!NOTE]
41+
> This command stops any existing local server, performs a full build, and starts a new `http-server` instance (typically on port 8080) so you can interact with the updated timeline in a browser.

0 commit comments

Comments
 (0)