ng2-logger 16.100.7 → 16.100.9
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 +192 -192
- 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 +30 -30
- package/firedev.jsonc +47 -47
- package/package.json +3 -3
- package/tmp-environment.json +34 -34
- package/websql/README.md +24 -24
package/README.md
CHANGED
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
## firedev-logger (ng2-logger) ##
|
|
2
|
-
|
|
3
|
-
- Part of [firedev.io](https://github.com/darekf77/firedev)
|
|
4
|
-
- Isomorphic Logger for TypeScript and JavaScript apps.
|
|
5
|
-
- Purpose:
|
|
6
|
-
+ usefull/elegant backend/frontend logger
|
|
7
|
-
|
|
8
|
-
You can use this logger in your apps with **any**
|
|
9
|
-
TS/JS framework.
|
|
10
|
-
|
|
11
|
-
See what is going on in your app!
|
|
12
|
-
|
|
13
|
-
Now chrome console logs are full of colors!
|
|
14
|
-
|
|
15
|
-

|
|
16
|
-
|
|
17
|
-
See nice server logs:
|
|
18
|
-
|
|
19
|
-

|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
To install package run:
|
|
23
|
-
```
|
|
24
|
-
npm install ng2-logger --save
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
First import proper version for your environment:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Nodejs server (or any firedev's lib/app):
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```ts
|
|
36
|
-
|
|
37
|
-
import { Log, Level } from 'ng2-logger'
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
or Browser:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
|
|
47
|
-
import { Log, Level } from 'ng2-logger/browser' // new javascript module: es2015 + esnext + angular ivy support
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Simple use:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
In your file with log:
|
|
58
|
-
|
|
59
|
-
```ts
|
|
60
|
-
|
|
61
|
-
const log = Log.create('books');
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
or if you wanna just log errors and warnings :
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
|
|
69
|
-
const log = Log.create('books', Level.ERROR, Level.WARN);
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
'books' is current class or anything inside *.ts/*.js file.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
You can also assign static color to specific module in application (browser for now only):
|
|
78
|
-
|
|
79
|
-
```ts
|
|
80
|
-
|
|
81
|
-
log.color = 'red';
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
After inited **log** you are able to start debugging:
|
|
86
|
-
|
|
87
|
-
```ts
|
|
88
|
-
|
|
89
|
-
log.d('object',obj) // console.log
|
|
90
|
-
|
|
91
|
-
log.er('object',obj) // console.error
|
|
92
|
-
|
|
93
|
-
log.i('object',obj) // console.info
|
|
94
|
-
|
|
95
|
-
log.w('object',obj) // console.warn
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
or
|
|
100
|
-
|
|
101
|
-
```ts
|
|
102
|
-
|
|
103
|
-
log.debug('object',obj) // console.log
|
|
104
|
-
|
|
105
|
-
log.error('object',obj) // console.error
|
|
106
|
-
|
|
107
|
-
log.info('object',obj) // console.info
|
|
108
|
-
|
|
109
|
-
log.warn('object',obj) // console.warn
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
**Production mode**
|
|
117
|
-
|
|
118
|
-
-------------------
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
You will not see anyting in prduction mode:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
// enable production mode in your app
|
|
127
|
-
|
|
128
|
-
...
|
|
129
|
-
|
|
130
|
-
Log.setProductionMode();
|
|
131
|
-
|
|
132
|
-
...
|
|
133
|
-
|
|
134
|
-
// your app code with console and ng2-logger logs
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
It is important to set production mode before any log messages are executed.
|
|
140
|
-
|
|
141
|
-
This will ensure that log messages that should not be seen are leaked out.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
**Selective debug - global settings**
|
|
147
|
-
|
|
148
|
-
-------------------
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
Optional specify what you wanna see in yours debug console.
|
|
153
|
-
|
|
154
|
-
This settings will override settings from files.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
```ts
|
|
159
|
-
|
|
160
|
-
Log.setProductionMode();
|
|
161
|
-
|
|
162
|
-
Log.onlyModules('src:books', 'src:records', 'src:page:login');
|
|
163
|
-
|
|
164
|
-
Log.onlyLevel(Level.ERROR,Level.INFO);
|
|
165
|
-
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
**Specifying `onlyModules` as regular expression(s)**
|
|
171
|
-
|
|
172
|
-
-------------------
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
In the above example you'll notice `module:books` and `module:records` were specified.
|
|
177
|
-
|
|
178
|
-
you might be using such syntax for namespace hierarchy etc. You may also pass in one or more regular
|
|
179
|
-
|
|
180
|
-
expression string(s) to the `onlyModule` function to specify a selection of modules you wish
|
|
181
|
-
|
|
182
|
-
to show, for instances those whose name begins with `src`:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
```ts
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
Log.onlyModules( new RegEx('^.src') );
|
|
191
|
-
|
|
192
|
-
```
|
|
1
|
+
## firedev-logger (ng2-logger) ##
|
|
2
|
+
|
|
3
|
+
- Part of [firedev.io](https://github.com/darekf77/firedev)
|
|
4
|
+
- Isomorphic Logger for TypeScript and JavaScript apps.
|
|
5
|
+
- Purpose:
|
|
6
|
+
+ usefull/elegant backend/frontend logger
|
|
7
|
+
|
|
8
|
+
You can use this logger in your apps with **any**
|
|
9
|
+
TS/JS framework.
|
|
10
|
+
|
|
11
|
+
See what is going on in your app!
|
|
12
|
+
|
|
13
|
+
Now chrome console logs are full of colors!
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
See nice server logs:
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
To install package run:
|
|
23
|
+
```
|
|
24
|
+
npm install ng2-logger --save
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
First import proper version for your environment:
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Nodejs server (or any firedev's lib/app):
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
|
|
37
|
+
import { Log, Level } from 'ng2-logger'
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
or Browser:
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
|
|
47
|
+
import { Log, Level } from 'ng2-logger/browser' // new javascript module: es2015 + esnext + angular ivy support
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
Simple use:
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
In your file with log:
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
|
|
61
|
+
const log = Log.create('books');
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
or if you wanna just log errors and warnings :
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
|
|
69
|
+
const log = Log.create('books', Level.ERROR, Level.WARN);
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
'books' is current class or anything inside *.ts/*.js file.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
You can also assign static color to specific module in application (browser for now only):
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
|
|
81
|
+
log.color = 'red';
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
After inited **log** you are able to start debugging:
|
|
86
|
+
|
|
87
|
+
```ts
|
|
88
|
+
|
|
89
|
+
log.d('object',obj) // console.log
|
|
90
|
+
|
|
91
|
+
log.er('object',obj) // console.error
|
|
92
|
+
|
|
93
|
+
log.i('object',obj) // console.info
|
|
94
|
+
|
|
95
|
+
log.w('object',obj) // console.warn
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
or
|
|
100
|
+
|
|
101
|
+
```ts
|
|
102
|
+
|
|
103
|
+
log.debug('object',obj) // console.log
|
|
104
|
+
|
|
105
|
+
log.error('object',obj) // console.error
|
|
106
|
+
|
|
107
|
+
log.info('object',obj) // console.info
|
|
108
|
+
|
|
109
|
+
log.warn('object',obj) // console.warn
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
**Production mode**
|
|
117
|
+
|
|
118
|
+
-------------------
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
You will not see anyting in prduction mode:
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
// enable production mode in your app
|
|
127
|
+
|
|
128
|
+
...
|
|
129
|
+
|
|
130
|
+
Log.setProductionMode();
|
|
131
|
+
|
|
132
|
+
...
|
|
133
|
+
|
|
134
|
+
// your app code with console and ng2-logger logs
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
It is important to set production mode before any log messages are executed.
|
|
140
|
+
|
|
141
|
+
This will ensure that log messages that should not be seen are leaked out.
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
**Selective debug - global settings**
|
|
147
|
+
|
|
148
|
+
-------------------
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
Optional specify what you wanna see in yours debug console.
|
|
153
|
+
|
|
154
|
+
This settings will override settings from files.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
```ts
|
|
159
|
+
|
|
160
|
+
Log.setProductionMode();
|
|
161
|
+
|
|
162
|
+
Log.onlyModules('src:books', 'src:records', 'src:page:login');
|
|
163
|
+
|
|
164
|
+
Log.onlyLevel(Level.ERROR,Level.INFO);
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
**Specifying `onlyModules` as regular expression(s)**
|
|
171
|
+
|
|
172
|
+
-------------------
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
In the above example you'll notice `module:books` and `module:records` were specified.
|
|
177
|
+
|
|
178
|
+
you might be using such syntax for namespace hierarchy etc. You may also pass in one or more regular
|
|
179
|
+
|
|
180
|
+
expression string(s) to the `onlyModule` function to specify a selection of modules you wish
|
|
181
|
+
|
|
182
|
+
to show, for instances those whose name begins with `src`:
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
```ts
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
Log.onlyModules( new RegEx('^.src') );
|
|
191
|
+
|
|
192
|
+
```
|
|
@@ -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-logger@16.100.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (ng2-logger@16.100.9)
|
|
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
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"name": "ng2-logger",
|
|
57
|
-
"version": "16.100.
|
|
57
|
+
"version": "16.100.9",
|
|
58
58
|
"description": "isomorphic logger for browser/server in typescript",
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"json-stringify-safe": "5.0.1",
|
|
85
85
|
"json5": "2.2.1",
|
|
86
86
|
"randomcolor": "0.5.3",
|
|
87
|
-
"tnp-config": "16.100.
|
|
87
|
+
"tnp-config": "16.100.9"
|
|
88
88
|
},
|
|
89
89
|
"license": "MIT",
|
|
90
90
|
"private": false,
|
|
91
|
-
"lastBuildTagHash": "
|
|
91
|
+
"lastBuildTagHash": "729cf5748d64ac356aa49bc1b95028423631aab7",
|
|
92
92
|
"peerDependencies": {},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"angular-material-css-vars": "5.0.2",
|
|
172
172
|
"angular-resize-event": "3.2.0",
|
|
173
173
|
"animate.css": "4.1.1 ",
|
|
174
|
-
"any-project-cli": "16.100.
|
|
174
|
+
"any-project-cli": "16.100.8",
|
|
175
175
|
"axios": "1.3.5",
|
|
176
176
|
"background-worker-process": "16.100.4",
|
|
177
177
|
"base32": "0.0.7",
|
|
@@ -220,13 +220,13 @@
|
|
|
220
220
|
"file-saver": "2.0.5",
|
|
221
221
|
"file-type": "18.5.0",
|
|
222
222
|
"firedev": "^16",
|
|
223
|
-
"firedev-crud": "16.100.
|
|
224
|
-
"firedev-crud-deamon": "16.100.
|
|
225
|
-
"firedev-ports": "16.100.
|
|
226
|
-
"firedev-storage": "16.100.
|
|
227
|
-
"firedev-type-sql": "16.100.
|
|
228
|
-
"firedev-typeorm": "16.100.
|
|
229
|
-
"firedev-ui": "16.100.
|
|
223
|
+
"firedev-crud": "16.100.8",
|
|
224
|
+
"firedev-crud-deamon": "16.100.7",
|
|
225
|
+
"firedev-ports": "16.100.8",
|
|
226
|
+
"firedev-storage": "16.100.5",
|
|
227
|
+
"firedev-type-sql": "16.100.5",
|
|
228
|
+
"firedev-typeorm": "16.100.5",
|
|
229
|
+
"firedev-ui": "16.100.8",
|
|
230
230
|
"fkill": "6.1.0",
|
|
231
231
|
"font-awesome": "4.7.0",
|
|
232
232
|
"form-data": "4.0.0",
|
|
@@ -244,11 +244,11 @@
|
|
|
244
244
|
"image-focus": "1.2.1",
|
|
245
245
|
"immer": "10.0.2",
|
|
246
246
|
"immutable": "4.3.0",
|
|
247
|
-
"incremental-compiler": "16.100.
|
|
247
|
+
"incremental-compiler": "16.100.8",
|
|
248
248
|
"inquirer": "7.3.3",
|
|
249
249
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
250
250
|
"is-elevated": "3.0.0",
|
|
251
|
-
"isomorphic-region-loader": "16.100.
|
|
251
|
+
"isomorphic-region-loader": "16.100.7",
|
|
252
252
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
253
253
|
"jest": "29.5.0",
|
|
254
254
|
"jest-date-mock": "1.0.8",
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
"jimp": "0.22.8",
|
|
259
259
|
"joi": "17.9.2",
|
|
260
260
|
"jscodeshift": "0.6.3",
|
|
261
|
-
"json10": "16.100.
|
|
262
|
-
"json10-writer": "16.100.
|
|
261
|
+
"json10": "16.100.5",
|
|
262
|
+
"json10-writer": "16.100.8",
|
|
263
263
|
"json5-writer": "0.2.0",
|
|
264
264
|
"jszip": "3.10.1",
|
|
265
265
|
"karma-cli": "1.0.1",
|
|
@@ -267,9 +267,9 @@
|
|
|
267
267
|
"localforage": "1.10.0",
|
|
268
268
|
"lockfile": "1.0.4",
|
|
269
269
|
"lodash": "4.17.20",
|
|
270
|
-
"lodash-walk-object": "16.100.
|
|
270
|
+
"lodash-walk-object": "16.100.5",
|
|
271
271
|
"lowdb": "7.0.1",
|
|
272
|
-
"magic-renamer": "16.100.
|
|
272
|
+
"magic-renamer": "16.100.7",
|
|
273
273
|
"material-design-icons": "3.0.1",
|
|
274
274
|
"method-override": "2.3.10",
|
|
275
275
|
"minimist": "1.2.0",
|
|
@@ -280,10 +280,10 @@
|
|
|
280
280
|
"ng-in-viewport": "15.0.2",
|
|
281
281
|
"ng-lock": "16.0.1",
|
|
282
282
|
"ng-packagr": "16.0.1",
|
|
283
|
-
"ng-talkback": "16.100.
|
|
284
|
-
"ng2-logger": "16.100.
|
|
283
|
+
"ng-talkback": "16.100.5",
|
|
284
|
+
"ng2-logger": "16.100.8",
|
|
285
285
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
286
|
-
"ng2-rest": "16.100.
|
|
286
|
+
"ng2-rest": "16.100.5",
|
|
287
287
|
"ngx-ace-wrapper": "14.0.0",
|
|
288
288
|
"ngx-editor": "15.3.0",
|
|
289
289
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"ngx-scrolltop": "6.0.0",
|
|
297
297
|
"ngx-store": "3.1.1",
|
|
298
298
|
"ngx-typed-js": "2.1.1",
|
|
299
|
-
"node-cli-tester": "16.100.
|
|
299
|
+
"node-cli-tester": "16.100.5",
|
|
300
300
|
"node-localstorage": "2.1.6",
|
|
301
301
|
"node-notifier": "6.0.0",
|
|
302
302
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"ps-node": "0.1.6",
|
|
324
324
|
"q": "1.5.1",
|
|
325
325
|
"rallax.js": "2.0.4",
|
|
326
|
-
"record-replay-req-res-scenario": "16.100.
|
|
326
|
+
"record-replay-req-res-scenario": "16.100.5",
|
|
327
327
|
"reflect-metadata": "0.1.10",
|
|
328
328
|
"rimraf": "2.6.2",
|
|
329
329
|
"rxjs": "~7.8.0",
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"socket.io": "2.4.1",
|
|
335
335
|
"sort-package-json": "1.11.0",
|
|
336
336
|
"sql.js": "1.8.0",
|
|
337
|
-
"static-columns": "16.100.
|
|
337
|
+
"static-columns": "16.100.5",
|
|
338
338
|
"string-similarity": "4.0.2",
|
|
339
339
|
"sudo-block": "3.0.0",
|
|
340
340
|
"supertest": "6.3.3",
|
|
@@ -342,11 +342,11 @@
|
|
|
342
342
|
"systeminformation": "3.45.7",
|
|
343
343
|
"task.js": "0.1.5",
|
|
344
344
|
"threads": "1.7.0",
|
|
345
|
-
"tnp-cli": "16.100.
|
|
346
|
-
"tnp-core": "16.100.
|
|
347
|
-
"tnp-db": "16.100.
|
|
348
|
-
"tnp-helpers": "16.100.
|
|
349
|
-
"tnp-models": "16.100.
|
|
345
|
+
"tnp-cli": "16.100.5",
|
|
346
|
+
"tnp-core": "16.100.20",
|
|
347
|
+
"tnp-db": "16.100.7",
|
|
348
|
+
"tnp-helpers": "16.100.11",
|
|
349
|
+
"tnp-models": "16.100.8",
|
|
350
350
|
"ts-debug": "1.3.0",
|
|
351
351
|
"ts-json-schema-generator": "2.1.1",
|
|
352
352
|
"ts-loader": "2.3.1",
|
|
@@ -355,13 +355,13 @@
|
|
|
355
355
|
"tslint": "5.9.1",
|
|
356
356
|
"turndown": "7.1.2",
|
|
357
357
|
"typescript": "~5.0.2",
|
|
358
|
-
"typescript-class-helpers": "~16.100.
|
|
358
|
+
"typescript-class-helpers": "~16.100.8",
|
|
359
359
|
"typescript-formatter": "~7.2.2",
|
|
360
360
|
"underscore": "1.9.1",
|
|
361
361
|
"uuid": "8.3.2",
|
|
362
362
|
"validator": "9.2.0",
|
|
363
363
|
"video.js": "8.3.0",
|
|
364
|
-
"vpn-split": "16.100.
|
|
364
|
+
"vpn-split": "16.100.5",
|
|
365
365
|
"watch": "1.0.2",
|
|
366
366
|
"webpack": "~5.80",
|
|
367
367
|
"webpack-dev-middleware": "~6.0.2",
|
package/firedev.jsonc
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resources": ["README.md", "screen.png", "server.png"],
|
|
3
|
-
"overrided": {
|
|
4
|
-
"includeAsDev": [],
|
|
5
|
-
"includeOnly": [
|
|
6
|
-
"chalk",
|
|
7
|
-
"json-stringify-safe",
|
|
8
|
-
"json5",
|
|
9
|
-
"randomcolor",
|
|
10
|
-
"tnp-config",
|
|
11
|
-
],
|
|
12
|
-
"dependencies": {},
|
|
13
|
-
"ignoreDepsPattern": [],
|
|
14
|
-
"linkedFolders": [],
|
|
15
|
-
"npmFixes": [],
|
|
16
|
-
},
|
|
17
|
-
"smartContainerBuildTarget": "",
|
|
18
|
-
"linkedRepos": [],
|
|
19
|
-
"libReleaseOptions": {
|
|
20
|
-
"nodts": false,
|
|
21
|
-
"obscure": false,
|
|
22
|
-
"ugly": false,
|
|
23
|
-
"includeNodeModules": false,
|
|
24
|
-
"cliBuildNoDts": false,
|
|
25
|
-
"cliBuildObscure": false,
|
|
26
|
-
"cliBuildIncludeNodeModules": false,
|
|
27
|
-
"cliBuildUglify": false,
|
|
28
|
-
},
|
|
29
|
-
"smartContainerTarget": "",
|
|
30
|
-
"type": "isomorphic-lib",
|
|
31
|
-
"version": "v4",
|
|
32
|
-
"additionalNpmNames": ["firedev-logger"],
|
|
33
|
-
"description": "isomorphic logger for browser/server in typescript",
|
|
34
|
-
"license": "MIT",
|
|
35
|
-
"private": false,
|
|
36
|
-
"author": {
|
|
37
|
-
"name": "Dariusz Filipiak",
|
|
38
|
-
},
|
|
39
|
-
"homepage": "https://github.com/darekf77/ng2-logger#readme",
|
|
40
|
-
"keywords": [
|
|
41
|
-
"isomorphic",
|
|
42
|
-
"logger",
|
|
43
|
-
"logging",
|
|
44
|
-
"logowanie",
|
|
45
|
-
"log",
|
|
46
|
-
"typescript",
|
|
47
|
-
],
|
|
1
|
+
{
|
|
2
|
+
"resources": ["README.md", "screen.png", "server.png"],
|
|
3
|
+
"overrided": {
|
|
4
|
+
"includeAsDev": [],
|
|
5
|
+
"includeOnly": [
|
|
6
|
+
"chalk",
|
|
7
|
+
"json-stringify-safe",
|
|
8
|
+
"json5",
|
|
9
|
+
"randomcolor",
|
|
10
|
+
"tnp-config",
|
|
11
|
+
],
|
|
12
|
+
"dependencies": {},
|
|
13
|
+
"ignoreDepsPattern": [],
|
|
14
|
+
"linkedFolders": [],
|
|
15
|
+
"npmFixes": [],
|
|
16
|
+
},
|
|
17
|
+
"smartContainerBuildTarget": "",
|
|
18
|
+
"linkedRepos": [],
|
|
19
|
+
"libReleaseOptions": {
|
|
20
|
+
"nodts": false,
|
|
21
|
+
"obscure": false,
|
|
22
|
+
"ugly": false,
|
|
23
|
+
"includeNodeModules": false,
|
|
24
|
+
"cliBuildNoDts": false,
|
|
25
|
+
"cliBuildObscure": false,
|
|
26
|
+
"cliBuildIncludeNodeModules": false,
|
|
27
|
+
"cliBuildUglify": false,
|
|
28
|
+
},
|
|
29
|
+
"smartContainerTarget": "",
|
|
30
|
+
"type": "isomorphic-lib",
|
|
31
|
+
"version": "v4",
|
|
32
|
+
"additionalNpmNames": ["firedev-logger"],
|
|
33
|
+
"description": "isomorphic logger for browser/server in typescript",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"private": false,
|
|
36
|
+
"author": {
|
|
37
|
+
"name": "Dariusz Filipiak",
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/darekf77/ng2-logger#readme",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"isomorphic",
|
|
42
|
+
"logger",
|
|
43
|
+
"logging",
|
|
44
|
+
"logowanie",
|
|
45
|
+
"log",
|
|
46
|
+
"typescript",
|
|
47
|
+
],
|
|
48
48
|
}
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"name": "ng2-logger",
|
|
57
|
-
"version": "16.100.
|
|
57
|
+
"version": "16.100.9",
|
|
58
58
|
"description": "isomorphic logger for browser/server in typescript",
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"json-stringify-safe": "5.0.1",
|
|
85
85
|
"json5": "2.2.1",
|
|
86
86
|
"randomcolor": "0.5.3",
|
|
87
|
-
"tnp-config": "16.100.
|
|
87
|
+
"tnp-config": "16.100.9"
|
|
88
88
|
},
|
|
89
89
|
"license": "MIT",
|
|
90
90
|
"private": false,
|
|
91
|
-
"lastBuildTagHash": "
|
|
91
|
+
"lastBuildTagHash": "729cf5748d64ac356aa49bc1b95028423631aab7",
|
|
92
92
|
"peerDependencies": {},
|
|
93
93
|
"devDependencies": {},
|
|
94
94
|
"main": "dist/app.electron.js"
|
package/tmp-environment.json
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"name": "ng2-logger",
|
|
61
|
-
"version": "16.100.
|
|
61
|
+
"version": "16.100.9",
|
|
62
62
|
"description": "isomorphic logger for browser/server in typescript",
|
|
63
63
|
"repository": {
|
|
64
64
|
"type": "git",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"json-stringify-safe": "5.0.1",
|
|
89
89
|
"json5": "2.2.1",
|
|
90
90
|
"randomcolor": "0.5.3",
|
|
91
|
-
"tnp-config": "16.100.
|
|
91
|
+
"tnp-config": "16.100.9"
|
|
92
92
|
},
|
|
93
93
|
"license": "MIT",
|
|
94
94
|
"private": false,
|
|
95
|
-
"lastBuildTagHash": "
|
|
95
|
+
"lastBuildTagHash": "729cf5748d64ac356aa49bc1b95028423631aab7",
|
|
96
96
|
"peerDependencies": {},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@angular-builders/custom-webpack": "~16.0.2-beta.2",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"angular-material-css-vars": "5.0.2",
|
|
176
176
|
"angular-resize-event": "3.2.0",
|
|
177
177
|
"animate.css": "4.1.1 ",
|
|
178
|
-
"any-project-cli": "16.100.
|
|
178
|
+
"any-project-cli": "16.100.8",
|
|
179
179
|
"axios": "1.3.5",
|
|
180
180
|
"background-worker-process": "16.100.4",
|
|
181
181
|
"base32": "0.0.7",
|
|
@@ -224,13 +224,13 @@
|
|
|
224
224
|
"file-saver": "2.0.5",
|
|
225
225
|
"file-type": "18.5.0",
|
|
226
226
|
"firedev": "^16",
|
|
227
|
-
"firedev-crud": "16.100.
|
|
228
|
-
"firedev-crud-deamon": "16.100.
|
|
229
|
-
"firedev-ports": "16.100.
|
|
230
|
-
"firedev-storage": "16.100.
|
|
231
|
-
"firedev-type-sql": "16.100.
|
|
232
|
-
"firedev-typeorm": "16.100.
|
|
233
|
-
"firedev-ui": "16.100.
|
|
227
|
+
"firedev-crud": "16.100.8",
|
|
228
|
+
"firedev-crud-deamon": "16.100.7",
|
|
229
|
+
"firedev-ports": "16.100.8",
|
|
230
|
+
"firedev-storage": "16.100.5",
|
|
231
|
+
"firedev-type-sql": "16.100.5",
|
|
232
|
+
"firedev-typeorm": "16.100.5",
|
|
233
|
+
"firedev-ui": "16.100.8",
|
|
234
234
|
"fkill": "6.1.0",
|
|
235
235
|
"font-awesome": "4.7.0",
|
|
236
236
|
"form-data": "4.0.0",
|
|
@@ -248,11 +248,11 @@
|
|
|
248
248
|
"image-focus": "1.2.1",
|
|
249
249
|
"immer": "10.0.2",
|
|
250
250
|
"immutable": "4.3.0",
|
|
251
|
-
"incremental-compiler": "16.100.
|
|
251
|
+
"incremental-compiler": "16.100.8",
|
|
252
252
|
"inquirer": "7.3.3",
|
|
253
253
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
254
254
|
"is-elevated": "3.0.0",
|
|
255
|
-
"isomorphic-region-loader": "16.100.
|
|
255
|
+
"isomorphic-region-loader": "16.100.7",
|
|
256
256
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
257
257
|
"jest": "29.5.0",
|
|
258
258
|
"jest-date-mock": "1.0.8",
|
|
@@ -262,8 +262,8 @@
|
|
|
262
262
|
"jimp": "0.22.8",
|
|
263
263
|
"joi": "17.9.2",
|
|
264
264
|
"jscodeshift": "0.6.3",
|
|
265
|
-
"json10": "16.100.
|
|
266
|
-
"json10-writer": "16.100.
|
|
265
|
+
"json10": "16.100.5",
|
|
266
|
+
"json10-writer": "16.100.8",
|
|
267
267
|
"json5-writer": "0.2.0",
|
|
268
268
|
"jszip": "3.10.1",
|
|
269
269
|
"karma-cli": "1.0.1",
|
|
@@ -271,9 +271,9 @@
|
|
|
271
271
|
"localforage": "1.10.0",
|
|
272
272
|
"lockfile": "1.0.4",
|
|
273
273
|
"lodash": "4.17.20",
|
|
274
|
-
"lodash-walk-object": "16.100.
|
|
274
|
+
"lodash-walk-object": "16.100.5",
|
|
275
275
|
"lowdb": "7.0.1",
|
|
276
|
-
"magic-renamer": "16.100.
|
|
276
|
+
"magic-renamer": "16.100.7",
|
|
277
277
|
"material-design-icons": "3.0.1",
|
|
278
278
|
"method-override": "2.3.10",
|
|
279
279
|
"minimist": "1.2.0",
|
|
@@ -284,10 +284,10 @@
|
|
|
284
284
|
"ng-in-viewport": "15.0.2",
|
|
285
285
|
"ng-lock": "16.0.1",
|
|
286
286
|
"ng-packagr": "16.0.1",
|
|
287
|
-
"ng-talkback": "16.100.
|
|
288
|
-
"ng2-logger": "16.100.
|
|
287
|
+
"ng-talkback": "16.100.5",
|
|
288
|
+
"ng2-logger": "16.100.8",
|
|
289
289
|
"ng2-pdfjs-viewer": "16.0.4",
|
|
290
|
-
"ng2-rest": "16.100.
|
|
290
|
+
"ng2-rest": "16.100.5",
|
|
291
291
|
"ngx-ace-wrapper": "14.0.0",
|
|
292
292
|
"ngx-editor": "15.3.0",
|
|
293
293
|
"ngx-highlightjs": "9.0.0",
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"ngx-scrolltop": "6.0.0",
|
|
301
301
|
"ngx-store": "3.1.1",
|
|
302
302
|
"ngx-typed-js": "2.1.1",
|
|
303
|
-
"node-cli-tester": "16.100.
|
|
303
|
+
"node-cli-tester": "16.100.5",
|
|
304
304
|
"node-localstorage": "2.1.6",
|
|
305
305
|
"node-notifier": "6.0.0",
|
|
306
306
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"ps-node": "0.1.6",
|
|
328
328
|
"q": "1.5.1",
|
|
329
329
|
"rallax.js": "2.0.4",
|
|
330
|
-
"record-replay-req-res-scenario": "16.100.
|
|
330
|
+
"record-replay-req-res-scenario": "16.100.5",
|
|
331
331
|
"reflect-metadata": "0.1.10",
|
|
332
332
|
"rimraf": "2.6.2",
|
|
333
333
|
"rxjs": "~7.8.0",
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
"socket.io": "2.4.1",
|
|
339
339
|
"sort-package-json": "1.11.0",
|
|
340
340
|
"sql.js": "1.8.0",
|
|
341
|
-
"static-columns": "16.100.
|
|
341
|
+
"static-columns": "16.100.5",
|
|
342
342
|
"string-similarity": "4.0.2",
|
|
343
343
|
"sudo-block": "3.0.0",
|
|
344
344
|
"supertest": "6.3.3",
|
|
@@ -346,11 +346,11 @@
|
|
|
346
346
|
"systeminformation": "3.45.7",
|
|
347
347
|
"task.js": "0.1.5",
|
|
348
348
|
"threads": "1.7.0",
|
|
349
|
-
"tnp-cli": "16.100.
|
|
350
|
-
"tnp-core": "16.100.
|
|
351
|
-
"tnp-db": "16.100.
|
|
352
|
-
"tnp-helpers": "16.100.
|
|
353
|
-
"tnp-models": "16.100.
|
|
349
|
+
"tnp-cli": "16.100.5",
|
|
350
|
+
"tnp-core": "16.100.20",
|
|
351
|
+
"tnp-db": "16.100.7",
|
|
352
|
+
"tnp-helpers": "16.100.11",
|
|
353
|
+
"tnp-models": "16.100.8",
|
|
354
354
|
"ts-debug": "1.3.0",
|
|
355
355
|
"ts-json-schema-generator": "2.1.1",
|
|
356
356
|
"ts-loader": "2.3.1",
|
|
@@ -359,13 +359,13 @@
|
|
|
359
359
|
"tslint": "5.9.1",
|
|
360
360
|
"turndown": "7.1.2",
|
|
361
361
|
"typescript": "~5.0.2",
|
|
362
|
-
"typescript-class-helpers": "~16.100.
|
|
362
|
+
"typescript-class-helpers": "~16.100.8",
|
|
363
363
|
"typescript-formatter": "~7.2.2",
|
|
364
364
|
"underscore": "1.9.1",
|
|
365
365
|
"uuid": "8.3.2",
|
|
366
366
|
"validator": "9.2.0",
|
|
367
367
|
"video.js": "8.3.0",
|
|
368
|
-
"vpn-split": "16.100.
|
|
368
|
+
"vpn-split": "16.100.5",
|
|
369
369
|
"watch": "1.0.2",
|
|
370
370
|
"webpack": "~5.80",
|
|
371
371
|
"webpack-dev-middleware": "~6.0.2",
|
|
@@ -376,14 +376,14 @@
|
|
|
376
376
|
"main": "dist/app.electron.js"
|
|
377
377
|
},
|
|
378
378
|
"build": {
|
|
379
|
-
"number":
|
|
380
|
-
"date": "2024-05-
|
|
381
|
-
"hash": "
|
|
379
|
+
"number": 635,
|
|
380
|
+
"date": "2024-05-22T04:24:06.000Z",
|
|
381
|
+
"hash": "a8f4e2e654f85554ff2f61ac607663e426c92b3b"
|
|
382
382
|
},
|
|
383
383
|
"currentProjectName": "ng2-logger",
|
|
384
384
|
"currentProjectGenericName": "ng2-logger",
|
|
385
385
|
"currentProjectType": "isomorphic-lib",
|
|
386
|
-
"currentFrameworkVersion": "16.100.
|
|
386
|
+
"currentFrameworkVersion": "16.100.10",
|
|
387
387
|
"isStandaloneProject": true,
|
|
388
388
|
"isSmartContainer": false,
|
|
389
389
|
"pathesTsconfig": "\"paths\": {\"ng2-logger\":[\"./src/lib\"],\"ng2-logger/*\":[\"./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.
|