Translate everything to typescript
This commit is contained in:
1 parent
c3ca3e1752
commit
e9818aaeda
27 files changed
+901
-552
No files matched your search
@@ -183,7 +183,7 @@ It isn't included in `dist/` or `vite preview`. Production builds ignore
|
||||
`.env.development` and retain the existing static/manual configuration. To reuse
|
||||
the client integration later, set `VITE_ICE_ENDPOINT` and `VITE_STUN_URL` when
|
||||
building and implement the same JSON endpoint behind your production access
|
||||
policy. [dev/ice-server.js](dev/ice-server.js) contains the HMAC issuance logic.
|
||||
policy. [dev/ice-server.ts](dev/ice-server.ts) contains the HMAC issuance logic.
|
||||
There are no accounts or room sessions in this app to authorize production
|
||||
credential issuance automatically. Don't expose this development endpoint or
|
||||
reuse the loopback-permitting Compose configuration as a public relay.
|
||||
@@ -198,9 +198,20 @@ and [coturn configuration](https://github.com/coturn/coturn/blob/master/examples
|
||||
|
||||
### Existing checks and static build
|
||||
|
||||
Use Bun for dependency installation and Node.js 22.18+ for the scripts and tests.
|
||||
All application code, Vue scripts, development middleware, and checks use strict
|
||||
TypeScript. `vue-tsc` checks both TypeScript and Vue templates, and runs before
|
||||
every production build. TypeScript stays on 5.9 until Vue's checker supports the
|
||||
TypeScript 7 compiler.
|
||||
|
||||
Vite 8 supplies VoidZero's Rolldown bundler and Oxc transforms. The only added
|
||||
development dependencies are TypeScript, `vue-tsc`, and Node types. Node runs
|
||||
the TypeScript tests directly; no separate test framework or TS loader is needed.
|
||||
|
||||
```sh
|
||||
bun install --frozen-lockfile
|
||||
bun run dev
|
||||
bun run typecheck
|
||||
bun run test
|
||||
bun run build
|
||||
bun run test:browser # local Chromium integration checks against dist/
|
||||
|
||||
Reference in new issue
Block a user