Skip to content

Commit

Permalink
Merge branch 'next' into locale/hu/cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Apr 23, 2024
2 parents 946ddab + e17f6c7 commit c6fbda0
Show file tree
Hide file tree
Showing 60 changed files with 882 additions and 711 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ module.exports = defineConfig({
'unicorn/better-regex': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/import-style': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-object-as-default-parameter': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-export-from': 'off',
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
# Required for docs/versions tests
fetch-depth: 0
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: date

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
# Required for docs/versions tests
fetch-depth: 0
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
name: 'E2E Doc Test: node-20, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3

- name: Install pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
Expand All @@ -125,7 +125,7 @@ jobs:
name: 'Lint: node-20, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
name: 'TS-Check: node-20, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0

Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
name: 'Codecov: node-20, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-manager-strict=false
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import { faker } from '@faker-js/faker';
// CJS
const { faker } = require('@faker-js/faker');

export function createRandomUser(): User {
export function createRandomUser() {
return {
userId: faker.string.uuid(),
username: faker.internet.userName(),
Expand All @@ -74,7 +74,7 @@ export function createRandomUser(): User {
};
}

export const USERS: User[] = faker.helpers.multiple(createRandomUser, {
export const users = faker.helpers.multiple(createRandomUser, {
count: 5,
});
```
Expand Down
7 changes: 7 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ const config: UserConfig<DefaultTheme.Config> = {
{ icon: 'mastodon', link: 'https://fosstodon.org/@faker_js' },
{ icon: 'x', link: 'https://twitter.com/faker_js' },
{ icon: 'github', link: 'https://github.com/faker-js/faker' },
{
icon: {
svg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Open Collective</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c2.54 0 4.894-.79 6.834-2.135l-3.107-3.109a7.715 7.715 0 1 1 0-13.512l3.107-3.109A11.943 11.943 0 0 0 12 0zm9.865 5.166l-3.109 3.107A7.67 7.67 0 0 1 19.715 12a7.682 7.682 0 0 1-.959 3.727l3.109 3.107A11.943 11.943 0 0 0 24 12c0-2.54-.79-4.894-2.135-6.834z"/></svg>',
},
link: 'https://opencollective.com/fakerjs',
ariaLabel: 'Open Collective',
},
],

algolia:
Expand Down
30 changes: 30 additions & 0 deletions docs/.vitepress/theme/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,33 @@ table td ul li {
.dark .VPHero .action:not(:last-child) a.VPButton.alt {
color: var(--vp-button-brand-text) !important;
}

.opencollective {
margin-top: 48px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

.opencollective a {
margin-top: 24px;
border-radius: 20px;
padding: 0 20px;
line-height: 38px;
font-size: 14px;
display: inline-block;
border: 1px solid transparent;
text-align: center;
font-weight: 600;
white-space: nowrap;
text-decoration: none;

color: var(--vp-button-alt-text);
border-color: var(--vp-button-brand-bg) !important;
transition:
color 0.25s,
border-color 0.25s,
background-color 0.25s;
}
78 changes: 39 additions & 39 deletions docs/about/team/members.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,6 @@
],
"sponsor": "https://github.com/sponsors/Shinigami92"
},
{
"avatar": "https://github.com/damienwebdev.png",
"name": "Damien Retzinger",
"title": "Advisor",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/damienwebdev" },
{ "icon": "twitter", "link": "https://twitter.com/damienwebdev" }
],
"sponsor": "https://github.com/sponsors/damienwebdev"
},
{
"avatar": "https://github.com/prisis.png",
"name": "Daniel Bannert",
"title": "Organization Owner",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/prisis" },
{ "icon": "twitter", "link": "https://twitter.com/_prisis_" }
],
"sponsor": "https://github.com/sponsors/prisis"
},
{
"avatar": "https://github.com/ST-DDT.png",
"name": "Daniel Theuke",
Expand All @@ -49,19 +23,6 @@
"links": [{ "icon": "github", "link": "https://github.com/ST-DDT" }],
"sponsor": "https://github.com/sponsors/ST-DDT"
},
{
"avatar": "https://github.com/JessicaSachs.png",
"name": "Jessica Sachs",
"title": "Press Officer",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/JessicaSachs" },
{ "icon": "twitter", "link": "https://twitter.com/_JessicaSachs" }
],
"sponsor": "https://github.com/sponsors/JessicaSachs"
},
{
"avatar": "https://github.com/xDivisionByZerox.png",
"name": "Leyla Jähnig",
Expand Down Expand Up @@ -111,6 +72,45 @@
{ "icon": "twitter", "link": "https://twitter.com/PiotrKuczynski" }
],
"sponsor": "https://github.com/sponsors/pkuczynski"
},
{
"avatar": "https://github.com/damienwebdev.png",
"name": "Damien Retzinger",
"title": "Advisor",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/damienwebdev" },
{ "icon": "twitter", "link": "https://twitter.com/damienwebdev" }
],
"sponsor": "https://github.com/sponsors/damienwebdev"
},
{
"avatar": "https://github.com/prisis.png",
"name": "Daniel Bannert",
"title": "Organization Owner",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/prisis" },
{ "icon": "twitter", "link": "https://twitter.com/_prisis_" }
],
"sponsor": "https://github.com/sponsors/prisis"
},
{
"avatar": "https://github.com/JessicaSachs.png",
"name": "Jessica Sachs",
"title": "Press Officer",
"org": "",
"orgLink": "",
"desc": "",
"links": [
{ "icon": "github", "link": "https://github.com/JessicaSachs" },
{ "icon": "twitter", "link": "https://twitter.com/_JessicaSachs" }
],
"sponsor": "https://github.com/sponsors/JessicaSachs"
}
],
"emeriti": [
Expand Down
Loading

0 comments on commit c6fbda0

Please sign in to comment.