Skip to content

Commit bceb05d

Browse files
author
Emmanuel DE SAINT STEBAN
committed
Update descriptions, and all package metadata. And script for publish.
+ restore @queryParams
1 parent a34f0dd commit bceb05d

File tree

5 files changed

+37
-6
lines changed

5 files changed

+37
-6
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,20 @@ Available annotations:
155155
return res.pipe(map((response) => response.slice(0, number)));
156156
}
157157
```
158+
159+
160+
### Change logs
161+
162+
0.6.x
163+
-> updates to latest versions of Angular
164+
-> Rename librery to ngx-http-annotations
165+
-> add @ResponseObservable to transform response.
166+
167+
0.6.2 et 0.6.3
168+
-> update to build library with angular, to avoid error when build in --prod
169+
170+
171+
### Source and issues
172+
173+
Code are located in github : https://github.com/manudss/ngx-http-annotations
174+

ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-http-annotations",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
55
"src": "src",
66
"dest": "dist/ngx-http-annotations",

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
{
22
"name": "ngx-http-annotations",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
88
"test": "ng test",
99
"lint": "ng lint",
10-
"e2e": "ng e2e"
10+
"e2e": "ng e2e",
11+
"build_lib": "ng build ngx-http-annotations && npm run copy-readme",
12+
"copy-readme": "copy .\\README.md .\\dist\\ngx-http-annotations",
13+
"npm_pack": "cd dist/ngx-http-annotations && npm pack",
14+
"package": "npm run build_lib && npm run npm_pack",
15+
"publish": "cd dist/ngx-http-annotations && npm publish"
1116
},
1217
"private": true,
1318
"dependencies": {
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{
22
"name": "ngx-http-annotations",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
4+
"description": "This is a library to angular 6+ to use http request via decorator/annotations",
45
"peerDependencies": {
5-
"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
6-
"@angular/core": "^6.0.0-rc.0 || ^6.0.0"
6+
"@angular/common": ">=6.0.0",
7+
"@angular/core": ">=6.0.0"
8+
},
9+
"keywords" :["Angular","Library","httpClient","annotation","ng","decorator"],
10+
"author": "Mixalloff, Manudss",
11+
"license" : "MIT",
12+
"repository": {
13+
"type" : "git",
14+
"url" : "https://github.com/manudss/ngx-http-annotations"
715
}
816
}

projects/ngx-http-annotations/src/public_api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export let Body = body(null);
88
export let ResponseObservable = response(null);
99
export let Query = query(null);
1010
export let QueryParam = query;
11+
export let QueryParams = query;
1112
export let Observe = observe;
1213

1314
// Headers

0 commit comments

Comments
 (0)