Skip to content

Commit

Permalink
Clarify supported node versions across project (wpengine#1409)
Browse files Browse the repository at this point in the history
* Chore: Add Engines in package.json and updated Readme.

* Chore: Changeset
  • Loading branch information
theodesp authored May 5, 2023
1 parent 854ecea commit 200bdb8
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .changeset/silent-eagles-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@faustwp/blocks': patch
'@faustwp/cli': patch
'@faustwp/core': patch
---

Add min engines declaration in package.json
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ Faust.js aims to be framework agnostic, so it can be used with any front-end fra

As we work towards our first release, we will be introducing support for other frameworks.

## System Requirements

- Node.js v16.0.0 or newer (v16.8.0 when using Next.js 13).
- MacOS, Windows (including WSL), and Linux are supported.

## Documentation

Visit [https://faustjs.org/docs/getting-started](https://faustjs.org/docs/getting-started) to view the full documentation.
Expand Down
4 changes: 4 additions & 0 deletions examples/next/faustwp-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.54.9"
},
"engines": {
"node": ">=16",
"npm": ">=8"
}
}
7 changes: 7 additions & 0 deletions internal/faustjs.org/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ title: Getting Started with Faust

# Getting Started with Faust

## System Requirements

First, make sure your development environment meets the following requirements:

- Node.js v16.0.0 or newer (v16.8.0 when using Next.js 13).
- MacOS, Windows (including WSL), and Linux are supported.

## Quick Start

To create a Faust project, run:
Expand Down
6 changes: 5 additions & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@
"bugs": {
"url": "https://github.com/wpengine/faustjs/issues"
},
"homepage": "https://github.com/wpengine/faustjs#readme"
"homepage": "https://github.com/wpengine/faustjs#readme",
"engines": {
"node": ">=16",
"npm": ">=8"
}
}
6 changes: 5 additions & 1 deletion packages/faustwp-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,9 @@
"bugs": {
"url": "https://github.com/wpengine/faustjs/issues"
},
"homepage": "https://github.com/wpengine/faustjs#readme"
"homepage": "https://github.com/wpengine/faustjs#readme",
"engines": {
"node": ">=16",
"npm": ">=8"
}
}
6 changes: 5 additions & 1 deletion packages/faustwp-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,9 @@
"bugs": {
"url": "https://github.com/wpengine/faustjs/issues"
},
"homepage": "https://github.com/wpengine/faustjs#readme"
"homepage": "https://github.com/wpengine/faustjs#readme",
"engines": {
"node": ">=16",
"npm": ">=8"
}
}

0 comments on commit 200bdb8

Please sign in to comment.