Skip to content

Commit 4f2e2e4

Browse files
authored
Merge branch 'main' into main
2 parents 8d5a19e + a9ff6f5 commit 4f2e2e4

22 files changed

+101
-23
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout your repository using git
1414
uses: actions/checkout@v4
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
1519
- name: Install dependencies
1620
run: npm ci
1721
- name: Test
@@ -21,6 +25,10 @@ jobs:
2125
steps:
2226
- name: Checkout your repository using git
2327
uses: actions/checkout@v4
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '22'
2432
- name: Install dependencies
2533
run: npm ci
2634
- name: Lint
@@ -30,6 +38,10 @@ jobs:
3038
steps:
3139
- name: Checkout your repository using git
3240
uses: actions/checkout@v4
41+
- name: Setup Node.js
42+
uses: actions/setup-node@v4
43+
with:
44+
node-version: '22'
3345
- name: Install dependencies
3446
run: npm ci
3547
- name: Typecheck
@@ -40,6 +52,10 @@ jobs:
4052
steps:
4153
- name: Checkout your repository using git
4254
uses: actions/checkout@v4
55+
- name: Setup Node.js
56+
uses: actions/setup-node@v4
57+
with:
58+
node-version: '22'
4359
- name: Install dependencies
4460
run: npm ci
4561
- name: Build

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Force npm to fail (not just warn) if the node.js version in "engines" isn't met
2+
engine-strict=true

docs/technical_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Setup
66

7-
1. Make sure you have [node and npm installed on your machine](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs).
7+
1. Make sure you have [node (at least version 22) and npm installed on your machine](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs).
88
2. Clone this repo by typing git clone https://github.com/processing/p5.js-website/ in your terminal. (You can also use [GitHub Desktop](https://desktop.github.com/)).
99
3. Then install the project's dependencies with:
1010

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"custom:cleanup": "tsx ./src/scripts/resetBranchTest.ts",
2323
"test:a11y": "playwright test test/a11y"
2424
},
25+
"engines": {
26+
"node": ">=22.0.0"
27+
},
2528
"dependencies": {
2629
"@astrojs/check": "^0.9.6",
2730
"@astrojs/mdx": "^4.3.13",

src/components/Footer/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const bannerEntry = await getEntry("banner", currentLocale);
7171
</a>
7272
</li>
7373
<li>
74-
<a href="https://discord.gg/SHQ8dH25r9" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
74+
<a href="https://discord.p5js.org" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
7575
Discord ↗
7676
</a>
7777
</li>

src/content/contributor-docs/en/contributor_guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The majority of the activity on p5.js' GitHub repositories (repo for short) happ
6565

6666
While an issue can be opened for a wide variety of reasons, we usually only use issues to discuss the development of p5.js source code. Topics such as debugging your own code, inviting collaborators to your project, or other unrelated topics should be discussed
6767

68-
either on the [forum](https://discourse.processing.com) or on other platforms such as [Discord](https://discord.gg/SHQ8dH25r9/).
68+
either on the [forum](https://discourse.processing.com) or on other platforms such as [Discord](https://discord.p5js.org).
6969

7070
We have created easy-to-use issue templates to aid you in deciding whether a topic should be a GitHub issue or posted elsewhere!
7171

src/content/contributor-docs/en/steward_guidelines.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To remain a steward, you must contribute as a steward to at least 1 of the 2 mos
9494

9595
1. Keep this guideline handy as a reference - how to help with new issues, bugs, and features. For example, the "Feature request" section includes tips on how to use the the p5.js [access statement](../access/) as a steward.
9696
2. When helping to answer technical questions or review, try to apply the Processing Foundation [guideline on answering questions](https://discourse.processing.org/t/guidelines-answering-questions/2145/) - these can be especially helpful for giving constructive technical feedback.
97-
3. Join the [p5.js Discord](https://discord.com/invite/SHQ8dH25r9/) - in the `#contribute-to-p5` you're welcome to ask any questions you have about this process - or suggest how it can be improved!
97+
3. Join the [p5.js Discord](https://discord.p5js.org) - in the `#contribute-to-p5` you're welcome to ask any questions you have about this process - or suggest how it can be improved!
9898

9999
## Issues
100100

@@ -126,7 +126,7 @@ Bug report issues should use the "Found a bug" issue template. The following wor
126126
* If replication is possible later, go back to step 2.
127127
4. If the bug stems from the code the user provided in the bug report and not p5.js' behavior:
128128
* Determine if p5.js' documentation, code implementation, or friendly error system can be improved to prevent the same mistake from being made.
129-
* Kindly redirect any further questions to the [forum](https://discourse.processing.org/) or [Discord](https://discord.com/invite/SHQ8dH25r9/) and close the issue if no further changes are to be made to p5.js.
129+
* Kindly redirect any further questions to the [forum](https://discourse.processing.org/) or [Discord](https://discord.p5js.org) and close the issue if no further changes are to be made to p5.js.
130130

131131
### Feature request
132132

src/content/contributor-docs/es/contributor_guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ La mayoría de la actividad en los repositorios de GitHub de p5.js (también con
6464

6565
<em>'Issues'</em> es el nombre común que se le da a una publicación en GitHub que apunta a describir, como lo dice su nombre, un problema. Los <em>Issues</em> pueden ser reportes de error, solicitudes para añadir un nueva funcionalidad, una discusión, o cualquier publicación que se relacione con el desarrollo de la biblioteca de p5.js. Cualquiera con una cuenta de GitHub puede añadir comentarios debajo de cada <em>Issue</em>, ¡incluyendo bots! Este es el lugar donde los contribuidores discuten temas relacionados con el desarrollo del proyecto dentro del repositorio.
6666

67-
Mientras un <em>Issue</em> puede ser creado por diferentes razones, usualmente utilizamos la creación de un <em>Issue</em> para discutir el desarrollo del código fuente de p5.js. Temas como la corrección de errores de tu propio código, invitación de colaboradores a tu proyecto, u otros temas no relacionados, deben ser discutidos ya sea en el [foro](https://discourse.processing.com) o en otras plataformas de comunicación como [Discord](https://discord.gg/SHQ8dH25r9/).
67+
Mientras un <em>Issue</em> puede ser creado por diferentes razones, usualmente utilizamos la creación de un <em>Issue</em> para discutir el desarrollo del código fuente de p5.js. Temas como la corrección de errores de tu propio código, invitación de colaboradores a tu proyecto, u otros temas no relacionados, deben ser discutidos ya sea en el [foro](https://discourse.processing.com) o en otras plataformas de comunicación como [Discord](https://discord.p5js.org).
6868

6969
¡Hemos creado plantillas fáciles de usar que puede ayudarte a determinar si un tema es adecuado para ser publicado como un <em>Issue</em> en GitHub, o si sería más apropiado publicarlo en otro lugar!
7070

src/content/contributor-docs/es/steward_guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Los *issues* de informes de errores deberían utilizar la plantilla de *Issue* "
6363
* Si la replicación es posible más tarde, regrese al paso 2.
6464
4. Si el error se origina en el código que el usuario proporcionó en el informe de error y no en el comportamiento de p5.js:
6565
* Determine si la documentación de p5.js, la implementación de código o el sistema de errores amigable pueden mejorarse para evitar que se cometa el mismo error.
66-
* Redirija amablemente cualquier pregunta adicional al [foro](https://discourse.processing.org/) o al [Discord](https://discord.com/invite/SHQ8dH25r9/) y cierre el *issue* si no se van a realizar más cambios en p5.js.
66+
* Redirija amablemente cualquier pregunta adicional al [foro](https://discourse.processing.org/) o al [Discord](https://discord.p5js.org) y cierre el *issue* si no se van a realizar más cambios en p5.js.
6767

6868
### Solicitud de Funcionalidades
6969

0 commit comments

Comments
 (0)