ng2-rest 16.100.3 → 16.100.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -135
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/client/README.md +24 -24
- package/client/package.json +35 -37
- package/firedev.jsonc +44 -0
- package/package.json +4 -7
- package/tmp-environment.json +39 -41
- package/websql/README.md +24 -24
- package/package.json_devDependencies.json +0 -217
- package/package.json_tnp.json5 +0 -57
package/README.md
CHANGED
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
|
|
2
|
-
## ng2-rest ##
|
|
3
|
-
|
|
4
|
-
Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
|
|
5
|
-
|
|
6
|
-
Features:
|
|
7
|
-
- Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
|
|
8
|
-
- Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
|
|
9
|
-
- Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
|
|
10
|
-
- JSONP api request handling
|
|
11
|
-
- Transfer class instance from server to client and back
|
|
12
|
-
- Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
|
|
13
|
-
|
|
14
|
-
(more documentation soon... )
|
|
15
|
-
|
|
16
|
-
To install this package run:
|
|
17
|
-
|
|
18
|
-
npm install ng2-rest --save
|
|
19
|
-
|
|
20
|
-
Import Resource class:
|
|
21
|
-
```ts
|
|
22
|
-
import { Resource } from 'ng2-rest/browser';
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Resource
|
|
26
|
-
========
|
|
27
|
-
|
|
28
|
-
Fit you existing API (not only REST) into new fluent objects with **Resource**
|
|
29
|
-
class observables. Use power of **async** in new angular templates;
|
|
30
|
-
|
|
31
|
-
**template.html**
|
|
32
|
-
```html
|
|
33
|
-
Users:
|
|
34
|
-
<ul *ngIf="model.allUsers() | async; else loader; let users" >
|
|
35
|
-
|
|
36
|
-
<li *ngFor="let user of users">
|
|
37
|
-
{{user.id}} {{user.fullName()}}
|
|
38
|
-
<br>
|
|
39
|
-
<input type="name" [(NgModel)]="user.name" >
|
|
40
|
-
<button (click)="model.update(user)" > Update </button>
|
|
41
|
-
</li>
|
|
42
|
-
|
|
43
|
-
</ul>
|
|
44
|
-
|
|
45
|
-
<ng-template #loader> loading users... </ng-template>
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
**component.ts**
|
|
49
|
-
```ts
|
|
50
|
-
class User {
|
|
51
|
-
name: string;
|
|
52
|
-
surname: string;
|
|
53
|
-
id: number;
|
|
54
|
-
|
|
55
|
-
fullName() {
|
|
56
|
-
return `Surname: ${this.surname}, Name: ${this.name}`;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Express.js style url endpoint model
|
|
61
|
-
// you can ommit "<User>" part is you don't wanna see response interface
|
|
62
|
-
// also you can ommit third argument ",User" is you don't wanna
|
|
63
|
-
// map response object to User class objects
|
|
64
|
-
const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
|
|
65
|
-
|
|
66
|
-
class UserComponent {
|
|
67
|
-
|
|
68
|
-
// Prepare your beautiful interface
|
|
69
|
-
model = {
|
|
70
|
-
allUsers: () => rest.model()
|
|
71
|
-
.array
|
|
72
|
-
.get()
|
|
73
|
-
.observable // Observable resposne (useful for Angular 2+ html templates)
|
|
74
|
-
.pipe( map({ body } => body.json) ) // get all users, body.json => User[]
|
|
75
|
-
|
|
76
|
-
userBy: (id) => rest.model({id})
|
|
77
|
-
.get() // Promise response by default
|
|
78
|
-
.then({ body } => console.log(body.json)) // get user by id, body.json => User
|
|
79
|
-
|
|
80
|
-
update: async (user:User) =>{
|
|
81
|
-
try {
|
|
82
|
-
await rest.model({id:user.id}).put(user) // Promise response by default
|
|
83
|
-
|
|
84
|
-
alert('Update sucess')
|
|
85
|
-
} catch(e) {
|
|
86
|
-
alert(e)
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
constructor() { }
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Specification
|
|
97
|
-
============
|
|
98
|
-
Example **UrlParams[]** :
|
|
99
|
-
`[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| Name | Parameters | Description |
|
|
103
|
-
| :---: | --- | ---: |
|
|
104
|
-
| **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
|
|
105
|
-
| **get** | `UrlParams[] ` | get model by parameters |
|
|
106
|
-
| **post** | `model, UrlParams[] ` | post object model |
|
|
107
|
-
| **put** | `model, UrlParams[]` | put object model |
|
|
108
|
-
| **head** | `model, UrlParams[]` | get head for model |
|
|
109
|
-
| **delete** | `UrlParams[]` | remove object by params |
|
|
110
|
-
| **jsonp** | `UrlParams[]` | get jsonp data |
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
# Production mode
|
|
115
|
-
===
|
|
116
|
-
Nice things to do in production mode:
|
|
117
|
-
|
|
118
|
-
**1. Disable warnings.**
|
|
119
|
-
|
|
120
|
-
If you don't wanna see warning, disable it like this:
|
|
121
|
-
```ts
|
|
122
|
-
if (environment.production) {
|
|
123
|
-
Resource.enableWarnings = false;
|
|
124
|
-
}
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
# Angular 2+ ngZone
|
|
128
|
-
If you are using Angular 2+ you need to do this in your root **app.component**:
|
|
129
|
-
```ts
|
|
130
|
-
constructor(zone:NgZone) {
|
|
131
|
-
Resource.initAngularNgZone(zone)
|
|
132
|
-
}
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
|
|
1
|
+
|
|
2
|
+
## ng2-rest ##
|
|
3
|
+
|
|
4
|
+
Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
|
|
5
|
+
|
|
6
|
+
Features:
|
|
7
|
+
- Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
|
|
8
|
+
- Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
|
|
9
|
+
- Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
|
|
10
|
+
- JSONP api request handling
|
|
11
|
+
- Transfer class instance from server to client and back
|
|
12
|
+
- Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
|
|
13
|
+
|
|
14
|
+
(more documentation soon... )
|
|
15
|
+
|
|
16
|
+
To install this package run:
|
|
17
|
+
|
|
18
|
+
npm install ng2-rest --save
|
|
19
|
+
|
|
20
|
+
Import Resource class:
|
|
21
|
+
```ts
|
|
22
|
+
import { Resource } from 'ng2-rest/browser';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Resource
|
|
26
|
+
========
|
|
27
|
+
|
|
28
|
+
Fit you existing API (not only REST) into new fluent objects with **Resource**
|
|
29
|
+
class observables. Use power of **async** in new angular templates;
|
|
30
|
+
|
|
31
|
+
**template.html**
|
|
32
|
+
```html
|
|
33
|
+
Users:
|
|
34
|
+
<ul *ngIf="model.allUsers() | async; else loader; let users" >
|
|
35
|
+
|
|
36
|
+
<li *ngFor="let user of users">
|
|
37
|
+
{{user.id}} {{user.fullName()}}
|
|
38
|
+
<br>
|
|
39
|
+
<input type="name" [(NgModel)]="user.name" >
|
|
40
|
+
<button (click)="model.update(user)" > Update </button>
|
|
41
|
+
</li>
|
|
42
|
+
|
|
43
|
+
</ul>
|
|
44
|
+
|
|
45
|
+
<ng-template #loader> loading users... </ng-template>
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
**component.ts**
|
|
49
|
+
```ts
|
|
50
|
+
class User {
|
|
51
|
+
name: string;
|
|
52
|
+
surname: string;
|
|
53
|
+
id: number;
|
|
54
|
+
|
|
55
|
+
fullName() {
|
|
56
|
+
return `Surname: ${this.surname}, Name: ${this.name}`;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Express.js style url endpoint model
|
|
61
|
+
// you can ommit "<User>" part is you don't wanna see response interface
|
|
62
|
+
// also you can ommit third argument ",User" is you don't wanna
|
|
63
|
+
// map response object to User class objects
|
|
64
|
+
const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
|
|
65
|
+
|
|
66
|
+
class UserComponent {
|
|
67
|
+
|
|
68
|
+
// Prepare your beautiful interface
|
|
69
|
+
model = {
|
|
70
|
+
allUsers: () => rest.model()
|
|
71
|
+
.array
|
|
72
|
+
.get()
|
|
73
|
+
.observable // Observable resposne (useful for Angular 2+ html templates)
|
|
74
|
+
.pipe( map({ body } => body.json) ) // get all users, body.json => User[]
|
|
75
|
+
|
|
76
|
+
userBy: (id) => rest.model({id})
|
|
77
|
+
.get() // Promise response by default
|
|
78
|
+
.then({ body } => console.log(body.json)) // get user by id, body.json => User
|
|
79
|
+
|
|
80
|
+
update: async (user:User) =>{
|
|
81
|
+
try {
|
|
82
|
+
await rest.model({id:user.id}).put(user) // Promise response by default
|
|
83
|
+
|
|
84
|
+
alert('Update sucess')
|
|
85
|
+
} catch(e) {
|
|
86
|
+
alert(e)
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor() { }
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Specification
|
|
97
|
+
============
|
|
98
|
+
Example **UrlParams[]** :
|
|
99
|
+
`[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
| Name | Parameters | Description |
|
|
103
|
+
| :---: | --- | ---: |
|
|
104
|
+
| **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
|
|
105
|
+
| **get** | `UrlParams[] ` | get model by parameters |
|
|
106
|
+
| **post** | `model, UrlParams[] ` | post object model |
|
|
107
|
+
| **put** | `model, UrlParams[]` | put object model |
|
|
108
|
+
| **head** | `model, UrlParams[]` | get head for model |
|
|
109
|
+
| **delete** | `UrlParams[]` | remove object by params |
|
|
110
|
+
| **jsonp** | `UrlParams[]` | get jsonp data |
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# Production mode
|
|
115
|
+
===
|
|
116
|
+
Nice things to do in production mode:
|
|
117
|
+
|
|
118
|
+
**1. Disable warnings.**
|
|
119
|
+
|
|
120
|
+
If you don't wanna see warning, disable it like this:
|
|
121
|
+
```ts
|
|
122
|
+
if (environment.production) {
|
|
123
|
+
Resource.enableWarnings = false;
|
|
124
|
+
}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
# Angular 2+ ngZone
|
|
128
|
+
If you are using Angular 2+ you need to do this in your root **app.component**:
|
|
129
|
+
```ts
|
|
130
|
+
constructor(zone:NgZone) {
|
|
131
|
+
Resource.initAngularNgZone(zone)
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder are being shipped with this npm package (ng2-rest@16.100.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (ng2-rest@16.100.4)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/browser/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/client/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/client/package.json
CHANGED
|
@@ -44,9 +44,6 @@
|
|
|
44
44
|
"name": "Dariusz Filipiak"
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
49
|
-
},
|
|
50
47
|
"keywords": [
|
|
51
48
|
"isomorphic",
|
|
52
49
|
"logger",
|
|
@@ -56,7 +53,7 @@
|
|
|
56
53
|
"workerPlugins": {}
|
|
57
54
|
},
|
|
58
55
|
"name": "ng2-rest",
|
|
59
|
-
"version": "16.100.
|
|
56
|
+
"version": "16.100.4",
|
|
60
57
|
"scripts": {
|
|
61
58
|
"build:watch": "npm-run watch \"morphi build\" src"
|
|
62
59
|
},
|
|
@@ -82,14 +79,14 @@
|
|
|
82
79
|
"@types/lodash": "4.14.92",
|
|
83
80
|
"axios": "1.3.5",
|
|
84
81
|
"diff": "3.2.0",
|
|
85
|
-
"json10": "
|
|
82
|
+
"json10": "16.100.4",
|
|
86
83
|
"json5": "2.2.1",
|
|
87
84
|
"lodash": "4.17.20",
|
|
88
|
-
"ng2-logger": "
|
|
85
|
+
"ng2-logger": "16.100.7"
|
|
89
86
|
},
|
|
90
87
|
"license": "MIT",
|
|
91
88
|
"private": false,
|
|
92
|
-
"lastBuildTagHash": "
|
|
89
|
+
"lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
|
|
93
90
|
"devDependencies": {
|
|
94
91
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
95
92
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -151,7 +148,6 @@
|
|
|
151
148
|
"@types/json-stringify-safe": "5.0.0",
|
|
152
149
|
"@types/json5": "0.0.29",
|
|
153
150
|
"@types/lockfile": "1.0.0",
|
|
154
|
-
"@types/lowdb": "1.0.6",
|
|
155
151
|
"@types/mocha": "5.2.5",
|
|
156
152
|
"@types/node": "16.18.21",
|
|
157
153
|
"@types/node-notifier": "5.4.0",
|
|
@@ -170,8 +166,8 @@
|
|
|
170
166
|
"angular-material-css-vars": "5.0.2",
|
|
171
167
|
"angular-resize-event": "3.2.0",
|
|
172
168
|
"animate.css": "4.1.1 ",
|
|
173
|
-
"any-project-cli": "
|
|
174
|
-
"background-worker-process": "
|
|
169
|
+
"any-project-cli": "16.100.7",
|
|
170
|
+
"background-worker-process": "16.100.4",
|
|
175
171
|
"base32": "0.0.7",
|
|
176
172
|
"bcryptjs": "2.4.3",
|
|
177
173
|
"better-sqlite3": "9.5.0",
|
|
@@ -218,19 +214,20 @@
|
|
|
218
214
|
"file-saver": "2.0.5",
|
|
219
215
|
"file-type": "18.5.0",
|
|
220
216
|
"firedev": "^16",
|
|
221
|
-
"firedev-crud": "
|
|
222
|
-
"firedev-crud-deamon": "
|
|
223
|
-
"firedev-ports": "
|
|
224
|
-
"firedev-storage": "
|
|
225
|
-
"firedev-type-sql": "
|
|
226
|
-
"firedev-typeorm": "
|
|
227
|
-
"firedev-ui": "
|
|
217
|
+
"firedev-crud": "16.100.6",
|
|
218
|
+
"firedev-crud-deamon": "16.100.6",
|
|
219
|
+
"firedev-ports": "16.100.6",
|
|
220
|
+
"firedev-storage": "16.100.3",
|
|
221
|
+
"firedev-type-sql": "16.100.3",
|
|
222
|
+
"firedev-typeorm": "16.100.3",
|
|
223
|
+
"firedev-ui": "16.100.5",
|
|
228
224
|
"fkill": "6.1.0",
|
|
229
225
|
"font-awesome": "4.7.0",
|
|
230
226
|
"form-data": "4.0.0",
|
|
231
227
|
"fs-extra": "8.1.0",
|
|
232
228
|
"fuzzy": "0.1.3",
|
|
233
229
|
"glob": "7.1.2",
|
|
230
|
+
"google-libphonenumber": "3.2.25",
|
|
234
231
|
"gulp": "3.9.1",
|
|
235
232
|
"helmet": "7.0.0",
|
|
236
233
|
"hostile": "1.3.3",
|
|
@@ -241,11 +238,11 @@
|
|
|
241
238
|
"image-focus": "1.2.1",
|
|
242
239
|
"immer": "10.0.2",
|
|
243
240
|
"immutable": "4.3.0",
|
|
244
|
-
"incremental-compiler": "
|
|
241
|
+
"incremental-compiler": "16.100.7",
|
|
245
242
|
"inquirer": "7.3.3",
|
|
246
243
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
247
244
|
"is-elevated": "3.0.0",
|
|
248
|
-
"isomorphic-region-loader": "
|
|
245
|
+
"isomorphic-region-loader": "16.100.6",
|
|
249
246
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
250
247
|
"jest": "29.5.0",
|
|
251
248
|
"jest-date-mock": "1.0.8",
|
|
@@ -256,29 +253,29 @@
|
|
|
256
253
|
"joi": "17.9.2",
|
|
257
254
|
"jscodeshift": "0.6.3",
|
|
258
255
|
"json-stringify-safe": "5.0.1",
|
|
259
|
-
"json10-writer": "
|
|
256
|
+
"json10-writer": "16.100.7",
|
|
260
257
|
"json5-writer": "0.2.0",
|
|
261
258
|
"jszip": "3.10.1",
|
|
262
259
|
"karma-cli": "1.0.1",
|
|
263
260
|
"lnk": "1.0.1",
|
|
264
261
|
"localforage": "1.10.0",
|
|
265
262
|
"lockfile": "1.0.4",
|
|
266
|
-
"lodash-walk-object": "
|
|
267
|
-
"lowdb": "
|
|
268
|
-
"magic-renamer": "
|
|
263
|
+
"lodash-walk-object": "16.100.4",
|
|
264
|
+
"lowdb": "7.0.1",
|
|
265
|
+
"magic-renamer": "16.100.6",
|
|
269
266
|
"material-design-icons": "3.0.1",
|
|
270
267
|
"method-override": "2.3.10",
|
|
271
268
|
"minimist": "1.2.0",
|
|
272
269
|
"mkdirp": "0.5.1",
|
|
273
270
|
"mocha": "10.2.0",
|
|
274
271
|
"moment": "2.29.3",
|
|
275
|
-
"morphi": "~16.5.17",
|
|
276
272
|
"ng-for-track-by-property": "16.0.1",
|
|
277
273
|
"ng-in-viewport": "15.0.2",
|
|
278
274
|
"ng-lock": "16.0.1",
|
|
279
275
|
"ng-packagr": "16.0.1",
|
|
280
|
-
"ng-talkback": "
|
|
281
|
-
"ng2-
|
|
276
|
+
"ng-talkback": "16.100.3",
|
|
277
|
+
"ng2-pdfjs-viewer": "16.0.4",
|
|
278
|
+
"ng2-rest": "16.100.3",
|
|
282
279
|
"ngx-ace-wrapper": "14.0.0",
|
|
283
280
|
"ngx-editor": "15.3.0",
|
|
284
281
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -291,7 +288,7 @@
|
|
|
291
288
|
"ngx-scrolltop": "6.0.0",
|
|
292
289
|
"ngx-store": "3.1.1",
|
|
293
290
|
"ngx-typed-js": "2.1.1",
|
|
294
|
-
"node-cli-tester": "
|
|
291
|
+
"node-cli-tester": "16.100.3",
|
|
295
292
|
"node-localstorage": "2.1.6",
|
|
296
293
|
"node-notifier": "6.0.0",
|
|
297
294
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -319,7 +316,7 @@
|
|
|
319
316
|
"q": "1.5.1",
|
|
320
317
|
"rallax.js": "2.0.4",
|
|
321
318
|
"randomcolor": "0.5.3",
|
|
322
|
-
"record-replay-req-res-scenario": "
|
|
319
|
+
"record-replay-req-res-scenario": "16.100.3",
|
|
323
320
|
"reflect-metadata": "0.1.10",
|
|
324
321
|
"rimraf": "2.6.2",
|
|
325
322
|
"rxjs": "~7.8.0",
|
|
@@ -330,7 +327,7 @@
|
|
|
330
327
|
"socket.io": "2.4.1",
|
|
331
328
|
"sort-package-json": "1.11.0",
|
|
332
329
|
"sql.js": "1.8.0",
|
|
333
|
-
"static-columns": "
|
|
330
|
+
"static-columns": "16.100.3",
|
|
334
331
|
"string-similarity": "4.0.2",
|
|
335
332
|
"sudo-block": "3.0.0",
|
|
336
333
|
"supertest": "6.3.3",
|
|
@@ -338,26 +335,27 @@
|
|
|
338
335
|
"systeminformation": "3.45.7",
|
|
339
336
|
"task.js": "0.1.5",
|
|
340
337
|
"threads": "1.7.0",
|
|
341
|
-
"tnp-cli": "
|
|
342
|
-
"tnp-config": "
|
|
343
|
-
"tnp-core": "
|
|
344
|
-
"tnp-db": "
|
|
345
|
-
"tnp-helpers": "
|
|
346
|
-
"tnp-models": "
|
|
338
|
+
"tnp-cli": "16.100.3",
|
|
339
|
+
"tnp-config": "16.100.7",
|
|
340
|
+
"tnp-core": "16.100.17",
|
|
341
|
+
"tnp-db": "16.100.6",
|
|
342
|
+
"tnp-helpers": "16.100.7",
|
|
343
|
+
"tnp-models": "16.100.7",
|
|
347
344
|
"ts-debug": "1.3.0",
|
|
345
|
+
"ts-json-schema-generator": "2.1.1",
|
|
348
346
|
"ts-loader": "2.3.1",
|
|
349
347
|
"ts-node": "10.9.1",
|
|
350
348
|
"tslib": "~2.3.0",
|
|
351
349
|
"tslint": "5.9.1",
|
|
352
350
|
"turndown": "7.1.2",
|
|
353
351
|
"typescript": "~5.0.2",
|
|
354
|
-
"typescript-class-helpers": "~16.100.
|
|
352
|
+
"typescript-class-helpers": "~16.100.7",
|
|
355
353
|
"typescript-formatter": "~7.2.2",
|
|
356
354
|
"underscore": "1.9.1",
|
|
357
355
|
"uuid": "8.3.2",
|
|
358
356
|
"validator": "9.2.0",
|
|
359
357
|
"video.js": "8.3.0",
|
|
360
|
-
"vpn-split": "
|
|
358
|
+
"vpn-split": "16.100.3",
|
|
361
359
|
"watch": "1.0.2",
|
|
362
360
|
"webpack": "~5.80",
|
|
363
361
|
"webpack-dev-middleware": "~6.0.2",
|
package/firedev.jsonc
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resources": ["README.md"],
|
|
3
|
+
"overrided": {
|
|
4
|
+
"dependencies": {},
|
|
5
|
+
"includeAsDev": [],
|
|
6
|
+
"includeOnly": [
|
|
7
|
+
"@types/diff",
|
|
8
|
+
"diff",
|
|
9
|
+
"axios",
|
|
10
|
+
"lodash",
|
|
11
|
+
"@types/lodash",
|
|
12
|
+
"ng2-logger",
|
|
13
|
+
"json5",
|
|
14
|
+
"json10",
|
|
15
|
+
],
|
|
16
|
+
"ignoreDepsPattern": [],
|
|
17
|
+
"linkedFolders": [],
|
|
18
|
+
"npmFixes": [],
|
|
19
|
+
},
|
|
20
|
+
"smartContainerBuildTarget": "",
|
|
21
|
+
"linkedRepos": [],
|
|
22
|
+
"libReleaseOptions": {
|
|
23
|
+
"nodts": false,
|
|
24
|
+
"obscure": false,
|
|
25
|
+
"ugly": false,
|
|
26
|
+
"includeNodeModules": false,
|
|
27
|
+
"cliBuildNoDts": false,
|
|
28
|
+
"cliBuildObscure": false,
|
|
29
|
+
"cliBuildIncludeNodeModules": false,
|
|
30
|
+
"cliBuildUglify": false,
|
|
31
|
+
},
|
|
32
|
+
"smartContainerTarget": "",
|
|
33
|
+
"type": "isomorphic-lib",
|
|
34
|
+
"version": "v4",
|
|
35
|
+
"additionalNpmNames": ["firedev-rest"],
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"private": false,
|
|
38
|
+
"author": {
|
|
39
|
+
"name": "Dariusz Filipiak",
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
42
|
+
"keywords": ["isomorphic", "logger", "log", "typescript"],
|
|
43
|
+
"workerPlugins": {},
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -44,9 +44,6 @@
|
|
|
44
44
|
"name": "Dariusz Filipiak"
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
49
|
-
},
|
|
50
47
|
"keywords": [
|
|
51
48
|
"isomorphic",
|
|
52
49
|
"logger",
|
|
@@ -56,7 +53,7 @@
|
|
|
56
53
|
"workerPlugins": {}
|
|
57
54
|
},
|
|
58
55
|
"name": "ng2-rest",
|
|
59
|
-
"version": "16.100.
|
|
56
|
+
"version": "16.100.4",
|
|
60
57
|
"scripts": {
|
|
61
58
|
"build:watch": "npm-run watch \"morphi build\" src"
|
|
62
59
|
},
|
|
@@ -82,14 +79,14 @@
|
|
|
82
79
|
"@types/lodash": "4.14.92",
|
|
83
80
|
"axios": "1.3.5",
|
|
84
81
|
"diff": "3.2.0",
|
|
85
|
-
"json10": "
|
|
82
|
+
"json10": "16.100.4",
|
|
86
83
|
"json5": "2.2.1",
|
|
87
84
|
"lodash": "4.17.20",
|
|
88
|
-
"ng2-logger": "
|
|
85
|
+
"ng2-logger": "16.100.7"
|
|
89
86
|
},
|
|
90
87
|
"license": "MIT",
|
|
91
88
|
"private": false,
|
|
92
|
-
"lastBuildTagHash": "
|
|
89
|
+
"lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
|
|
93
90
|
"devDependencies": {},
|
|
94
91
|
"main": "dist/app.electron.js"
|
|
95
92
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -48,9 +48,6 @@
|
|
|
48
48
|
"name": "Dariusz Filipiak"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://github.com/darekf77/ng2-rest#readme",
|
|
51
|
-
"scripts": {
|
|
52
|
-
"build:watch": "npm-run watch \"morphi build\" src"
|
|
53
|
-
},
|
|
54
51
|
"keywords": [
|
|
55
52
|
"isomorphic",
|
|
56
53
|
"logger",
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
"workerPlugins": {}
|
|
61
58
|
},
|
|
62
59
|
"name": "ng2-rest",
|
|
63
|
-
"version": "16.100.
|
|
60
|
+
"version": "16.100.4",
|
|
64
61
|
"scripts": {
|
|
65
62
|
"build:watch": "npm-run watch \"morphi build\" src"
|
|
66
63
|
},
|
|
@@ -86,14 +83,14 @@
|
|
|
86
83
|
"@types/lodash": "4.14.92",
|
|
87
84
|
"axios": "1.3.5",
|
|
88
85
|
"diff": "3.2.0",
|
|
89
|
-
"json10": "
|
|
86
|
+
"json10": "16.100.4",
|
|
90
87
|
"json5": "2.2.1",
|
|
91
88
|
"lodash": "4.17.20",
|
|
92
|
-
"ng2-logger": "
|
|
89
|
+
"ng2-logger": "16.100.7"
|
|
93
90
|
},
|
|
94
91
|
"license": "MIT",
|
|
95
92
|
"private": false,
|
|
96
|
-
"lastBuildTagHash": "
|
|
93
|
+
"lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
|
|
97
94
|
"devDependencies": {
|
|
98
95
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
99
96
|
"@angular-devkit/build-angular": "~16.0.5",
|
|
@@ -155,7 +152,6 @@
|
|
|
155
152
|
"@types/json-stringify-safe": "5.0.0",
|
|
156
153
|
"@types/json5": "0.0.29",
|
|
157
154
|
"@types/lockfile": "1.0.0",
|
|
158
|
-
"@types/lowdb": "1.0.6",
|
|
159
155
|
"@types/mocha": "5.2.5",
|
|
160
156
|
"@types/node": "16.18.21",
|
|
161
157
|
"@types/node-notifier": "5.4.0",
|
|
@@ -174,8 +170,8 @@
|
|
|
174
170
|
"angular-material-css-vars": "5.0.2",
|
|
175
171
|
"angular-resize-event": "3.2.0",
|
|
176
172
|
"animate.css": "4.1.1 ",
|
|
177
|
-
"any-project-cli": "
|
|
178
|
-
"background-worker-process": "
|
|
173
|
+
"any-project-cli": "16.100.7",
|
|
174
|
+
"background-worker-process": "16.100.4",
|
|
179
175
|
"base32": "0.0.7",
|
|
180
176
|
"bcryptjs": "2.4.3",
|
|
181
177
|
"better-sqlite3": "9.5.0",
|
|
@@ -222,19 +218,20 @@
|
|
|
222
218
|
"file-saver": "2.0.5",
|
|
223
219
|
"file-type": "18.5.0",
|
|
224
220
|
"firedev": "^16",
|
|
225
|
-
"firedev-crud": "
|
|
226
|
-
"firedev-crud-deamon": "
|
|
227
|
-
"firedev-ports": "
|
|
228
|
-
"firedev-storage": "
|
|
229
|
-
"firedev-type-sql": "
|
|
230
|
-
"firedev-typeorm": "
|
|
231
|
-
"firedev-ui": "
|
|
221
|
+
"firedev-crud": "16.100.6",
|
|
222
|
+
"firedev-crud-deamon": "16.100.6",
|
|
223
|
+
"firedev-ports": "16.100.6",
|
|
224
|
+
"firedev-storage": "16.100.3",
|
|
225
|
+
"firedev-type-sql": "16.100.3",
|
|
226
|
+
"firedev-typeorm": "16.100.3",
|
|
227
|
+
"firedev-ui": "16.100.5",
|
|
232
228
|
"fkill": "6.1.0",
|
|
233
229
|
"font-awesome": "4.7.0",
|
|
234
230
|
"form-data": "4.0.0",
|
|
235
231
|
"fs-extra": "8.1.0",
|
|
236
232
|
"fuzzy": "0.1.3",
|
|
237
233
|
"glob": "7.1.2",
|
|
234
|
+
"google-libphonenumber": "3.2.25",
|
|
238
235
|
"gulp": "3.9.1",
|
|
239
236
|
"helmet": "7.0.0",
|
|
240
237
|
"hostile": "1.3.3",
|
|
@@ -245,11 +242,11 @@
|
|
|
245
242
|
"image-focus": "1.2.1",
|
|
246
243
|
"immer": "10.0.2",
|
|
247
244
|
"immutable": "4.3.0",
|
|
248
|
-
"incremental-compiler": "
|
|
245
|
+
"incremental-compiler": "16.100.7",
|
|
249
246
|
"inquirer": "7.3.3",
|
|
250
247
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
251
248
|
"is-elevated": "3.0.0",
|
|
252
|
-
"isomorphic-region-loader": "
|
|
249
|
+
"isomorphic-region-loader": "16.100.6",
|
|
253
250
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
254
251
|
"jest": "29.5.0",
|
|
255
252
|
"jest-date-mock": "1.0.8",
|
|
@@ -260,29 +257,29 @@
|
|
|
260
257
|
"joi": "17.9.2",
|
|
261
258
|
"jscodeshift": "0.6.3",
|
|
262
259
|
"json-stringify-safe": "5.0.1",
|
|
263
|
-
"json10-writer": "
|
|
260
|
+
"json10-writer": "16.100.7",
|
|
264
261
|
"json5-writer": "0.2.0",
|
|
265
262
|
"jszip": "3.10.1",
|
|
266
263
|
"karma-cli": "1.0.1",
|
|
267
264
|
"lnk": "1.0.1",
|
|
268
265
|
"localforage": "1.10.0",
|
|
269
266
|
"lockfile": "1.0.4",
|
|
270
|
-
"lodash-walk-object": "
|
|
271
|
-
"lowdb": "
|
|
272
|
-
"magic-renamer": "
|
|
267
|
+
"lodash-walk-object": "16.100.4",
|
|
268
|
+
"lowdb": "7.0.1",
|
|
269
|
+
"magic-renamer": "16.100.6",
|
|
273
270
|
"material-design-icons": "3.0.1",
|
|
274
271
|
"method-override": "2.3.10",
|
|
275
272
|
"minimist": "1.2.0",
|
|
276
273
|
"mkdirp": "0.5.1",
|
|
277
274
|
"mocha": "10.2.0",
|
|
278
275
|
"moment": "2.29.3",
|
|
279
|
-
"morphi": "~16.5.17",
|
|
280
276
|
"ng-for-track-by-property": "16.0.1",
|
|
281
277
|
"ng-in-viewport": "15.0.2",
|
|
282
278
|
"ng-lock": "16.0.1",
|
|
283
279
|
"ng-packagr": "16.0.1",
|
|
284
|
-
"ng-talkback": "
|
|
285
|
-
"ng2-
|
|
280
|
+
"ng-talkback": "16.100.3",
|
|
281
|
+
"ng2-pdfjs-viewer": "16.0.4",
|
|
282
|
+
"ng2-rest": "16.100.3",
|
|
286
283
|
"ngx-ace-wrapper": "14.0.0",
|
|
287
284
|
"ngx-editor": "15.3.0",
|
|
288
285
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -295,7 +292,7 @@
|
|
|
295
292
|
"ngx-scrolltop": "6.0.0",
|
|
296
293
|
"ngx-store": "3.1.1",
|
|
297
294
|
"ngx-typed-js": "2.1.1",
|
|
298
|
-
"node-cli-tester": "
|
|
295
|
+
"node-cli-tester": "16.100.3",
|
|
299
296
|
"node-localstorage": "2.1.6",
|
|
300
297
|
"node-notifier": "6.0.0",
|
|
301
298
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -323,7 +320,7 @@
|
|
|
323
320
|
"q": "1.5.1",
|
|
324
321
|
"rallax.js": "2.0.4",
|
|
325
322
|
"randomcolor": "0.5.3",
|
|
326
|
-
"record-replay-req-res-scenario": "
|
|
323
|
+
"record-replay-req-res-scenario": "16.100.3",
|
|
327
324
|
"reflect-metadata": "0.1.10",
|
|
328
325
|
"rimraf": "2.6.2",
|
|
329
326
|
"rxjs": "~7.8.0",
|
|
@@ -334,7 +331,7 @@
|
|
|
334
331
|
"socket.io": "2.4.1",
|
|
335
332
|
"sort-package-json": "1.11.0",
|
|
336
333
|
"sql.js": "1.8.0",
|
|
337
|
-
"static-columns": "
|
|
334
|
+
"static-columns": "16.100.3",
|
|
338
335
|
"string-similarity": "4.0.2",
|
|
339
336
|
"sudo-block": "3.0.0",
|
|
340
337
|
"supertest": "6.3.3",
|
|
@@ -342,26 +339,27 @@
|
|
|
342
339
|
"systeminformation": "3.45.7",
|
|
343
340
|
"task.js": "0.1.5",
|
|
344
341
|
"threads": "1.7.0",
|
|
345
|
-
"tnp-cli": "
|
|
346
|
-
"tnp-config": "
|
|
347
|
-
"tnp-core": "
|
|
348
|
-
"tnp-db": "
|
|
349
|
-
"tnp-helpers": "
|
|
350
|
-
"tnp-models": "
|
|
342
|
+
"tnp-cli": "16.100.3",
|
|
343
|
+
"tnp-config": "16.100.7",
|
|
344
|
+
"tnp-core": "16.100.17",
|
|
345
|
+
"tnp-db": "16.100.6",
|
|
346
|
+
"tnp-helpers": "16.100.7",
|
|
347
|
+
"tnp-models": "16.100.7",
|
|
351
348
|
"ts-debug": "1.3.0",
|
|
349
|
+
"ts-json-schema-generator": "2.1.1",
|
|
352
350
|
"ts-loader": "2.3.1",
|
|
353
351
|
"ts-node": "10.9.1",
|
|
354
352
|
"tslib": "~2.3.0",
|
|
355
353
|
"tslint": "5.9.1",
|
|
356
354
|
"turndown": "7.1.2",
|
|
357
355
|
"typescript": "~5.0.2",
|
|
358
|
-
"typescript-class-helpers": "~16.100.
|
|
356
|
+
"typescript-class-helpers": "~16.100.7",
|
|
359
357
|
"typescript-formatter": "~7.2.2",
|
|
360
358
|
"underscore": "1.9.1",
|
|
361
359
|
"uuid": "8.3.2",
|
|
362
360
|
"validator": "9.2.0",
|
|
363
361
|
"video.js": "8.3.0",
|
|
364
|
-
"vpn-split": "
|
|
362
|
+
"vpn-split": "16.100.3",
|
|
365
363
|
"watch": "1.0.2",
|
|
366
364
|
"webpack": "~5.80",
|
|
367
365
|
"webpack-dev-middleware": "~6.0.2",
|
|
@@ -372,14 +370,14 @@
|
|
|
372
370
|
"main": "dist/app.electron.js"
|
|
373
371
|
},
|
|
374
372
|
"build": {
|
|
375
|
-
"number":
|
|
376
|
-
"date": "2024-05-
|
|
377
|
-
"hash": "
|
|
373
|
+
"number": 911,
|
|
374
|
+
"date": "2024-05-20T11:14:26.000Z",
|
|
375
|
+
"hash": "131b5bbfb422231110b92eae24ec69647d6f1db5"
|
|
378
376
|
},
|
|
379
377
|
"currentProjectName": "ng2-rest",
|
|
380
378
|
"currentProjectGenericName": "ng2-rest",
|
|
381
379
|
"currentProjectType": "isomorphic-lib",
|
|
382
|
-
"currentFrameworkVersion": "16.100.
|
|
380
|
+
"currentFrameworkVersion": "16.100.7",
|
|
383
381
|
"isStandaloneProject": true,
|
|
384
382
|
"isSmartContainer": false,
|
|
385
383
|
"pathesTsconfig": "\"paths\": {\"ng2-rest\":[\"./src/lib\"],\"ng2-rest/*\":[\"./src/lib/*\"]},",
|
package/websql/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@angular-devkit/build-angular": "0.901.3",
|
|
3
|
-
"@angular-devkit/build-optimizer": "0.900.0-rc.7",
|
|
4
|
-
"@angular-devkit/schematics": "9.0.0-rc.7",
|
|
5
|
-
"@angular/animations": "9.1.3",
|
|
6
|
-
"@angular/cdk": "9.2.1",
|
|
7
|
-
"@angular/cli": "9.1.3",
|
|
8
|
-
"@angular/common": "9.1.3",
|
|
9
|
-
"@angular/compiler": "9.1.3",
|
|
10
|
-
"@angular/compiler-cli": "9.1.3",
|
|
11
|
-
"@angular/core": "9.1.3",
|
|
12
|
-
"@angular/forms": "9.1.3",
|
|
13
|
-
"@angular/http": "7.2.15",
|
|
14
|
-
"@angular/language-service": "9.1.3",
|
|
15
|
-
"@angular/material": "9.2.1",
|
|
16
|
-
"@angular/platform-browser": "9.1.3",
|
|
17
|
-
"@angular/platform-browser-dynamic": "9.1.3",
|
|
18
|
-
"@angular/pwa": "0.900.0-rc.7",
|
|
19
|
-
"@angular/router": "9.1.3",
|
|
20
|
-
"@angular/service-worker": "9.1.3",
|
|
21
|
-
"@mdi/js": "5.8.55",
|
|
22
|
-
"@ngx-formly/bootstrap": "5.5.6",
|
|
23
|
-
"@ngx-formly/core": "5.5.6",
|
|
24
|
-
"@ngx-formly/ionic": "5.5.6",
|
|
25
|
-
"@ngx-formly/material": "5.5.6",
|
|
26
|
-
"@ngx-loading-bar/core": "4.2.0",
|
|
27
|
-
"@ngx-loading-bar/http": "4.2.0",
|
|
28
|
-
"@ngx-loading-bar/router": "4.2.0",
|
|
29
|
-
"@ngx-translate/core": "11.0.1",
|
|
30
|
-
"@ngx-translate/http-loader": "4.0.0",
|
|
31
|
-
"@swimlane/ngx-datatable": "16.0.2",
|
|
32
|
-
"@types/chai": "4.1.2",
|
|
33
|
-
"@types/chokidar": "2.1.3",
|
|
34
|
-
"@types/dateformat": "1.0.1",
|
|
35
|
-
"@types/express": "4.11.0",
|
|
36
|
-
"@types/express-fileupload": "0.1.1",
|
|
37
|
-
"@types/fs-extra": "7.0.0",
|
|
38
|
-
"@types/glob": "5.0.35",
|
|
39
|
-
"@types/http-proxy": "1.16.0",
|
|
40
|
-
"@types/http-proxy-middleware": "0.19.2",
|
|
41
|
-
"@types/inquirer": "7.3.1",
|
|
42
|
-
"@types/jasmine": "3.5.0",
|
|
43
|
-
"@types/jasminewd2": "2.0.3",
|
|
44
|
-
"@types/json-stringify-safe": "5.0.0",
|
|
45
|
-
"@types/json5": "0.0.29",
|
|
46
|
-
"@types/lockfile": "1.0.0",
|
|
47
|
-
"@types/lowdb": "1.0.6",
|
|
48
|
-
"@types/mocha": "5.2.5",
|
|
49
|
-
"@types/node": "12.11.1",
|
|
50
|
-
"@types/node-notifier": "5.4.0",
|
|
51
|
-
"@types/oauth2orize": "1.8.0",
|
|
52
|
-
"@types/password-hash": "1.2.19",
|
|
53
|
-
"@types/progress": "2.0.3",
|
|
54
|
-
"@types/q": "1.0.3",
|
|
55
|
-
"@types/rimraf": "2.0.2",
|
|
56
|
-
"@types/systeminformation": "3.23.0",
|
|
57
|
-
"@types/vinyl": "2.0.2",
|
|
58
|
-
"@types/watch": "1.0.0",
|
|
59
|
-
"accepts": "1.3.4",
|
|
60
|
-
"angular-tree-component": "7.0.0",
|
|
61
|
-
"babel-cli": "6.26.0",
|
|
62
|
-
"babel-preset-env": "1.7.0",
|
|
63
|
-
"background-worker-process": "~0.0.34",
|
|
64
|
-
"bcryptjs": "2.4.3",
|
|
65
|
-
"body-parser": "1.18.2",
|
|
66
|
-
"bootstrap": "4.3.1",
|
|
67
|
-
"bs4-breakpoint": "~2.0.40",
|
|
68
|
-
"buffer-shims": "1.0.0",
|
|
69
|
-
"button-dropdown": "~1.0.45",
|
|
70
|
-
"callsite-record": "4.1.3",
|
|
71
|
-
"chai": "4.2.0",
|
|
72
|
-
"chalk": "2.3.2",
|
|
73
|
-
"check-node-version": "3.2.0",
|
|
74
|
-
"cheerio": "1.0.0-rc.3",
|
|
75
|
-
"chokidar": "3.5.1",
|
|
76
|
-
"circular-json": "0.5.1",
|
|
77
|
-
"codelyzer": "5.1.2",
|
|
78
|
-
"command-exists": "1.2.2",
|
|
79
|
-
"compression": "1.7.4",
|
|
80
|
-
"concurrently": "3.5.1",
|
|
81
|
-
"content-type": "1.0.4",
|
|
82
|
-
"cookie-parser": "1.4.3",
|
|
83
|
-
"copy-paste": "1.3.0",
|
|
84
|
-
"core-js-compat": "3.4.0",
|
|
85
|
-
"cors": "2.8.4",
|
|
86
|
-
"cpr": "3.0.1",
|
|
87
|
-
"cross-spawn": "7.0.3",
|
|
88
|
-
"dateformat": "3.0.3",
|
|
89
|
-
"detect-mocha": "0.1.0",
|
|
90
|
-
"element-resize-detector": "1.1.15",
|
|
91
|
-
"enquirer": "2.3.0",
|
|
92
|
-
"enum-values": "1.2.1",
|
|
93
|
-
"errorhandler": "1.5.0",
|
|
94
|
-
"eslint": "7.13.0",
|
|
95
|
-
"eslint-plugin-import": "2.22.1",
|
|
96
|
-
"eslint-plugin-jsdoc": "30.7.8",
|
|
97
|
-
"eslint-plugin-prefer-arrow": "1.2.2",
|
|
98
|
-
"express": "4.16.3",
|
|
99
|
-
"express-fileupload": "0.4.0",
|
|
100
|
-
"fbgraph": "1.4.1",
|
|
101
|
-
"file-loader": "1.1.5",
|
|
102
|
-
"fkill": "6.1.0",
|
|
103
|
-
"font-awesome": "4.7.0",
|
|
104
|
-
"fs-extra": "8.1.0",
|
|
105
|
-
"fuzzy": "0.1.3",
|
|
106
|
-
"glob": "7.1.2",
|
|
107
|
-
"gulp": "3.9.1",
|
|
108
|
-
"hammerjs": "2.0.8",
|
|
109
|
-
"hostile": "1.3.3",
|
|
110
|
-
"html-webpack-plugin": "4.3.0",
|
|
111
|
-
"http-proxy": "1.16.2",
|
|
112
|
-
"http-proxy-middleware": "0.19.1",
|
|
113
|
-
"http-server": "0.11.1",
|
|
114
|
-
"incremental-compiler": "~1.1.53",
|
|
115
|
-
"inquirer": "7.3.3",
|
|
116
|
-
"inquirer-autocomplete-prompt": "1.3.0",
|
|
117
|
-
"is-elevated": "3.0.0",
|
|
118
|
-
"istanbul-instrumenter-loader": "2.0.0",
|
|
119
|
-
"jasmine-core": "3.5.0",
|
|
120
|
-
"jasmine-spec-reporter": "4.2.1",
|
|
121
|
-
"json-stringify-safe": "5.0.1",
|
|
122
|
-
"json5-writer": "0.2.0",
|
|
123
|
-
"karma": "5.0.0",
|
|
124
|
-
"karma-chrome-launcher": "3.1.0",
|
|
125
|
-
"karma-cli": "1.0.1",
|
|
126
|
-
"karma-coverage-istanbul-reporter": "2.1.0",
|
|
127
|
-
"karma-jasmine": "3.0.1",
|
|
128
|
-
"karma-jasmine-html-reporter": "1.4.2",
|
|
129
|
-
"lnk": "1.0.1",
|
|
130
|
-
"lockfile": "1.0.4",
|
|
131
|
-
"lodash-walk-object": "~1.0.35",
|
|
132
|
-
"lowdb": "1.0.0",
|
|
133
|
-
"magic-renamer": "~0.0.19",
|
|
134
|
-
"material-design-icons": "3.0.1",
|
|
135
|
-
"method-override": "2.3.10",
|
|
136
|
-
"minimist": "1.2.0",
|
|
137
|
-
"mkdirp": "0.5.1",
|
|
138
|
-
"mocha": "5.2.0",
|
|
139
|
-
"moment": "2.22.2",
|
|
140
|
-
"morphi": "~4.0.53",
|
|
141
|
-
"ng-modal-lib": "0.0.6",
|
|
142
|
-
"ng-packagr": "5.7.1",
|
|
143
|
-
"ng-talkback": "~2.4.24",
|
|
144
|
-
"ng2-file-upload": "1.3.0",
|
|
145
|
-
"ng2-rest": "~11.0.41",
|
|
146
|
-
"ng4-icons": "~0.0.29",
|
|
147
|
-
"ng4-modal": "~0.0.29",
|
|
148
|
-
"ngx-bootstrap": "5.2.0",
|
|
149
|
-
"ngx-breadcrumbs": "0.0.3",
|
|
150
|
-
"ngx-editor": "4.1.0",
|
|
151
|
-
"ngx-moment": "3.5.0",
|
|
152
|
-
"ngx-pipes": "2.6.0",
|
|
153
|
-
"ngx-store": "2.1.0",
|
|
154
|
-
"ngx-toastr": "11.2.1",
|
|
155
|
-
"ngx-wig": "8.0.0",
|
|
156
|
-
"node-cli-test": "0.0.2",
|
|
157
|
-
"node-cli-tester": "~0.0.21",
|
|
158
|
-
"node-localstorage": "2.1.6",
|
|
159
|
-
"node-notifier": "6.0.0",
|
|
160
|
-
"nodemon": "1.14.11",
|
|
161
|
-
"npm-get-dependents": "1.0.1",
|
|
162
|
-
"npm-run": "4.1.2",
|
|
163
|
-
"omelette": "0.4.5",
|
|
164
|
-
"open": "7.2.1",
|
|
165
|
-
"ora": "3.4.0",
|
|
166
|
-
"passport": "0.3.2",
|
|
167
|
-
"passport-http-bearer": "1.0.1",
|
|
168
|
-
"password-hash": "1.2.2",
|
|
169
|
-
"portfinder": "1.0.21",
|
|
170
|
-
"prettier": "2.3.2",
|
|
171
|
-
"progress": "2.0.3",
|
|
172
|
-
"prompts": "0.1.8",
|
|
173
|
-
"protractor": "5.4.3",
|
|
174
|
-
"ps-list": "6.1.0",
|
|
175
|
-
"ps-node": "0.1.6",
|
|
176
|
-
"q": "1.5.1",
|
|
177
|
-
"randomcolor": "0.5.3",
|
|
178
|
-
"record-replay-req-res-scenario": "~0.0.25",
|
|
179
|
-
"reflect-metadata": "0.1.10",
|
|
180
|
-
"rimraf": "2.6.2",
|
|
181
|
-
"rxjs": "6.5.4",
|
|
182
|
-
"rxjs-compat": "6.5.3",
|
|
183
|
-
"simple-git": "1.96.0",
|
|
184
|
-
"sloc": "0.2.0",
|
|
185
|
-
"socket.io": "2.4.1",
|
|
186
|
-
"sort-package-json": "1.11.0",
|
|
187
|
-
"static-columns": "~2.0.12",
|
|
188
|
-
"string-similarity": "4.0.2",
|
|
189
|
-
"sudo-block": "3.0.0",
|
|
190
|
-
"systeminformation": "3.45.7",
|
|
191
|
-
"task.js": "0.1.5",
|
|
192
|
-
"tnp-cli": "~2.0.20",
|
|
193
|
-
"tnp-config": "~1.0.20",
|
|
194
|
-
"tnp-core": "~1.0.34",
|
|
195
|
-
"tnp-db": "~0.0.42",
|
|
196
|
-
"tnp-helpers": "~0.0.70",
|
|
197
|
-
"tnp-models": "~0.0.36",
|
|
198
|
-
"tnp-tools": "~0.0.45",
|
|
199
|
-
"tnp-ui": "~0.0.32",
|
|
200
|
-
"ts-loader": "7.0.4",
|
|
201
|
-
"ts-node": "8.3.0",
|
|
202
|
-
"tsickle": "0.26.0",
|
|
203
|
-
"tslib": "2.2.0",
|
|
204
|
-
"tslint": "6.1.0",
|
|
205
|
-
"typeorm": "~0.2.7",
|
|
206
|
-
"typescript": "4.1.5",
|
|
207
|
-
"typescript-class-helpers": "~1.0.42",
|
|
208
|
-
"typescript-formatter": "7.2.2",
|
|
209
|
-
"uglifyjs-webpack-plugin": "2.2.0",
|
|
210
|
-
"underscore": "1.9.1",
|
|
211
|
-
"uuid": "8.3.2",
|
|
212
|
-
"validator": "9.2.0",
|
|
213
|
-
"vpn-split": "~0.0.17",
|
|
214
|
-
"watch": "1.0.2",
|
|
215
|
-
"webpack-cli": "3.3.11",
|
|
216
|
-
"zone.js": "0.10.2"
|
|
217
|
-
}
|
package/package.json_tnp.json5
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
resources: ["README.md"],
|
|
3
|
-
|
|
4
|
-
overrided: {
|
|
5
|
-
dependencies: {},
|
|
6
|
-
includeAsDev: [],
|
|
7
|
-
|
|
8
|
-
includeOnly: [
|
|
9
|
-
"@types/diff",
|
|
10
|
-
"diff",
|
|
11
|
-
"axios",
|
|
12
|
-
"lodash",
|
|
13
|
-
"@types/lodash",
|
|
14
|
-
"ng2-logger",
|
|
15
|
-
"json5",
|
|
16
|
-
"json10",
|
|
17
|
-
],
|
|
18
|
-
|
|
19
|
-
ignoreDepsPattern: [],
|
|
20
|
-
linkedFolders: [],
|
|
21
|
-
npmFixes: [],
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
smartContainerBuildTarget: '',
|
|
25
|
-
linkedRepos: [],
|
|
26
|
-
|
|
27
|
-
libReleaseOptions: {
|
|
28
|
-
nodts: false,
|
|
29
|
-
obscure: false,
|
|
30
|
-
ugly: false,
|
|
31
|
-
includeNodeModules: false,
|
|
32
|
-
cliBuildNoDts: false,
|
|
33
|
-
cliBuildObscure: false,
|
|
34
|
-
cliBuildIncludeNodeModules: false,
|
|
35
|
-
cliBuildUglify: false,
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
smartContainerTarget: '',
|
|
39
|
-
type: "isomorphic-lib",
|
|
40
|
-
version: 'v4',
|
|
41
|
-
additionalNpmNames: ["firedev-rest"],
|
|
42
|
-
license: "MIT",
|
|
43
|
-
private: false,
|
|
44
|
-
|
|
45
|
-
author: {
|
|
46
|
-
name: "Dariusz Filipiak",
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
homepage: "https://github.com/darekf77/ng2-rest#readme",
|
|
50
|
-
|
|
51
|
-
scripts: {
|
|
52
|
-
"build:watch": 'npm-run watch "morphi build" src',
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
keywords: ["isomorphic", "logger", "log", "typescript"],
|
|
56
|
-
workerPlugins: {},
|
|
57
|
-
}
|