Skip to content

Commit f3780a8

Browse files
Merge branch 'next' into docs-add-info-for-seeding-dates
2 parents 82c674c + b547045 commit f3780a8

File tree

96 files changed

+4650
-3902
lines changed

Some content is hidden

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

96 files changed

+4650
-3902
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
33
{
44
"name": "FakerJs",
5-
"image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:fb211a0ea31a6177507498c084682aae8c9c31ca27668ea122246aa16a4723a0",
5+
"image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:2baa40a4eef3ac5b42d53acddaca3aac2e47bc30c54788f6fe299dbc5da83262",
66

77
// Features to add to the dev container. More info: https://containers.dev/features.
88
// "features": {},

.github/renovate.json5

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@
5858
{
5959
"groupName": "doc-dependencies",
6060
"matchPackageNames": ["ts-morph", "vitepress"]
61-
},
62-
{
63-
// Disable updates for rimraf until Node 18 support is dropped
64-
"groupName": "disabled",
65-
"matchPackageNames": ["rimraf"],
66-
"enabled": false
6761
}
6862
],
6963
"stopUpdatingLabel": "s: on hold",

.github/workflows/check-release-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717

1818
steps:
1919
- name: Checkout faker
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
with:
2222
path: faker
2323

2424
- name: Checkout playground
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626
with:
2727
repository: faker-js/playground
2828
path: playground
@@ -32,10 +32,10 @@ jobs:
3232
with:
3333
package_json_file: faker/package.json
3434

35-
- name: Set node version to 22
35+
- name: Set node version to 24
3636
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3737
with:
38-
node-version: 22
38+
node-version: 24.6.0
3939
cache: 'pnpm'
4040
cache-dependency-path: |
4141
faker/pnpm-lock.yaml

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
node_version: [18, 20, 22]
19+
node_version: [20, 22, 24]
2020
fail-fast: false
2121
timeout-minutes: 10
2222

2323
name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727
with:
2828
# Required for docs/versions tests
2929
fetch-depth: 0
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
os: [ubuntu-latest]
54-
node_version: [20]
54+
node_version: [24]
5555
fail-fast: false
5656
env:
5757
LANG: zh_SG.UTF-8
@@ -69,7 +69,7 @@ jobs:
6969
run: date
7070

7171
- name: Checkout
72-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7373
with:
7474
# Required for docs/versions tests
7575
fetch-depth: 0
@@ -98,10 +98,10 @@ jobs:
9898
image: cypress/browsers:24.0.0@sha256:fe122441daa9ac524d5ea50da485f240fd2f037b3352fc4dfafe561cfc65cb18
9999
options: --user 1001
100100
timeout-minutes: 10
101-
name: 'E2E Doc Test: node-22, ubuntu-latest'
101+
name: 'E2E Doc Test: node-24, ubuntu-latest'
102102
steps:
103103
- name: Checkout
104-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
105105

106106
- name: Install pnpm
107107
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
@@ -122,20 +122,20 @@ jobs:
122122
lint:
123123
runs-on: ubuntu-latest
124124
timeout-minutes: 10
125-
name: 'Lint: node-22, ubuntu-latest'
125+
name: 'Lint: node-24, ubuntu-latest'
126126
steps:
127127
- name: Checkout
128-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
128+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
129129
with:
130130
fetch-depth: 0
131131

132132
- name: Install pnpm
133133
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
134134

135-
- name: Set node version to 22
135+
- name: Set node version to 24
136136
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
137137
with:
138-
node-version: 22
138+
node-version: 24.6.0
139139
cache: 'pnpm'
140140

141141
- name: Install deps
@@ -150,20 +150,20 @@ jobs:
150150
ts-check:
151151
runs-on: ubuntu-latest
152152
timeout-minutes: 10
153-
name: 'TS-Check: node-22, ubuntu-latest'
153+
name: 'TS-Check: node-24, ubuntu-latest'
154154
steps:
155155
- name: Checkout
156-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
156+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
157157
with:
158158
fetch-depth: 0
159159

160160
- name: Install pnpm
161161
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
162162

163-
- name: Set node version to 22
163+
- name: Set node version to 24
164164
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
165165
with:
166-
node-version: 22
166+
node-version: 24.6.0
167167
cache: 'pnpm'
168168

169169
- name: Install deps
@@ -178,20 +178,20 @@ jobs:
178178
codecov:
179179
runs-on: ubuntu-latest
180180
timeout-minutes: 10
181-
name: 'Codecov: node-22, ubuntu-latest'
181+
name: 'Codecov: node-24, ubuntu-latest'
182182
steps:
183183
- name: Checkout
184-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
184+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
185185
with:
186186
fetch-depth: 0
187187

188188
- name: Install pnpm
189189
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
190190

191-
- name: Set node version to 22
191+
- name: Set node version to 24
192192
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
193193
with:
194-
node-version: 22
194+
node-version: 24.6.0
195195
cache: 'pnpm'
196196

197197
- name: Install deps
@@ -204,7 +204,7 @@ jobs:
204204
run: pnpm vitest run --coverage
205205

206206
- name: Upload coverage to Codecov
207-
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
207+
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
208208
with:
209209
token: ${{ secrets.CODECOV_TOKEN }}
210210
fail_ci_if_error: true

.github/workflows/draft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
with:
2626
fetch-depth: 0 # we need the tags and the commit history for the gh release create command
2727
ref: ${{ github.event.pull_request.base.ref }}

.github/workflows/integration-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
with:
2121
fetch-depth: 0
2222

2323
- name: Install pnpm
2424
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2525

26-
- name: Set node version to 22
26+
- name: Set node version to 24
2727
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2828
with:
29-
node-version: 22
29+
node-version: 24.6.0
3030
cache: 'pnpm'
3131

3232
- name: Install deps

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414

15-
name: 'Check Code Generation: node-22, ubuntu-latest'
15+
name: 'Check Code Generation: node-24, ubuntu-latest'
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Install pnpm
2323
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2424

25-
- name: Set node version to 22
25+
- name: Set node version to 24
2626
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2727
with:
28-
node-version: 22
28+
node-version: 24.6.0
2929
cache: 'pnpm'
3030

3131
- name: Install deps

.github/workflows/prepare-release-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
with:
2929
fetch-depth: 0
3030
token: ${{ secrets.GH_TOKEN }}
3131

3232
- name: Install pnpm
3333
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3434

35-
- name: Set node version to 22
35+
- name: Set node version to 24
3636
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3737
with:
38-
node-version: 22
38+
node-version: 24.6.0
3939
cache: 'pnpm'
4040

4141
- name: Install deps

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
with:
2020
fetch-depth: 0 # we want to push the release branch later
2121
token: ${{ secrets.GH_TOKEN }}
2222

2323
- name: Install pnpm
2424
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2525

26-
- name: Set node version to 22
26+
- name: Set node version to 24
2727
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2828
with:
29-
node-version: 22
29+
node-version: 24.6.0
3030
cache: 'pnpm'
3131

3232
- name: Install deps

.github/workflows/semantic-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: ${{ github.event_name != 'merge_group' }}
2323
steps:
2424
- name: Validate PR title
25-
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
25+
uses: amannn/action-semantic-pull-request@7f33ba792281b034f64e96f4c0b5496782dd3b37 # v6.1.0
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
with:

0 commit comments

Comments
 (0)