Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: version 3.0.0 #127

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

chore: version 3.0.0 #127

wants to merge 28 commits into from

Conversation

omermorad
Copy link
Owner

No description provided.

* chore(sample): replace sample version

* build: strategy change with preconstruct

Add preconstruct and babel to build process

* chore: fix packages build

* ci: change order build and test

* chore: add commit lint to deps

* ci: fix ci

* ci: fix ci

* ci: fix ci
@codecov
Copy link

codecov bot commented Dec 12, 2021

Codecov Report

Attention: Patch coverage is 82.97872% with 16 lines in your changes missing coverage. Please review.

Project coverage is 84.98%. Comparing base (4214283) to head (9370127).

Files Patch % Lines
...r/src/lib/handlers/faker-callback-value-handler.ts 72.00% 2 Missing and 5 partials ⚠️
...ckages/reflect/src/lib/property-decorator-value.ts 89.28% 1 Missing and 2 partials ⚠️
...kages/parser/src/lib/handlers/primitive-handler.ts 0.00% 0 Missing and 2 partials ⚠️
packages/reflect/src/lib/class-reflector.ts 66.66% 0 Missing and 2 partials ⚠️
...src/lib/handlers/array-of-classes-value-handler.ts 83.33% 0 Missing and 1 partial ⚠️
...ages/parser/src/lib/handlers/enum-value-handler.ts 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
- Coverage   93.90%   84.98%   -8.92%     
==========================================
  Files          17       18       +1     
  Lines         279      453     +174     
  Branches       42      120      +78     
==========================================
+ Hits          262      385     +123     
- Misses         12       18       +6     
- Partials        5       50      +45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

BREAKING CHANGE:
Change ObjectLiteral, add enum types and remove MultiClass
Change some names
BREAKING CHANGE:
Remove export of `MockOptions`
`Mock` decorator now takes different options
Classes and enums in `Mock` decorator are now passed with lazy evaluation (through a function)
BREAKING CHANGE:
Handlers are now processing classes and enums differently
Logic changes for processing objects and faker
BREAKING CHANGE:
Change the values `@Mock` decorator can take, classes and enums are now different
Add second arg for `@Mock` to receive options
 - @mockingbird/common@3.0.0-rc.0
 - @mockingbird/logger@1.0.0-rc.0
 - mockingbird@3.0.0-rc.0
 - @mockingbird/parser@4.0.0-rc.0
 - @mockingbird/reflect@4.0.0-rc.0
 - @mockingbird/common@3.0.0-rc.1
 - mockingbird@3.0.0-rc.1
 - @mockingbird/parser@4.0.0-rc.1
 - @mockingbird/reflect@4.0.0-rc.1
* chore: change tsconfig settings and exports

Add isolatedModules option
Change tsc target to es2018
Change exports of mockingbird due to this changes

* chore: change lerna settings

* chore: change ci scripts
BREAKING CHANGE:
Remove the options to set different faker locale
 - @mockingbird/common@3.0.0-rc.2
 - @mockingbird/logger@1.0.0-rc.1
 - mockingbird@3.0.0-rc.2
 - @mockingbird/parser@4.0.0-rc.2
 - @mockingbird/reflect@4.0.0-rc.2
build: change build strategy remove preconstruct
 - @mockingbird/common@3.0.0-rc.3
 - @mockingbird/logger@1.0.0-rc.2
 - mockingbird@3.0.0-rc.3
 - @mockingbird/parser@4.0.0-rc.3
 - @mockingbird/reflect@4.0.0-rc.3
@omermorad omermorad changed the title chore: next version chore: version 3.0.0 Jan 21, 2022
Change dependency `faker` to `@faker-js/faker` package
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant