Skip to content

Commit

Permalink
Merge branch 'next' into refactor/location/zipCode
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Sep 14, 2024
2 parents d818c05 + 79d8f2b commit 1a60137
Show file tree
Hide file tree
Showing 11 changed files with 781 additions and 626 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
CYPRESS_INSTALL_BINARY: 0

- name: Build types
run: pnpm run build:types
run: pnpm run build

- name: Check scripts
run: pnpm run ts-check
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## [9.0.1](https://github.com/faker-js/faker/compare/v9.0.0...v9.0.1) (2024-09-14)


### Bug Fixes

* emit cts types ([#3093](https://github.com/faker-js/faker/issues/3093)) ([53ef42c](https://github.com/faker-js/faker/commit/53ef42cc192996a0e09bba9d5f5f8a70a7932275))

## [9.0.0](https://github.com/faker-js/faker/compare/v9.0.0-rc.1...v9.0.0) (2024-09-02)


Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ This is a shorthand for running the following scripts in order:
- `pnpm run lint` - runs [ESLint](https://github.com/eslint/eslint) to enforce project code standards
- `pnpm run build:clean` - removes artifacts from previous builds
- `pnpm run build:code` - builds the code, both CommonJS and ESM versions
- `pnpm run build:types` - builds the TypeScript type definitions
- `pnpm run test:update-snapshots` - runs all tests, and updates any snapshots if needed
- `pnpm run ts-check` - checks that there are no TypeScript errors in any files

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const randomEmail = faker.internet.email(); // [email protected]
```

::: info Note
It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/[email protected].0"`.
It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/[email protected].1"`.
:::

### Alternative CDN links
Expand Down
66 changes: 38 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "@faker-js/faker",
"version": "9.0.0",
"version": "9.0.1",
"description": "Generate massive amounts of fake contextual data",
"scripts": {
"clean": "rimraf coverage .eslintcache dist docs/.vitepress/cache docs/.vitepress/dist node_modules",
"build:clean": "rimraf dist",
"build:code": "tsup-node",
"build:types": "tsc --project tsconfig.build.json",
"build": "run-s build:clean build:code build:types",
"build": "run-s build:clean build:code",
"generate": "run-s generate:locales generate:api-docs",
"generate:api-docs": "tsx ./scripts/apidocs.ts",
"generate:locales": "tsx ./scripts/generate-locales.ts",
Expand Down Expand Up @@ -65,26 +64,37 @@
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./locale/*": {
"types": "./dist/types/locale/*.d.ts",
"import": "./dist/locale/*.js",
"require": "./dist/locale/*.cjs",
"default": "./dist/locale/*.js"
"require": {
"types": "./dist/locale/*.d.cts",
"default": "./dist/locale/*.cjs"
},
"default": {
"types": "./dist/locale/*.d.ts",
"default": "./dist/locale/*.js"
}
},
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "index.d.ts",
"types": "dist/index.d.ts",
"typesVersions": {
">=5.0": {
"*": [
"dist/types/*"
".": [
"./dist/index.d.ts"
],
"locale/*": [
"./dist/locale/*.d.ts"
]
}
},
Expand All @@ -94,32 +104,32 @@
],
"devDependencies": {
"@actions/github": "6.0.0",
"@algolia/client-search": "5.2.3",
"@algolia/client-search": "5.4.1",
"@eslint-types/deprecation": "2.0.0-1",
"@eslint-types/jsdoc": "48.2.2",
"@eslint-types/prettier": "5.1.3",
"@eslint-types/typescript-eslint": "7.5.0",
"@eslint-types/unicorn": "52.0.0",
"@eslint/compat": "1.1.1",
"@eslint/js": "9.9.1",
"@stylistic/eslint-plugin": "2.7.2",
"@types/node": "20.16.2",
"@eslint/js": "9.10.0",
"@stylistic/eslint-plugin": "2.8.0",
"@types/node": "20.16.5",
"@types/sanitize-html": "2.13.0",
"@types/semver": "7.5.8",
"@types/validator": "13.12.1",
"@vitest/coverage-v8": "2.0.5",
"@vitest/ui": "2.0.5",
"@vueuse/core": "10.11.1",
"commit-and-tag-version": "12.4.2",
"cypress": "13.14.1",
"eslint": "9.9.1",
"commit-and-tag-version": "12.4.3",
"cypress": "13.14.2",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
"eslint-plugin-jsdoc": "50.2.2",
"eslint-plugin-jsdoc": "50.2.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-unicorn": "55.0.0",
"eslint-plugin-vitest": "0.5.4",
"npm-run-all2": "6.2.2",
"npm-run-all2": "6.2.3",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.0.0",
"prettier-plugin-packagejson": "2.5.2",
Expand All @@ -128,15 +138,15 @@
"semver": "7.6.3",
"ts-morph": "23.0.0",
"tsup": "8.2.4",
"tsx": "4.19.0",
"tsx": "4.19.1",
"typescript": "5.5.4",
"typescript-eslint": "8.3.0",
"typescript-eslint": "8.5.0",
"validator": "13.12.0",
"vite": "5.4.2",
"vite": "5.4.5",
"vitepress": "1.3.4",
"vitest": "2.0.5",
"vue": "3.4.38",
"vue-tsc": "2.1.2"
"vue": "3.5.5",
"vue-tsc": "2.1.6"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading

0 comments on commit 1a60137

Please sign in to comment.