Skip to content

Commit b3a96c0

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix-safari-layout-shift
2 parents bbaae8d + 5de716f commit b3a96c0

File tree

1,050 files changed

+38656
-39994
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,050 files changed

+38656
-39994
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
open_collective: playfulprogramming

.github/ISSUE_TEMPLATE/content-suggestion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ body:
77
- type: markdown
88
attributes:
99
value: >-
10-
> This is a proposed article to be written (by anyone) for Unicorn
11-
Utterances. If this topic seems interesting to you and you'd like to
10+
> This is a proposed article to be written (by anyone) for Playful Programming.
11+
If this topic seems interesting to you and you'd like to
1212
write it, just leave a comment saying so and let us know what we can do
1313
to help.
1414
- type: input

.github/workflows/test.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,19 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v4
2527
- name: Setup Node
2628
uses: actions/setup-node@v4
2729
with:
2830
node-version-file: .nvmrc
29-
cache: npm
31+
cache: pnpm
3032

3133
- name: Install Dependencies
32-
run: npm ci
34+
run: pnpm install --frozen-lockfile --prefer-offline
3335

3436
- name: Test
35-
run: npm run test
37+
run: pnpm run test
3638
tsc:
3739
env:
3840
CI: true
@@ -42,17 +44,19 @@ jobs:
4244
uses: actions/checkout@v4
4345
with:
4446
fetch-depth: 0
47+
- name: Setup pnpm
48+
uses: pnpm/action-setup@v4
4549
- name: Setup Node
4650
uses: actions/setup-node@v4
4751
with:
4852
node-version-file: .nvmrc
49-
cache: npm
53+
cache: pnpm
5054

5155
- name: Install Dependencies
52-
run: npm ci
56+
run: pnpm install --frozen-lockfile --prefer-offline
5357

5458
- name: Check TypeScript
55-
run: npm run tsc
59+
run: pnpm run tsc
5660
lint:
5761
env:
5862
CI: true
@@ -62,14 +66,16 @@ jobs:
6266
uses: actions/checkout@v4
6367
with:
6468
fetch-depth: 0
69+
- name: Setup pnpm
70+
uses: pnpm/action-setup@v4
6571
- name: Setup Node
6672
uses: actions/setup-node@v4
6773
with:
6874
node-version-file: .nvmrc
69-
cache: npm
75+
cache: pnpm
7076

7177
- name: Install Dependencies
72-
run: npm ci
78+
run: pnpm install --frozen-lockfile --prefer-offline
7379

7480
- name: Run Linting
75-
run: npm run lint
81+
run: pnpm run lint

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ pnpm-debug.log*
2121
.eslintcache
2222
.vercel
2323
.puppeteer
24-
25-
.vercel
24+
25+
.vercel
26+
.astro

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install lint-staged

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.12.1
1+
v18.20.0

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ a project may be further defined and clarified by project maintainers.
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
5858
reported by contacting the project team in [our Discord](https://discord.gg/FMcvc6T)
59-
(tag the @unicorn-umpire role, they're the admins/team members). All complaints
59+
(tag the @playground-protector role, they're the admins/team members). All complaints
6060
will be reviewed and investigated and will result in a response that
6161
is deemed necessary and appropriate to the circumstances. The project team is
6262
obligated to maintain confidentiality with regard to the reporter of an incident.

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
As a community, we welcome anyone to write and submit posts to the Unicorn Utterances blog! In this document, we'll go over how to create a new post in UU and submit it as a pull request.
1+
As a community, we welcome anyone to write and submit posts to the Playful Programming blog! In this document, we'll go over how to create a new post in UU and submit it as a pull request.
22

33
> [!NOTE]
44
> For a general tutorial on contributing to a project with GitHub, you may want to go through [the First Contributions guide](https://github.com/firstcontributions/first-contributions) before continuing through this page.
@@ -8,7 +8,7 @@ Here are a few things to keep in mind while writing your post:
88
- Aim to provide factual and relevant information - citing sources is encouraged!
99
- Keep your content unbiased; i.e. don't advertise commercial products or services without reason.
1010

11-
If at any point you get stuck or want to ask questions, feel free to [open an issue on GitHub](https://github.com/unicorn-utterances/unicorn-utterances/issues/new) or [reach out to us on Discord](https://discord.gg/FMcvc6T) for help!
11+
If at any point you get stuck or want to ask questions, feel free to [open an issue on GitHub](https://github.com/playfulprogramming/playfulprogramming/issues/new) or [reach out to us on Discord](https://discord.gg/FMcvc6T) for help!
1212

1313
---
1414

@@ -20,7 +20,7 @@ Contents:
2020

2121
# Creating an author profile
2222

23-
Before creating a post, you'll need to add some information about yourself. To do this, create a new folder in [`content/`](./content/data/unicorns.json) with your username, and add an `index.md` inside it; e.g. `content/eric/index.md`.
23+
Before creating a post, you'll need to add some information about yourself. To do this, create a new folder in [`content/`](./content/) with your username, and add an `index.md` inside it; e.g. `content/eric/index.md`.
2424

2525
Here's an example of what your `index.md` might look like:
2626

@@ -29,12 +29,12 @@ Here's an example of what your `index.md` might look like:
2929
{
3030
// "name" should be your displayed name, however you want it
3131
// to appear on your posts
32-
name: "Eric Utterances",
32+
name: "Eric Programmer",
3333

3434
// "firstName" and "lastName" are unfortunately needed for
3535
// OpenGraph tags - fill these out however you feel is appropriate
3636
firstName: "Eric",
37-
lastName: "Utterances",
37+
lastName: "Programmer",
3838

3939
// "description" is a short bio that will be shown on your profile page
4040
description: "Haskell programmer, fanfiction author, and an omniscient unicorn.",
@@ -43,9 +43,9 @@ Here's an example of what your `index.md` might look like:
4343
// "linkedIn", "twitch", "dribbble", "mastodon", "threads", "youtube",
4444
// and "cohost", as well as a "website" that can be anything you want!
4545
socials: {
46-
mastodon: "https://hachyderm.io/@UnicornUtterances",
47-
github: "unicorn-utterances",
48-
website: "https://unicorn-utterances.com/"
46+
mastodon: "https://hachyderm.io/@playfulprogramming",
47+
github: "playfulprogramming",
48+
website: "https://playfulprogramming.com/"
4949
},
5050

5151
// "pronouns" are optional, but encouraged to include on your profile
@@ -63,13 +63,13 @@ Here's an example of what your `index.md` might look like:
6363
---
6464
```
6565

66-
> Don't want to show your real picture on the site? That's alright! We have a [myriad of custom unicorn emotes that can be used as profile pictures as well](https://github.com/unicorn-utterances/design-assets/tree/main/emotes). They're adorable, go check! 🤩
66+
> Don't want to show your real picture on the site? That's alright! We have a [myriad of custom unicorn emotes that can be used as profile pictures as well](https://github.com/playfulprogramming/design-assets/tree/main/emotes). They're adorable, go check! 🤩
6767
6868
Once your profile is created, you'll be ready to proceed to the next step...
6969

7070
# Writing a new post
7171

72-
All posts on Unicorn Utterances live in a `content/{username}/posts/` folder - we structure this with a subfolder for each post, containing a markdown file named `index.md`. The naming of this post folder will match its URL on the site.
72+
All posts on Playful Programming live in a `content/{username}/posts/` folder - we structure this with a subfolder for each post, containing a markdown file named `index.md`. The naming of this post folder will match its URL on the site.
7373

7474
> **New to Markdown?**
7575
>
@@ -81,7 +81,7 @@ When writing your post, you'll need to include some metadata in the frontmatter
8181
---
8282
{
8383
title: "My First Post",
84-
description: "This is my first post on the Unicorn Utterances site!",
84+
description: "This is my first post on the Playful Programming site!",
8585
published: '2023-04-11',
8686
tags: ["meta"],
8787
license: 'cc-by-4'
@@ -117,7 +117,7 @@ Currently, the following creative commons licenses are supported as "license" va
117117
- [`'cc-by-nc-nd-4'`](https://creativecommons.org/licenses/by-nc-nd/4.0/)
118118
- [`'publicdomain-zero-1'`](https://creativecommons.org/publicdomain/zero/1.0/)
119119

120-
Authors may also choose to omit the "license" property entirely. If you do this, your post will fall under the repository's [MPL 2.0](https://github.com/unicorn-utterances/unicorn-utterances/blob/main/LICENSE.md) license.
120+
Authors may also choose to omit the "license" property entirely. If you do this, your post will fall under the repository's [MPL 2.0](https://github.com/playfulprogramming/playfulprogramming/blob/main/LICENSE.md) license.
121121

122122
## Embedded Links
123123

@@ -167,7 +167,7 @@ Refer to [Wikipedia: List of ISO 639-1 codes](https://en.wikipedia.org/wiki/List
167167

168168
Once all of your changes have been made, [create a Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) to merge your post into the site.
169169

170-
- Open a [new Pull Request](https://github.com/unicorn-utterances/unicorn-utterances/compare) from your fork
170+
- Open a [new Pull Request](https://github.com/playfulprogramming/playfulprogramming/compare) from your fork
171171
- Check that your files are in the Pull Request, and that they're being merged into the `main` branch.
172172
- Create the PR and wait for a maintainer to review it.
173173
- Once merged, your post will be visible on the site!

README.es.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<p align="center">
2-
<img alt="Unicorn Utterances logo" width="256" src="./src/assets/unicorn_utterances_logo_512.png"/>
2+
<img alt="Playful Programming logo" width="256" src="./src/assets/playfulprogramming_logo_512.png"/>
33
</p>
44
<h1 align="center">
5-
Página Web de Unicorn Utterances
5+
Página Web de Playful Programming
66
</h1>
77
<div align="center">
88

99
[![Unirse al chat Discord](https://badgen.net/badge/discord/Unirse%20al%20chat/7289DA?icon=discord)](https://discord.gg/FMcvc6T)
1010
[![Contributor Covenant v1.4 adopted](https://badgen.net/badge/Contributor%20Covenant/v1.4%20adopted/ff69b4)](CODE_OF_CONDUCT.md)
11-
[![Check Status](https://badgen.net/github/checks/unicorn-utterances/unicorn-utterances/?icon=github)](https://github.com/unicorn-utterances/unicorn-utterances/actions)
11+
[![Check Status](https://badgen.net/github/checks/playfulprogramming/playfulprogramming/?icon=github)](https://github.com/playfulprogramming/playfulprogramming/actions)
1212

1313
</div>
1414

15-
Este repository actúa como la ubicación del código fuente para el [blog de Unicorn Utterances](https://unicorn-utterances.com).
15+
Este repository actúa como la ubicación del código fuente para el [blog de Playful Programming](https://playfulprogramming.com).
1616

1717
## Patrocinadores
1818

19-
<a href="https://www.thepolyglotdeveloper.com/" target="_blank" rel="noopener noreferrer sponsored"><img alt="The Polyglot Developer" src="https://unicorn-utterances.com/sponsors/the-polyglot-developer.svg" width="300"/></a>
20-
<a href="https://oceanbit.dev/" target="_blank" rel="noopener noreferrer sponsored"><img alt="OceanBit" src="https://unicorn-utterances.com/sponsors/oceanbit.svg" width="300"/></a>
19+
<a href="https://www.thepolyglotdeveloper.com/" target="_blank" rel="noopener noreferrer sponsored"><img alt="The Polyglot Developer" src="https://playfulprogramming.com/sponsors/the-polyglot-developer.svg" width="300"/></a>
20+
<a href="https://oceanbit.dev/" target="_blank" rel="noopener noreferrer sponsored"><img alt="OceanBit" src="https://playfulprogramming.com/sponsors/oceanbit.svg" width="300"/></a>
2121

22-
[Reconocemos todos los patrocinios que compartimos abiertamente en GitHub](https://github.com/unicorn-utterances/unicorn-utterances/issues?q=is%3Aissue+label%3Adisclosure+is%3Aclosed)
22+
[Reconocemos todos los patrocinios que compartimos abiertamente en GitHub](https://github.com/playfulprogramming/playfulprogramming/issues?q=is%3Aissue+label%3Adisclosure+is%3Aclosed)
2323

2424
## Declaración de Ética
2525

@@ -41,7 +41,7 @@ Esta guía incluye instrucciones sobre cómo agregar una nueva publicación al
4141
sitio, cómo editar nuestro código y cuál es nuestra estrategia de despliegues.
4242

4343
Tén en cuenta que solicitamos a los desarrolladores que se comuniquen [a través de nuestro Discord](https://discord.gg/FMcvc6T)
44-
o [a través de un issue de GitHub](https://github.com/unicorn-utterances/unicorn-utterances/issues/new)
44+
o [a través de un issue de GitHub](https://github.com/playfulprogramming/playfulprogramming/issues/new)
4545
antes de que se lleve a cabo un desarrollo extensivo. Si tienes en mente una
4646
funcionalidad que te gustaría agregar al sitio, ¡háznoslo saber! ¡Nos encantaría hacer una lluvia de ideas antes de que empiece su desarrollo!
4747

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<p align="center">
2-
<img alt="Unicorn Utterances logo" width="256" src="./src/assets/unicorn_utterances_logo_512.png"/>
2+
<img alt="Playful Programming logo" width="256" src="./src/assets/playfulprogramming_logo_512.png"/>
33
</p>
44
<h1 align="center">
5-
Unicorn Utterances Website
5+
Playful Programming Website
66
</h1>
77
<div align="center">
88

99
[![Join chat on Discord](https://badgen.net/badge/discord/join%20chat/7289DA?icon=discord)](https://discord.gg/FMcvc6T)
1010
[![Contributor Covenant v1.4 adopted](https://badgen.net/badge/Contributor%20Covenant/v1.4%20adopted/ff69b4)](CODE_OF_CONDUCT.md)
11-
[![Check Status](https://badgen.net/github/checks/unicorn-utterances/unicorn-utterances/?icon=github)](https://github.com/unicorn-utterances/unicorn-utterances/actions)
11+
[![Check Status](https://badgen.net/github/checks/playfulprogramming/playfulprogramming/?icon=github)](https://github.com/playfulprogramming/playfulprogramming/actions)
1212

1313
</div>
1414

15-
This repository acts as the source code location for [the Unicorn Utterances blog](https://unicorn-utterances.com).
15+
This repository acts as the source code location for [the Playful Programming blog](https://playfulprogramming.com).
1616

1717
## Sponsors
1818

19-
<a href="https://www.thepolyglotdeveloper.com/" target="_blank" rel="noopener noreferrer sponsored"><img alt="The Polyglot Developer" src="https://unicorn-utterances.com/sponsors/the-polyglot-developer.svg" width="300"/></a>
20-
<a href="https://oceanbit.dev/" target="_blank" rel="noopener noreferrer sponsored"><img alt="OceanBit" src="https://unicorn-utterances.com/sponsors/oceanbit.svg" width="300"/></a>
19+
<a href="https://www.thepolyglotdeveloper.com/" target="_blank" rel="noopener noreferrer sponsored"><img alt="The Polyglot Developer" src="https://playfulprogramming.com/sponsors/the-polyglot-developer.svg" width="300"/></a>
20+
<a href="https://oceanbit.dev/" target="_blank" rel="noopener noreferrer sponsored"><img alt="OceanBit" src="https://playfulprogramming.com/sponsors/oceanbit.svg" width="300"/></a>
2121

22-
[We disclose every sponsorship we share openly on GitHub](https://github.com/unicorn-utterances/unicorn-utterances/issues?q=is%3Aissue+label%3Adisclosure+is%3Aclosed)
22+
[We disclose every sponsorship we share openly on GitHub](https://github.com/playfulprogramming/playfulprogramming/issues?q=is%3Aissue+label%3Adisclosure+is%3Aclosed)
2323

2424
## Statement of Ethics
2525

@@ -38,7 +38,7 @@ are going towards and what will be done in exchange.
3838

3939
We highly encourage and celebrate others contributing to our site and our community! We've written [a comprehensive guide on how to do so here](./CONTRIBUTING.md). This guide includes instructions for how to add a new post to the site, how to edit our code, and what our deployment strategy is.
4040

41-
Keep in mind that we request developers reach out [via our Discord](https://discord.gg/FMcvc6T) or [via GitHub issue](https://github.com/unicorn-utterances/unicorn-utterances/issues/new) before extensive development is pursued. If you have a feature you'd like to add to the site, let us know! We'd love to do some brainstorming before coding begins!
41+
Keep in mind that we request developers reach out [via our Discord](https://discord.gg/FMcvc6T) or [via GitHub issue](https://github.com/playfulprogramming/playfulprogramming/issues/new) before extensive development is pursued. If you have a feature you'd like to add to the site, let us know! We'd love to do some brainstorming before coding begins!
4242

4343
We extend this invitation to those who may be unfamiliar with our processes. Be sure to check out [our CONTRIBUTING.md](./CONTRIBUTING.md) file first, but don't be afraid to join in and ask questions if you're uncertain of anything
4444

0 commit comments

Comments
 (0)