Skip to content

Commit

Permalink
Update required node version and npm deps (#6187)
Browse files Browse the repository at this point in the history
After this PR lands, you might need to update your version of Node to
the latest LTS or newer.
  • Loading branch information
parlough authored Nov 5, 2024
1 parent 32f9d38 commit 09d1421
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 235 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If you prefer, you can use a version manager such as [nvm][],
and run `nvm install` from the repository's root directory.

If you already have Node installed, verify it's available on your path
and already the latest stable version _(currently `20.12` or later)_:
and already the latest stable version _(currently `20.14` or later)_:

```terminal
node --version
Expand Down Expand Up @@ -143,7 +143,7 @@ following the instructions in [Get the prerequisites](#get-the-prerequisites).
If you already have `pnpm`, verify you have the latest stable version.
We recommend using [`corepack`][] to install and manage `pnpm` versions,
since it is bundled with most installations of Node.

If you haven't used `corepack` before, you'll need to
first enable it with `corepack enable`.
Then, to install the correct `pnpm` version, from the
Expand Down Expand Up @@ -181,7 +181,7 @@ following the instructions in [Get the prerequisites](#get-the-prerequisites).
7. View your changes in the browser by navigating to <http://localhost:4000>.

Note the port might be different if `4000` is taken.

If you want to check the raw, generated HTML output and structure,
view the `_site` directory in a file explorer or an IDE.

Expand Down Expand Up @@ -274,7 +274,7 @@ you can build a full version and upload it to Firebase.
./dash_site build
```

This will build the site and copy it to your local `_site` directory.
This builds the site and copy it to your local `_site` directory.
If that directory previously existed, it will be replaced.

3. Deploy to your activated Firebase project's default hosting site:
Expand Down
4 changes: 2 additions & 2 deletions dash_site
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

REQUIRED_DART_VERSION="3.5"
REQUIRED_NODE_VERSION="20.12"
REQUIRED_PNPM_VERSION="9.1"
REQUIRED_NODE_VERSION="20.14"
REQUIRED_PNPM_VERSION="9.4"

# Check that the 'dart' command is available on the user's path.
if ! command -v dart &> /dev/null; then
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,27 @@
"build-site-for-production": "PRODUCTION=true OPTIMIZE=true eleventy"
},
"engines": {
"node": ">=20.12.0",
"pnpm": ">=9.1.0"
"node": ">=20.14.0",
"pnpm": ">=9.4.0"
},
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.3",
"dependencies": {
"bootstrap-scss": "^4.6.2"
},
"devDependencies": {
"@11ty/eleventy": "3.0.0",
"@11ty/eleventy": "^3.0.0",
"firebase-tools": "^13.23.1",
"hast-util-from-html": "^2.0.3",
"hast-util-select": "^6.0.3",
"hast-util-to-text": "^4.0.2",
"html-minifier-terser": "^7.2.0",
"js-yaml": "^4.1.0",
"liquidjs": "^10.18.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.2.0",
"markdown-it-container": "^4.0.0",
"markdown-it-deflist": "^3.0.0",
"sass": "^1.80.5",
"sass": "^1.80.6",
"shiki": "^1.22.2"
}
}
Loading

0 comments on commit 09d1421

Please sign in to comment.