Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release/2024-05-30 #16

Merged
merged 15 commits into from
May 29, 2024
Merged

Release/2024-05-30 #16

merged 15 commits into from
May 29, 2024

Conversation

trolit
Copy link
Owner

@trolit trolit commented May 29, 2024

No description provided.

trolit added 15 commits May 23, 2024 21:41
* Create .gitignore

* Create package.json

* Create tsconfig.json
* Create index.ts

* init options type

* Create useOwom.ts

* Create OwomMapper.ts

* init Owom logic
* add dist to gitignore

* install jest + ts-jest

* add build script

* Create jest.config.ts

* add jest types

* Create general.test.ts

* change extension of jest config file

* add simple map (no DI) tests

* restructure tests dir

* add faker dev dep

* init nested map tests (without DI)

* move edge cases tests to general.test

* create data file for simple-map tests

* add DI related deps

* enable experimental decorators (for DI)

* add tests related to DI (inversify)

* include edge case tests for DI variant

* remove divider

* remove unused import
* Create Constructor.ts

* Create Map.ts

* Update Map.ts

* use Map types in `IOwom`

* update DiResolver return type

* apply created types + refactor a bit
* Create .prettierrc.json

* Update Owom.ts

* Update Owom.ts

* Update with-di.test.ts

* Update with-di.test.ts

* Update data.ts

* Update with-di.test.ts
* turn jest config into json file

* add deps

* add note regarding new ESLint

* Create eslint.config.mjs
* add prettier as dev dep

* use project packages for linting, formatting

* Update Owom.ts

* Update IOwom.ts

* Update Map.ts

* add prettier check & write scripts

* Update .prettierrc.json

* Update .prettierrc.json
* Update OwomMapper.ts

* edit imports order

* add `prettier-plugin-sort-imports` for test

* apply sort plugin

* add notes
* remove redundant array initialization

* remove TODO marker

* make options arg optional

* refactor map types

* Update Owom.ts

* specify generic types where required
* define edge-case tests once

* define nested map tests once

* define simple map tests once
* add comment

* Update README.md
…ch (#12)

* fix typo in README

* minor changes

* Create map-with-di.test.ts

* Create map-with-object-inheritance.test.ts

* use single test file for edge case map tests

* rename + refactor simple map test file

* refactor nested map

* bring types to the bottom + remove unused file

* Update map-with-di.test.ts
…13)

* allow to access temporary data removal from OwomMapper

* Update Owom.ts

* Update README.md

* add option to run tests upon `useDefineForClassFields` = true case
* Create IConstructorOptions.ts

* register options arg in Map types

* update Constructor to fit data, owom and options

* pass options to mapper when instantiating it

* export constructor options type

* add tests for passing data to mapper

* Update README.md

* Update README.md

* Update README.md

* Update package.json
* Create test.yml

* add typescript dep for test workflow
@trolit trolit merged commit 3d4ae36 into main May 29, 2024
1 check passed
@trolit trolit deleted the release/2024-05-30 branch May 29, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant