Commit Graph
20 Commits
Author SHA1 Message Date
Jamie Wong 35d2ea5f3e Move testing to the publish and deploy script, rename build-release to prepack 2025-01-15 12:30:15 -08:00
Jamie Wong 1e33d9a0c1 Switch build to IIFE 2025-01-15 12:19:34 -08:00
Jamie Wong 9b0bdd282a Get a version of the file:/// local build working again 2025-01-15 12:16:25 -08:00
Jamie Wong 22dd4583df Fix the build-release.sh script 2025-01-15 01:13:52 -08:00
Jamie Wong 668ad92233 Add comment with caveat about dev-server.ts 2025-01-15 01:08:54 -08:00
Jamie Wong bfcd0f0e46 Deal with CSS and favicons 2025-01-15 01:06:55 -08:00
Jamie Wong fb1697be79 Start dynamically building index.html file 2025-01-15 00:21:17 -08:00
Jamie Wong e40961bbdd Move compiled JS assets into assets/dist 2025-01-14 23:08:27 -08:00
Jamie Wong 15cf0e2ffa Switch to using a build script, enable code splitting 2025-01-14 22:41:52 -08:00
Timo Tijhof 25f671e9d8 Bundle the font (#472)
For performance, offline support and privacy.

Continues from https://github.com/jlfwong/speedscope/pull/412
2024-04-15 11:45:12 -07:00
Jamie Wong 304ccf33ab Update publish-and-deploy to remove automated release creation (#440)
Turns out the `--attach` command was hallucinated by GPT!
2023-07-16 15:31:31 -07:00
Jamie Wong 8dad28e5e2 Automate more of the release process (#439)
The publish, deploy, and release process is annoying enough at the moment that I avoid doing it frequently. Let's automate most of it to reduce the friction
2023-07-16 03:01:50 -07:00
Jamie Wong 6493c5f66f Update deploy script to python3 2022-07-30 23:20:36 -07:00
Jamie Wong ca1abfdd32 Fix schema generation in new TypeScript version (#274)
Fixes #268 

I fixed it by dropping the dependency on quicktype entirely, and using its dependency directly. I still don't understand why the version of typescript used in this repository affects what quicktype is doing, but it seems like the issue is in quicktype, not its dependency.

I validated this change was correct by diffing the output of `node scripts/generate-file-format-schema-json.js` with what's currently on http://speedscope.app/file-format-schema.json. There's no difference.

This PR also includes changes to the CI script to ensure that we can catch this before hitting master next time.
2020-05-23 16:07:38 -07:00
Jamie Wong 789f296c9c Run unit tests as part of release build 2018-09-04 20:53:58 -07:00
Jamie Wong 64e290c9fc Change deploy script to use assets from npm 2018-09-04 20:50:30 -07:00
Jamie Wong a5c3184880 Add a way of generating a self-contained zip-file 2018-08-22 18:50:25 -07:00
Jamie Wong 085d6298ec 0.6.0 2018-08-14 10:34:34 -07:00
Jamie Wong aa35b17d20 Downgrade to TypeScript 2.8.1 to fix JSON schema generation (#133)
Fixes #132
2018-08-14 09:37:42 -07:00
Jamie Wong 608006232f Reorganize directory structure (#104)
While it was kind of nice having everything at the top level, the number of files is now getting a bit unwieldy and hard to understand, so I took a stab at organizing the directories without introducing too much nesting.

Test Plan:
- Ran `npm run serve` to ensure that local builds still work
- Ran `npm run prepack` then `open dist/release/index.html` to ensure that release builds still work
- Ran `scripts/deploy.sh` to ensure that the deployed version of the site will still work when I eventually redeploy
- Ran `npm run jest` to ensure that tests still work correctly
2018-08-01 00:41:45 -07:00