Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24
26
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Major features, ordered by priority:

## Developing

Use Node.js 24 (`nvm use`) and install the locked dependencies:
Use Node.js 26 (`nvm use`) and install the locked dependencies:

```bash
npm ci
Expand All @@ -85,9 +85,9 @@ npm run preview -- --host 127.0.0.1
npm run test:cy
```

The production build generates `.vercel/output` using `@sveltejs/adapter-vercel`; it does not need database credentials. Lessons and the new-experiment page are prerendered. Shared experiment pages load on the client, and the API runs on Node.js 24 functions. The PWA precaches application assets and lessons; private API responses are never cached.
The production build generates `.vercel/output` using `@sveltejs/adapter-vercel`; it does not need database credentials. Lessons and the new-experiment page are prerendered. Shared experiment pages load on the client, and the API runs on Node.js 26 functions. The PWA precaches application assets and lessons; private API responses are never cached.

Unit tests live next to the source and include parser fixtures, simulator behavior, ownership checks, origin checks and migration validation. Cypress retains the existing accessibility and visual-regression checks. CI uses Node.js 24 and `npm ci` and runs typing, coverage, builds and Cypress on pull requests.
Unit tests live next to the source and include parser fixtures, simulator behavior, ownership checks, origin checks and migration validation. Cypress retains the existing accessibility and visual-regression checks. CI uses Node.js 26 and `npm ci` and runs typing, coverage, builds and Cypress on pull requests.

## Deployment and data migration

Expand Down
2 changes: 1 addition & 1 deletion docs/vercel-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Import `durasj/chipsandcode` into the `durasjs-projects` team. Use these setting
| Project name | `chipsandcode` |
| Framework | SvelteKit |
| Root directory | Repository root |
| Node.js | 24.x |
| Node.js | 26.x |
| Install command | `npm ci` |
| Build command | `npm run build` |
| Output directory | Framework default; leave the override unset |
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@testing-library/svelte": "5.4.2",
"@types/katex": "^0.16.2",
"@types/nearley": "^2.11.2",
"@types/node": "^24.0.0",
"@types/node": "^26.6.6",
"@vite-pwa/assets-generator": "2.0.0",
"@vite-pwa/sveltekit": "2.0.0",
"@vitest/browser": "5.1.0",
Expand Down Expand Up @@ -99,7 +99,7 @@
},
"type": "module",
"engines": {
"node": "24.x"
"node": "26.x"
},
"imports": {
"#lib/*": "./src/lib/*",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config = defineConfig(() => {
contentPlugin(),
withPwa(
{
adapter: adapter({ runtime: 'nodejs24.x' }),
adapter: adapter({ runtime: 'nodejs26.x' }),
preprocess: vitePreprocess({ script: true }),
prerender: {
entries: ['*', '/learn/hardware/boolean-logic'],
Expand Down