@@ -124,11 +124,21 @@ const res = isMyDataValid(data)
124124* ` npm run test ` - run build process and tests for all modules
125125* ` npm run test:build ` - run build process for all modules
126126
127- #### Docs
127+ #### Benchmark Viewer
128128
129- * ` npm run docs:serve ` - result viewer
130- * ` npm run docs:build ` - build docs
131- * ` npm run docs:watch ` - watch docs for changes and rebuild
129+ A basic preact+vite app lives in [ ` /docs ` ] ( /tree/master/docs ) .
130+ It is deployed via github pages whenever something has been pushed to the main branch.
131+
132+ ``` sh
133+ cd docs
134+
135+ npm run dev # develop / view results
136+ npm run build # build
137+ npm run preview # preview the build
138+ ```
139+
140+ When viewing results locally, you need to restart the app whenever the results
141+ are updated.
132142
133143#### Linting
134144
@@ -163,18 +173,18 @@ const res = isMyDataValid(data)
163173### Node.js runtime
164174
165175* update Node.js version matrix in ` .github/workflows/pr.yml ` and ` .github/workflows/release.yml `
166- * update ` NODE_VERSIONS ` in ` docs/dist/app .tsx ` and run ` npm run docs:build `
176+ * update ` NODE_VERSIONS ` in ` docs/src/App .tsx `
167177* optionally set ` NODE_VERSION_FOR_PREVIEW ` in ` benchmarks/helpers/main.ts `
168178
169179### Bun runtime
170180
171181* update bun version matrix in ` .github/workflows/pr.yml ` and ` .github/workflows/release.yml `
172- * update ` BUN_VERSIONS ` in ` docs/dist/app .tsx ` and run ` npm run docs:build `
182+ * update ` BUN_VERSIONS ` in ` docs/src/App .tsx `
173183
174184### Deno runtime
175185
176186* update Deno version matrix in ` .github/workflows/pr.yml ` and ` .github/workflows/release.yml `
177- * update ` DENO_VERSIONS ` in ` docs/dist/app .tsx ` and run ` npm run docs:build `
187+ * update ` DENO_VERSIONS ` in ` docs/src/App .tsx `
178188
179189## Test cases
180190
0 commit comments