Skip to content

Commit

Permalink
Update to faker v8.1 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Sep 19, 2023
1 parent 2072d99 commit 63f6dd9
Show file tree
Hide file tree
Showing 11 changed files with 1,828 additions and 1,629 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [14, 16, 18, 20]
include:
- os: macos-latest
node_version: 16
- os: macos-latest
node_version: 18
- os: macos-latest
node_version: 20
- os: windows-latest
node_version: 16
- os: windows-latest
node_version: 18
- os: windows-latest
node_version: 20
os: [ubuntu-latest, macos-latest, windows-latest]
node_version: [16, 18, 20]
fail-fast: false

name: "node-${{ matrix.node_version }}, ${{ matrix.os }}"
Expand All @@ -40,14 +27,7 @@ jobs:
# Required for docs/versions tests
fetch-depth: 0

- name: Install pnpm (node 14, pnpm 7)
if: matrix.node_version == 14
uses: pnpm/[email protected]
with:
version: 7

- name: Install pnpm
if: matrix.node_version != 14
uses: pnpm/[email protected]

- name: Set node version to ${{ matrix.node_version }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.pnpm-store/
node_modules
*.log
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"compile": "pnpm -r --workspace-concurrency 1 --filter=./playgrounds/* compile"
},
"devDependencies": {
"esno": "~0.16.3",
"typescript": "~5.0.4"
"tsx": "~3.12.10",
"typescript": "~5.2.2"
},
"dependencies": {
"@faker-js/faker": "8.0.0"
"@faker-js/faker": "8.1.0"
},
"packageManager": "pnpm@8.5.0"
"packageManager": "pnpm@8.7.6"
}
2 changes: 1 addition & 1 deletion playgrounds/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"serve": "vite"
},
"devDependencies": {
"vite": "~4.3.5"
"vite": "~4.4.9"
}
}
2 changes: 1 addition & 1 deletion playgrounds/cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"compile": "tsc",
"test:js": "node index.js",
"test:ts": "esno index.ts",
"test:ts": "tsx index.ts",
"test": "pnpm run test:js && pnpm run test:ts"
}
}
2 changes: 1 addition & 1 deletion playgrounds/cjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "Node",
"target": "ES2020",
"target": "ES2022",
"noEmit": true,
"strict": true
},
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"compile": "tsc",
"test:js": "node index.js",
"test:ts": "esno index.ts",
"test:ts": "tsx index.ts",
"test": "pnpm run test:js && pnpm run test:ts"
}
}
4 changes: 2 additions & 2 deletions playgrounds/esm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"module": "ES2020",
"module": "ES2022",
"moduleResolution": "Node",
"target": "ES2020",
"target": "ES2022",
"noEmit": true,
"strict": true
},
Expand Down
10 changes: 5 additions & 5 deletions playgrounds/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@faker-js/faker": "8.0.0",
"@types/node": "20.1.2",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@faker-js/faker": "8.1.0",
"@types/node": "20.6.2",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
"cypress": "12.11.0",
"eslint": "8.40.0",
"eslint": "8.49.0",
"eslint-config-next": "12.3.4",
"typescript": "5.0.4"
}
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/ts-4.7-nodenext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"type": "module",
"scripts": {
"compile": "tsc",
"test": "esno index.ts"
"test": "tsx index.ts"
}
}
Loading

0 comments on commit 63f6dd9

Please sign in to comment.