it-tools/.github
Destan Sarpkaya baab3f7f06
build: use Node 22 and add Wrangler config for SPA routing (#1)
* build: use Node 22 and add Wrangler config for SPA routing

Wrangler 4.157.0 requires Node 22, and the Cloudflare build read
Node 18.18.2 from .nvmrc, so the deploy step failed.

- Pin Node 22 in .nvmrc and in the GitHub workflows.
- Add wrangler.jsonc to serve dist as static assets, with
  single-page-application fallback so deep links load index.html.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

* build: add previews block to Wrangler config

Workers Builds runs `npx wrangler preview` for non-production branches.
Wrangler 4.157.0 refuses to run that command without a `previews` block
in the configuration, so the preview deploy for this branch failed:

  Your Wrangler configuration is missing a `previews` block to run
  this command.

An empty block is enough. Assets and compatibility settings stay at the
top level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-04 18:19:53 +01:00
..
ISSUE_TEMPLATE chore(issues): prevent empty issues (#1078) 2024-05-13 08:44:04 +00:00
PULL_REQUEST_TEMPLATE chore: added pull request template 2022-05-11 17:37:39 +02:00
workflows build: use Node 22 and add Wrangler config for SPA routing (#1) 2026-11-04 18:19:53 +01:00
FUNDING.yml chore(fund): added funding file 2022-04-13 23:02:44 +02:00
logo-dark.png chore(readme): updated logos (#1294) 2024-09-13 18:56:32 +00:00
logo-white.png chore(readme): updated logos (#1294) 2024-09-13 18:56:32 +00:00
stale.yml chore(ci): added stale config 2022-04-13 23:03:01 +02:00