Skip to content

Commit de56c17

Browse files
authored
Merge pull request #66 from shakilsiraj/release/1.7
Release/1.7
2 parents 60e5607 + ed49360 commit de56c17

File tree

11 files changed

+2956
-6892
lines changed

11 files changed

+2956
-6892
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish library to NPM
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
ci_publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout sources
12+
uses: actions/checkout@v2
13+
- name: Setup node
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 15.x
17+
registry-url: https://registry.npmjs.org/
18+
- name: Install dependencies
19+
run: npm clean-install
20+
- name: Publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
run: npm publish --access public

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: GitHub push workflow
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-node@v2
10+
with:
11+
node-version: 15.x
12+
- name: Install dependencies
13+
run: npm clean-install
14+
- name: Run unit tests
15+
run: npm test

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The idea behind this is that you do not need to add serialization and
99
de-serialization methods to each of your DTO classes - thus keeping them clean
1010
and simple.
1111

12-
[![Build Status](https://travis-ci.org/shakilsiraj/json-object-mapper.svg?branch=master)](https://travis-ci.org/shakilsiraj/json-object-mapper)
12+
![Build Status](https://github.com/shakilsiraj/json-object-mapper/actions/workflows/test.yml/badge.svg?branch=release/1.7)
1313

1414
## Usage
1515

@@ -219,3 +219,9 @@ Also, you will need to use the `DateSerializer` or your own implementation for s
219219
dob: Date = new Date(1483142400000)
220220
```
221221

222+
## Contributors
223+
A special thanks to all who have contributed to this project.
224+
225+
<a href="https://github.com/shakilsiraj/json-object-mapper/graphs/contributors">
226+
<img src="https://contrib.rocks/image?repo=shakilsiraj/json-object-mapper" />
227+
</a>

RELEASES.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1-
### Release : NOT CONFIRMED
2-
Features added: Jest integration
1+
### Release : 1.7
2+
Features added:
3+
* Updated libraries
4+
* Merged [pr/64](https://github.com/shakilsiraj/json-object-mapper/pull/64). Thanks [DSI-HUG](https://github.com/DSI-HUG)
5+
* Merged [pr/64](https://github.com/shakilsiraj/json-object-mapper/pull/65). Thanks [DSI-HUG](https://github.com/DSI-HUG)
6+
* Integrated Github actions.
7+
8+
Fixes:
9+
* Fixed issue with jest setup in general.
10+
11+
Others:
12+
* Updated README.md
13+
14+
### Release : 1.6
15+
Features added:
16+
* Jest integration
17+
* Upgraded libraries
18+
* Upgraded typescript version
19+
320

421
### Release 1.5.1
522
Defect fix:

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
"globals": {
33
"ts-jest": {
44
"diagnostics": true,
5-
"tsConfig": "<rootDir>/tsconfig.spec.json"
5+
"tsconfig": "<rootDir>/tsconfig.spec.json"
66
},
77
},
88
"testPathIgnorePatterns": [

0 commit comments

Comments
 (0)