forked from icd/rentgen
chore: upgrade to Node.js 25 and add fnm support
- Update package.json to require Node.js >=25 - Add .nvmrc file with Node.js version 25 - Update README.md with Node.js 25 requirements - Add fnm installation and usage instructions - Update both English and Polish documentation sections 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9565f25a5d
commit
4be9a43d5b
28
README.md
28
README.md
@ -21,9 +21,21 @@ Firefox: https://addons.mozilla.org/en-US/firefox/addon/rentgen/
|
|||||||
### Pre-requirements
|
### Pre-requirements
|
||||||
|
|
||||||
- OS: Linux x86_64
|
- OS: Linux x86_64
|
||||||
- Node.js: 16.x version
|
- Node.js: 25.x version (recommended: use [fnm](https://github.com/Schniz/fnm) for automatic version management)
|
||||||
- npm: 7.x version or higher
|
- npm: 7.x version or higher
|
||||||
|
|
||||||
|
**Using fnm (recommended):**
|
||||||
|
|
||||||
|
If you're using fnm, it will automatically use the correct Node.js version specified in `.nvmrc`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Install fnm (if not already installed)
|
||||||
|
curl -fsSL https://fnm.vercel.app/install | bash
|
||||||
|
|
||||||
|
# In the project directory, fnm will automatically use Node.js 25
|
||||||
|
fnm use
|
||||||
|
```
|
||||||
|
|
||||||
### Build steps
|
### Build steps
|
||||||
|
|
||||||
1. Pull repository or download a zip package
|
1. Pull repository or download a zip package
|
||||||
@ -82,9 +94,21 @@ Firefox: https://addons.mozilla.org/pl/firefox/addon/rentgen/
|
|||||||
### Wymagania wstępne
|
### Wymagania wstępne
|
||||||
|
|
||||||
- System operacyjny: Linux x86_64
|
- System operacyjny: Linux x86_64
|
||||||
- Node.js: 16.x
|
- Node.js: 25.x (zalecane: użyj [fnm](https://github.com/Schniz/fnm) do automatycznego zarządzania wersją)
|
||||||
- npm: 7.x lub wyższy
|
- npm: 7.x lub wyższy
|
||||||
|
|
||||||
|
**Używanie fnm (zalecane):**
|
||||||
|
|
||||||
|
Jeśli używasz fnm, automatycznie użyje prawidłowej wersji Node.js określonej w `.nvmrc`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Zainstaluj fnm (jeśli nie jest zainstalowane)
|
||||||
|
curl -fsSL https://fnm.vercel.app/install | bash
|
||||||
|
|
||||||
|
# W katalogu projektu fnm automatycznie użyje Node.js 25
|
||||||
|
fnm use
|
||||||
|
```
|
||||||
|
|
||||||
### Proces budowy
|
### Proces budowy
|
||||||
|
|
||||||
1. Pobierz repozytorium przez `git pull https://git.internet-czas-dzialac.pl/icd/rentgen.git` lub pobierz archwium zip
|
1. Pobierz repozytorium przez `git pull https://git.internet-czas-dzialac.pl/icd/rentgen.git` lub pobierz archwium zip
|
||||||
|
|||||||
@ -28,6 +28,9 @@
|
|||||||
"homepage": "https://git.internet-czas-dzialac.pl/icd/rentgen",
|
"homepage": "https://git.internet-czas-dzialac.pl/icd/rentgen",
|
||||||
"author": "Kuba Orlik, Arkadiusz Wieczorek",
|
"author": "Kuba Orlik, Arkadiusz Wieczorek",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=25"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iabtcf/core": "^1.3.1",
|
"@iabtcf/core": "^1.3.1",
|
||||||
"@types/proposal-relative-indexing-method": "^0.1.0",
|
"@types/proposal-relative-indexing-method": "^0.1.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user