Skip to content

About

a nonogram game implemented in React with TypeScript

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

react-nonogram

GitHub Pages CodeQL Tests GitHub license

a nonogram game implemented in React with TypeScript

Try it!

Node.js version

The app runs in the browser. Node.js runs only the tools (Vite, Vitest, TypeScript, ESLint) for development, the tests and the GitHub Pages build, and all of them use one Node.js version: the latest release of Node.js 26. .nvmrc names it, the GitHub workflows read it from there, and engines.node and @types/node in package.json follow it, so that the types offer no Node.js API of a newer version.

With nvm, install and switch to it in the project folder:

nvm install

With fnm:

fnm use --install-if-missing

engines.node is a declaration, not a lock: Node.js itself ignores it, and npm only warns about another version unless engine-strict is set.

  • npm run node:check fails if engines.node, @types/node and .nvmrc don't match, if a package in package-lock.json excludes a Node.js version that engines.node includes, or from the end of life of the Node.js version on. It warns in the 90 days before. CI runs it on every push and pull request, and weekly with --strict, so that a near end of life fails the weekly run.
  • npm run node:update raises the Node.js version: it shows the Node.js release lines with their status, end of life and matching @types/node, and whether all packages accept them. It then writes engines.node, @types/node and .nvmrc, and offers to install that Node.js version (with nvm, nvm-windows or fnm) and to run install, lint, type check, tests and build with it.

Dependabot does not raise the major version of @types/node.

stuff left to do

  • level selection
  • pausing
  • quitting
  • make this a proper PWA
  • dynamic penalty for mistakes (optional)
  • highlighting complete blocks in top/side numbers (optional)

references

About

a nonogram game implemented in React with TypeScript

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages