From 6c58305d7e9ab52ce7ca47700ffc82129ea607a0 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 11 Jan 2025 12:47:00 -0500 Subject: [PATCH] Spelling (#395) * spelling: address Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: amount Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: github.com Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: greater Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: intellisense Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: motorcycle Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: priority Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: random Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: should Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: sometime Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: subscription Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: unnecessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: with Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/src/css/custom.css | 6 +-- migrations.json | 2 +- packages/falso/CHANGELOG.md | 38 +++++++++---------- .../falso/src/lib/motorcycle-manufacturer.ts | 2 +- packages/falso/src/tests/dates.spec.ts | 6 +-- .../src/tests/motorcycle-manufacturer.spec.ts | 7 ++++ .../src/tests/motorcylce-manufacturer.spec.ts | 7 ---- packages/falso/src/tests/status.spec.ts | 2 +- 8 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 packages/falso/src/tests/motorcycle-manufacturer.spec.ts delete mode 100644 packages/falso/src/tests/motorcylce-manufacturer.spec.ts diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index f7bd0ff19..4a3eaba80 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -19,7 +19,7 @@ --json-colon-color: rgb(153, 76, 195); --json-key-color: rgb(64, 63, 83); --json-value-color: rgb(72, 118, 214); - --json-intelicense-color: rgb(12, 150, 155); + --json-intellisense-color: rgb(12, 150, 155); --json-indent-guide-color: rgba(64, 63, 83, 0.25); } @@ -74,7 +74,7 @@ html[data-theme='dark'] { --json-colon-color: rgb(141, 200, 145); --json-key-color: rgb(121, 182, 242); --json-value-color: rgb(255, 255, 255); - --json-intelicense-color: rgb(197, 165, 197); + --json-intellisense-color: rgb(197, 165, 197); --json-indent-guide-color: rgba(255, 255, 255, 0.25); } @@ -94,7 +94,7 @@ html[data-theme='dark'] { .data-type-label, .object-size, .array-key { - color: var(--json-intelicense-color)!important; + color: var(--json-intellisense-color)!important; } .string-value, diff --git a/migrations.json b/migrations.json index a4e0c017a..423edee05 100644 --- a/migrations.json +++ b/migrations.json @@ -66,7 +66,7 @@ { "cli": "nx", "version": "16.9.0-beta.1", - "description": "Replace imports of Module Federation utils frm @nx/devkit to @nx/webpack", + "description": "Replace imports of Module Federation utils @nx/devkit with @nx/webpack", "implementation": "./src/migrations/update-16-9-0/migrate-mf-util-usage", "package": "@nx/devkit", "name": "update-16-9-0-migrate-mf-usage-to-webpack" diff --git a/packages/falso/CHANGELOG.md b/packages/falso/CHANGELOG.md index 75386f8f2..077ea5e16 100644 --- a/packages/falso/CHANGELOG.md +++ b/packages/falso/CHANGELOG.md @@ -2,24 +2,24 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). -# [7.3.0](https://github-personal/ngneat/falso/compare/falso-7.2.0...falso-7.3.0) (2025-01-07) +# [7.3.0](https://github.com/ngneat/falso/compare/falso-7.2.0...falso-7.3.0) (2025-01-07) ### Bug Fixes -- **typing:** randSequence ([#388](https://github-personal/ngneat/falso/issues/388)) ([6f1919f](https://github-personal/ngneat/falso/commit/6f1919f5387eb7248e8ca28908e2a91d5a320de9)) +- **typing:** randSequence ([#388](https://github.com/ngneat/falso/issues/388)) ([6f1919f](https://github.com/ngneat/falso/commit/6f1919f5387eb7248e8ca28908e2a91d5a320de9)) ### Features -- **i18n:** add Hebrew translations for bird names ([#380](https://github-personal/ngneat/falso/issues/380)) ([4aeb71e](https://github-personal/ngneat/falso/commit/4aeb71e7174d8d6db032c22fef411b6c4c8a7845)) -- **img:** allow and returning random image by default ([#385](https://github-personal/ngneat/falso/issues/385)) ([e89b27b](https://github-personal/ngneat/falso/commit/e89b27b7c28044eb7affaf35c5e24e9002036368)) +- **i18n:** add Hebrew translations for bird names ([#380](https://github.com/ngneat/falso/issues/380)) ([4aeb71e](https://github.com/ngneat/falso/commit/4aeb71e7174d8d6db032c22fef411b6c4c8a7845)) +- **img:** allow and returning random image by default ([#385](https://github.com/ngneat/falso/issues/385)) ([e89b27b](https://github.com/ngneat/falso/commit/e89b27b7c28044eb7affaf35c5e24e9002036368)) -# [7.2.0](https://github-personal/ngneat/falso/compare/falso-7.1.1...falso-7.2.0) (2024-02-21) +# [7.2.0](https://github.com/ngneat/falso/compare/falso-7.1.1...falso-7.2.0) (2024-02-21) ### Features -- ๐Ÿ”ฅ add randResolution ([59a3261](https://github-personal/ngneat/falso/commit/59a32618d78f42ca1f1cc37c84d328baa9768265)) -- **i18n-ptBR:** ๐Ÿ”ฅ add support for last name generation with locale ([6e4c23a](https://github-personal/ngneat/falso/commit/6e4c23a8df90d7c59772769782f84234c0c4ad41)) -- **i18n:** ๐Ÿ”ฅ add new language support for pt-BR ([2690931](https://github-personal/ngneat/falso/commit/2690931bf881195aa139ddee46f8feba25d0b557)) +- ๐Ÿ”ฅ add randResolution ([59a3261](https://github.com/ngneat/falso/commit/59a32618d78f42ca1f1cc37c84d328baa9768265)) +- **i18n-ptBR:** ๐Ÿ”ฅ add support for last name generation with locale ([6e4c23a](https://github.com/ngneat/falso/commit/6e4c23a8df90d7c59772769782f84234c0c4ad41)) +- **i18n:** ๐Ÿ”ฅ add new language support for pt-BR ([2690931](https://github.com/ngneat/falso/commit/2690931bf881195aa139ddee46f8feba25d0b557)) ## [7.1.1](https://github.com/ngneat/falso/compare/falso-7.1.0...falso-7.1.1) (2023-09-23) @@ -67,17 +67,17 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s - **i18n-DE:** city ([4f5ae42](https://github.com/ngneat/falso/commit/4f5ae4207e31f3dfd9811459396e9f194b75acc1)) - **i18n-DE:** state and state-abbr ([7c11661](https://github.com/ngneat/falso/commit/7c11661c4b572812ddb57ea5771c8fd91abc210f)) -## [6.3.2](https://github-personal/ngneat/falso/compare/falso-6.3.1...falso-6.3.2) (2022-12-15) +## [6.3.2](https://github.com/ngneat/falso/compare/falso-6.3.1...falso-6.3.2) (2022-12-15) ### Bug Fixes -- ๐Ÿž remove json file deps ([e92745f](https://github-personal/ngneat/falso/commit/e92745f7c9924504cd28c1192325b0c91df462cb)), closes [#334](https://github-personal/ngneat/falso/issues/334) +- ๐Ÿž remove json file deps ([e92745f](https://github.com/ngneat/falso/commit/e92745f7c9924504cd28c1192325b0c91df462cb)), closes [#334](https://github.com/ngneat/falso/issues/334) -## [6.3.1](https://github-personal/ngneat/falso/compare/falso-6.3.0...falso-6.3.1) (2022-12-10) +## [6.3.1](https://github.com/ngneat/falso/compare/falso-6.3.0...falso-6.3.1) (2022-12-10) ### Bug Fixes -- ๐Ÿž export randDatabase() ([b3c517f](https://github-personal/ngneat/falso/commit/b3c517f56829bd046d81f8db9676cbca419fbc82)) +- ๐Ÿž export randDatabase() ([b3c517f](https://github.com/ngneat/falso/commit/b3c517f56829bd046d81f8db9676cbca419fbc82)) # [6.3.0](https://github.com/ngneat/falso/compare/falso-6.2.0...falso-6.3.0) (2022-12-07) @@ -95,7 +95,7 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s ### Bug Fixes -- ๐Ÿž randFloat somtime didn't adhere fraction strictly ([9886a8e](https://github.com/ngneat/falso/commit/9886a8e25ff8ff7b4428b46a65b76400a9ab80bb)) +- ๐Ÿž randFloat sometime didn't adhere fraction strictly ([9886a8e](https://github.com/ngneat/falso/commit/9886a8e25ff8ff7b4428b46a65b76400a9ab80bb)) - ๐Ÿž randUuid returned same id with length parameter ([601b070](https://github.com/ngneat/falso/commit/601b070d9b3842228feeace2ebd9067cc85a34ca)) - **random:** throw error when max is smaller than min ([28284cf](https://github.com/ngneat/falso/commit/28284cf9900a8763823fded765d8c5c50aa17c69)) @@ -148,12 +148,12 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s ### Bug Fixes -- ๐Ÿž ammount shoud return number by default ([eff0fda](https://github.com/ngneat/falso/commit/eff0fda70c66130ecc4c1ce9121a4d265dad7040)) +- ๐Ÿž amount should return number by default ([eff0fda](https://github.com/ngneat/falso/commit/eff0fda70c66130ecc4c1ce9121a4d265dad7040)) - fix max port number ([c96533c](https://github.com/ngneat/falso/commit/c96533c0dc882e790d3b9905eb79e5bc331e3150)) ### BREAKING CHANGES -- ๐Ÿงจ randAmmount will now return numbers by default and strings when passing +- ๐Ÿงจ randAmount will now return numbers by default and strings when passing the symbol option. # [5.7.0](https://github.com/ngneat/falso/compare/falso-5.6.1...falso-5.7.0) (2022-06-07) @@ -280,7 +280,7 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s - ๐Ÿž prevent key overwritten when looping ([a039e10](https://github.com/ngneat/falso/commit/a039e1078aa6cbdd0565d8d4c02df9bd1ab039b7)), closes [#180](https://github.com/ngneat/falso/issues/180) - ๐Ÿž Remove reliance on seed from json based tests ([b03a99e](https://github.com/ngneat/falso/commit/b03a99e7118995c32a249c9094a30309a635cbf6)) -- ๐Ÿž removed unecessary array variable ([f1315c2](https://github.com/ngneat/falso/commit/f1315c2644d4433a33ab6d82e810092f09954e7a)) +- ๐Ÿž removed unnecessary array variable ([f1315c2](https://github.com/ngneat/falso/commit/f1315c2644d4433a33ab6d82e810092f09954e7a)) ### Features @@ -428,7 +428,7 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s - ๐Ÿ”ฅ Add tests and tweak logic ([0026f67](https://github.com/ngneat/falso/commit/0026f679ce6875112c370ec6a3b38d46c1f762ba)), closes [#181](https://github.com/ngneat/falso/issues/181) - ๐Ÿ”ฅ Added song falso ([7f6aa86](https://github.com/ngneat/falso/commit/7f6aa86771412e5ccc9b3ca432af835f16c402e2)), closes [#132](https://github.com/ngneat/falso/issues/132) - ๐Ÿ”ฅ expose entities types ([ea9f80d](https://github.com/ngneat/falso/commit/ea9f80d1b1a45aa4d7df567503d68daeb877aeb3)), closes [#183](https://github.com/ngneat/falso/issues/183) -- ๐Ÿ”ฅ Made county & country optional for address & fullAddres ([2160106](https://github.com/ngneat/falso/commit/2160106364093135e5264bee6d432e2bef789444)) +- ๐Ÿ”ฅ Made county & country optional for address & fullAddress ([2160106](https://github.com/ngneat/falso/commit/2160106364093135e5264bee6d432e2bef789444)) # [2.22.0](https://github.com/ngneat/falso/compare/falso-2.21.0...falso-2.22.0) (2022-02-02) @@ -509,7 +509,7 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s ### Features -- ๐Ÿ”ฅ add randSubsriptionPlan ([2b82748](https://github.com/ngneat/falso/commit/2b82748ecf5476493f752cb8f6769ef0f47317c6)), closes [#111](https://github.com/ngneat/falso/issues/111) +- ๐Ÿ”ฅ add randSubscriptionPlan ([2b82748](https://github.com/ngneat/falso/commit/2b82748ecf5476493f752cb8f6769ef0f47317c6)), closes [#111](https://github.com/ngneat/falso/issues/111) - ๐Ÿ”ฅ generate random slug ([511e682](https://github.com/ngneat/falso/commit/511e682cbad8dc6d39cb97df434496fc2cb7acc1)), closes [#118](https://github.com/ngneat/falso/issues/118) # [2.13.0](https://github.com/ngneat/falso/compare/falso-2.12.0...falso-2.13.0) (2022-01-23) @@ -589,7 +589,7 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s - ๐Ÿ”ฅ add generator for brands ([89a9cbc](https://github.com/ngneat/falso/commit/89a9cbc94975a6b474c4595e429d0d120a1d178f)), closes [#79](https://github.com/ngneat/falso/issues/79) - ๐Ÿ”ฅ add generator for browsers ([cf5eb22](https://github.com/ngneat/falso/commit/cf5eb22f8ba21b4eb1cc53d509ecac6d24ae4d9c)), closes [#77](https://github.com/ngneat/falso/issues/77) -- ๐Ÿ”ฅ add generator for priorty ([5fcb4d1](https://github.com/ngneat/falso/commit/5fcb4d182cdf06157c8516e31e660aee5e1fb9a0)), closes [#78](https://github.com/ngneat/falso/issues/78) +- ๐Ÿ”ฅ add generator for priority ([5fcb4d1](https://github.com/ngneat/falso/commit/5fcb4d182cdf06157c8516e31e660aee5e1fb9a0)), closes [#78](https://github.com/ngneat/falso/issues/78) - ๐Ÿ”ฅ Add more customisation to randEmail function ([8470d71](https://github.com/ngneat/falso/commit/8470d71d00af56075c2668355e8a8bb16d684bda)), closes [#89](https://github.com/ngneat/falso/issues/89) - ๐Ÿ”ฅ Add random email provider function ([79eb552](https://github.com/ngneat/falso/commit/79eb5523871d179621a027e3bf1ad0ff92796797)) - ๐Ÿ”ฅ Add test suite for randEmail ([2eeba1d](https://github.com/ngneat/falso/commit/2eeba1d3bd8a9b0b0c1737b7f8dcb49235046bdc)), closes [#89](https://github.com/ngneat/falso/issues/89) diff --git a/packages/falso/src/lib/motorcycle-manufacturer.ts b/packages/falso/src/lib/motorcycle-manufacturer.ts index 80ad2c773..9f060f325 100644 --- a/packages/falso/src/lib/motorcycle-manufacturer.ts +++ b/packages/falso/src/lib/motorcycle-manufacturer.ts @@ -39,5 +39,5 @@ export function randMotorcycleManufacturer( export function randMotorcylceManufacturer( options?: Options ) { - return fake(data, options); + return randMotorcycleManufacturer(options); } diff --git a/packages/falso/src/tests/dates.spec.ts b/packages/falso/src/tests/dates.spec.ts index f3194e35e..b583709eb 100644 --- a/packages/falso/src/tests/dates.spec.ts +++ b/packages/falso/src/tests/dates.spec.ts @@ -58,7 +58,7 @@ describe('future', () => { }); describe('soon', () => { - it('should be higher than now', () => { + it('should be greater than now', () => { const nowInMilliseconds = new Date().getTime(); const expected = randSoonDate().getTime(); expect(expected).toBeGreaterThanOrEqual(nowInMilliseconds); @@ -114,7 +114,7 @@ describe('recent', () => { expect(expected).toBeLessThanOrEqual(nowInMilliseconds); }); - it('should be higher than 2 days earlier', () => { + it('should be greater than 2 days earlier', () => { const recentInMilliseconds = new Date( Date.now() - 2 * 24 * 60 * 60 * 1000 ).getTime(); @@ -122,7 +122,7 @@ describe('recent', () => { expect(expected).toBeGreaterThanOrEqual(recentInMilliseconds); }); - it('should be higher than 5 days earlier', () => { + it('should be greater than 5 days earlier', () => { const recentInMilliseconds = new Date( Date.now() - 5 * 24 * 60 * 60 * 1000 ).getTime(); diff --git a/packages/falso/src/tests/motorcycle-manufacturer.spec.ts b/packages/falso/src/tests/motorcycle-manufacturer.spec.ts new file mode 100644 index 000000000..37d4553c6 --- /dev/null +++ b/packages/falso/src/tests/motorcycle-manufacturer.spec.ts @@ -0,0 +1,7 @@ +import { randMotorcycleManufacturer } from '../lib/motorcycle-manufacturer'; + +describe('motorcycleManufacturer', () => { + it('should retrieve one motorcycle manufacturer', () => { + expect(typeof randMotorcycleManufacturer()).toBe('string'); + }); +}); diff --git a/packages/falso/src/tests/motorcylce-manufacturer.spec.ts b/packages/falso/src/tests/motorcylce-manufacturer.spec.ts deleted file mode 100644 index 19ff5ab9d..000000000 --- a/packages/falso/src/tests/motorcylce-manufacturer.spec.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { randMotorcylceManufacturer } from '../lib/motorcycle-manufacturer'; - -describe('motorcylceManufacturer', () => { - it('should retrieve one motorcycle manufacturer', () => { - expect(typeof randMotorcylceManufacturer()).toBe('string'); - }); -}); diff --git a/packages/falso/src/tests/status.spec.ts b/packages/falso/src/tests/status.spec.ts index 941a5f0c9..d77d4028b 100644 --- a/packages/falso/src/tests/status.spec.ts +++ b/packages/falso/src/tests/status.spec.ts @@ -5,7 +5,7 @@ describe('status', () => { expect(randStatus).toBeTruthy(); }); - it('should create radom status', () => { + it('should create random status', () => { expect(randStatus()).toBeTruthy(); });