Skip to content

Commit

Permalink
Merge pull request #220 from pph-collective/build-node-18
Browse files Browse the repository at this point in the history
build: node 18 and update outdated
  • Loading branch information
eldu authored Sep 20, 2023
2 parents a1f97c7 + 717925c commit aea0c0d
Show file tree
Hide file tree
Showing 24 changed files with 7,712 additions and 13,934 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lintcheck && npm run tscheck
npx lint-staged
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 18.17.1
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For the map to work, you'll need a `.env` file in your project root directory wi
VITE_MAPBOX_ACCESS_TOKEN=
```

Node version: 16+
Node version: 18+

```bash
# install dependencies
Expand All @@ -18,14 +18,13 @@ $ npm install

### Compiles and hot-reloads for development
```bash
# serve with hot reload at localhost:3000
# serve with hot reload at localhost:5173
$ npm run dev
```

### Linting
```bash
$ npm run lint # report and fix linting errors
$ npm run tscheck # check for type errors
```

### build for production and launch server
Expand Down
Loading

0 comments on commit aea0c0d

Please sign in to comment.