Skip to content

Commit

Permalink
Merge branch 'main' into string-templates
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/commerce.ts
#	src/finance.ts
#	src/internet.ts
#	src/lorem.ts
#	src/system.ts
#	src/utils/unique.ts
  • Loading branch information
pkuczynski committed Apr 18, 2022
1 parent b56b786 commit e7055d0
Show file tree
Hide file tree
Showing 42 changed files with 3,697 additions and 656 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
run: pnpm vitest run --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v3.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
1 change: 0 additions & 1 deletion docs/.vitepress/.gitignore

This file was deleted.

30 changes: 30 additions & 0 deletions docs/.vitepress/api-pages.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// This file is automatically generated.
// Run 'pnpm run generate:api-docs' to update
export const apiPages = [
{ text: 'Address', link: '/api/address.html' },
{ text: 'Animal', link: '/api/animal.html' },
{ text: 'Commerce', link: '/api/commerce.html' },
{ text: 'Company', link: '/api/company.html' },
{ text: 'Database', link: '/api/database.html' },
{ text: 'Datatype', link: '/api/datatype.html' },
{ text: 'Date', link: '/api/date.html' },
{ text: 'Fake', link: '/api/fake.html' },
{ text: 'Finance', link: '/api/finance.html' },
{ text: 'Git', link: '/api/git.html' },
{ text: 'Hacker', link: '/api/hacker.html' },
{ text: 'Helpers', link: '/api/helpers.html' },
{ text: 'Image', link: '/api/image.html' },
{ text: 'Internet', link: '/api/internet.html' },
{ text: 'Localization', link: '/api/localization.html' },
{ text: 'Lorem', link: '/api/lorem.html' },
{ text: 'Mersenne', link: '/api/mersenne.html' },
{ text: 'Music', link: '/api/music.html' },
{ text: 'Name', link: '/api/name.html' },
{ text: 'Phone', link: '/api/phone.html' },
{ text: 'Random', link: '/api/random.html' },
{ text: 'System', link: '/api/system.html' },
{ text: 'Time', link: '/api/time.html' },
{ text: 'Unique', link: '/api/unique.html' },
{ text: 'Vehicle', link: '/api/vehicle.html' },
{ text: 'Word', link: '/api/word.html' },
];
5 changes: 5 additions & 0 deletions docs/.vitepress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"target": "ES2020"
}
}
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"build": "run-s build:clean build:code build:types",
"generate:api-docs": "esno ./scripts/apidoc.ts",
"generate:locales": "esno ./scripts/generateLocales.ts",
"copy:mime-types": "esno ./scripts/copyMimeTypes.ts",
"docs:build": "run-s docs:prepare docs:build:run",
"docs:build:run": "vitepress build docs",
"docs:build:ci": "run-s build docs:build",
Expand Down Expand Up @@ -90,24 +91,25 @@
"devDependencies": {
"@types/markdown-it": "~12.2.3",
"@types/node": "~16.11.26",
"@types/prettier": "~2.4.4",
"@types/prettier": "~2.6.0",
"@types/sanitize-html": "~2.6.2",
"@types/validator": "~13.7.2",
"@typescript-eslint/eslint-plugin": "~5.18.0",
"@typescript-eslint/parser": "~5.18.0",
"@vitest/ui": "~0.8.4",
"@vitest/ui": "~0.9.3",
"c8": "~7.11.0",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~9.5.3",
"esbuild": "~0.14.31",
"eslint": "~8.12.0",
"cypress": "~9.5.4",
"esbuild": "~0.14.35",
"eslint": "~8.13.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.3.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~38.1.6",
"eslint-plugin-jsdoc": "~39.1.1",
"eslint-plugin-prettier": "~4.0.0",
"esno": "~0.14.1",
"lint-staged": "~12.3.7",
"mime-db": "~1.52.0",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.6.2",
Expand All @@ -116,15 +118,15 @@
"sanitize-html": "~2.7.0",
"simple-git-hooks": "~2.7.0",
"standard-version": "~9.3.2",
"typedoc": "~0.22.13",
"typedoc": "~0.22.15",
"typedoc-plugin-missing-exports": "~0.22.6",
"typescript": "~4.6.3",
"validator": "~13.7.0",
"vite": "~2.9.1",
"vitepress": "~0.22.3",
"vitest": "~0.8.4"
"vitest": "~0.9.3"
},
"packageManager": "pnpm@6.32.4",
"packageManager": "pnpm@6.32.6",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
Expand Down
Loading

0 comments on commit e7055d0

Please sign in to comment.