tnp-core 18.0.33 → 18.0.34
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 +20 -20
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/cli.backend.js +2 -2
- package/client/README.md +24 -24
- package/lib/node-chalk-mock.js +2 -2
- package/lib/node-path-mock.js +2 -2
- package/package.json +2 -2
- package/taon.jsonc +65 -65
- package/tmp-environment.json +29 -30
- package/websql/README.md +24 -24
package/README.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
# taon-core ( tnp-core )
|
2
|
-
|
3
|
-
- Part of [taon.dev](https://github.com/darekf77/taon)
|
4
|
-
- JavasScript/Typescript most essential helpers
|
5
|
-
- Basic taon releated helpers
|
6
|
-
- Purpose:
|
7
|
-
+ lightweight most essential helpers library
|
8
|
-
+ crossplatform helpers for NodeJs/Browser
|
9
|
-
|
10
|
-
|
11
|
-
## Usage
|
12
|
-
- in taon isomorphic libs/apps or any NodeJS apps/libs:
|
13
|
-
```ts
|
14
|
-
import { Helpers } from 'tnp-core';
|
15
|
-
```
|
16
|
-
|
17
|
-
- in any frontend browser apps (except taon lib/apps)
|
18
|
-
```ts
|
19
|
-
import { Helpers } from 'tnp-core/browser';
|
20
|
-
```
|
1
|
+
# taon-core ( tnp-core )
|
2
|
+
|
3
|
+
- Part of [taon.dev](https://github.com/darekf77/taon)
|
4
|
+
- JavasScript/Typescript most essential helpers
|
5
|
+
- Basic taon releated helpers
|
6
|
+
- Purpose:
|
7
|
+
+ lightweight most essential helpers library
|
8
|
+
+ crossplatform helpers for NodeJs/Browser
|
9
|
+
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
- in taon isomorphic libs/apps or any NodeJS apps/libs:
|
13
|
+
```ts
|
14
|
+
import { Helpers } from 'tnp-core';
|
15
|
+
```
|
16
|
+
|
17
|
+
- in any frontend browser apps (except taon lib/apps)
|
18
|
+
```ts
|
19
|
+
import { Helpers } from 'tnp-core/browser';
|
20
|
+
```
|
@@ -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 (tnp-core@18.0.
|
3
|
+
Assets from this folder are being shipped with this npm package (tnp-core@18.0.34)
|
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/cli.backend.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
function
|
3
|
+
exports.dummy1724915890476 = dummy1724915890476;
|
4
|
+
function dummy1724915890476() { }
|
5
5
|
//# sourceMappingURL=cli.backend.js.map
|
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/lib/node-chalk-mock.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
function
|
3
|
+
exports.dummy1724915890569 = dummy1724915890569;
|
4
|
+
function dummy1724915890569() { }
|
5
5
|
//# sourceMappingURL=node-chalk-mock.js.map
|
package/lib/node-path-mock.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
function
|
3
|
+
exports.dummy1724915890579 = dummy1724915890579;
|
4
|
+
function dummy1724915890579() { }
|
5
5
|
//# sourceMappingURL=node-path-mock.js.map
|
package/package.json
CHANGED
@@ -91,7 +91,7 @@
|
|
91
91
|
"license": "MIT",
|
92
92
|
"private": false,
|
93
93
|
"name": "tnp-core",
|
94
|
-
"version": "18.0.
|
95
|
-
"lastBuildTagHash": "
|
94
|
+
"version": "18.0.34",
|
95
|
+
"lastBuildTagHash": "c5ab05d3c2fb42b4cc49be04ec3fab46ffb87a7c",
|
96
96
|
"main": "dist/app.electron.js"
|
97
97
|
}
|
package/taon.jsonc
CHANGED
@@ -1,65 +1,65 @@
|
|
1
|
-
{
|
2
|
-
"resources": [
|
3
|
-
"README.md"
|
4
|
-
],
|
5
|
-
"overrided": {
|
6
|
-
"ignoreDepsPattern": [],
|
7
|
-
"includeAsDev": [],
|
8
|
-
"includeOnly": [
|
9
|
-
"axios",
|
10
|
-
"glob",
|
11
|
-
"moment",
|
12
|
-
"fkill",
|
13
|
-
"copy-paste",
|
14
|
-
"chokidar",
|
15
|
-
"fs-extra",
|
16
|
-
"rimraf",
|
17
|
-
"mkdirp",
|
18
|
-
"lodash",
|
19
|
-
"@types/lodash",
|
20
|
-
"ps-list",
|
21
|
-
"ps-node",
|
22
|
-
"q",
|
23
|
-
"@types/q",
|
24
|
-
"json5",
|
25
|
-
"is-elevated",
|
26
|
-
"portfinder",
|
27
|
-
"cross-spawn",
|
28
|
-
"chalk",
|
29
|
-
"copy-paste",
|
30
|
-
"is-root",
|
31
|
-
"is-admin",
|
32
|
-
"dateformat"
|
33
|
-
],
|
34
|
-
"dependencies": {},
|
35
|
-
"linkedFolders": [],
|
36
|
-
"npmFixes": []
|
37
|
-
},
|
38
|
-
"smartContainerBuildTarget": "",
|
39
|
-
"linkedRepos": [],
|
40
|
-
"libReleaseOptions": {
|
41
|
-
"nodts": false,
|
42
|
-
"obscure": false,
|
43
|
-
"ugly": false,
|
44
|
-
"includeNodeModules": false,
|
45
|
-
"cliBuildNoDts": false,
|
46
|
-
"cliBuildObscure": false,
|
47
|
-
"cliBuildIncludeNodeModules": false,
|
48
|
-
"cliBuildUglify": false
|
49
|
-
},
|
50
|
-
"smartContainerTarget": "",
|
51
|
-
"type": "isomorphic-lib",
|
52
|
-
"isCoreProject": false,
|
53
|
-
"useFramework": false,
|
54
|
-
"required": [],
|
55
|
-
"version": "v18",
|
56
|
-
"additionalNpmNames": [
|
57
|
-
"taon-core"
|
58
|
-
],
|
59
|
-
"isGenerated": false,
|
60
|
-
"requiredServers": [],
|
61
|
-
"license": "MIT",
|
62
|
-
"private": false,
|
63
|
-
"main": "index.js",
|
64
|
-
"workerPlugins": {}
|
65
|
-
}
|
1
|
+
{
|
2
|
+
"resources": [
|
3
|
+
"README.md"
|
4
|
+
],
|
5
|
+
"overrided": {
|
6
|
+
"ignoreDepsPattern": [],
|
7
|
+
"includeAsDev": [],
|
8
|
+
"includeOnly": [
|
9
|
+
"axios",
|
10
|
+
"glob",
|
11
|
+
"moment",
|
12
|
+
"fkill",
|
13
|
+
"copy-paste",
|
14
|
+
"chokidar",
|
15
|
+
"fs-extra",
|
16
|
+
"rimraf",
|
17
|
+
"mkdirp",
|
18
|
+
"lodash",
|
19
|
+
"@types/lodash",
|
20
|
+
"ps-list",
|
21
|
+
"ps-node",
|
22
|
+
"q",
|
23
|
+
"@types/q",
|
24
|
+
"json5",
|
25
|
+
"is-elevated",
|
26
|
+
"portfinder",
|
27
|
+
"cross-spawn",
|
28
|
+
"chalk",
|
29
|
+
"copy-paste",
|
30
|
+
"is-root",
|
31
|
+
"is-admin",
|
32
|
+
"dateformat"
|
33
|
+
],
|
34
|
+
"dependencies": {},
|
35
|
+
"linkedFolders": [],
|
36
|
+
"npmFixes": []
|
37
|
+
},
|
38
|
+
"smartContainerBuildTarget": "",
|
39
|
+
"linkedRepos": [],
|
40
|
+
"libReleaseOptions": {
|
41
|
+
"nodts": false,
|
42
|
+
"obscure": false,
|
43
|
+
"ugly": false,
|
44
|
+
"includeNodeModules": false,
|
45
|
+
"cliBuildNoDts": false,
|
46
|
+
"cliBuildObscure": false,
|
47
|
+
"cliBuildIncludeNodeModules": false,
|
48
|
+
"cliBuildUglify": false
|
49
|
+
},
|
50
|
+
"smartContainerTarget": "",
|
51
|
+
"type": "isomorphic-lib",
|
52
|
+
"isCoreProject": false,
|
53
|
+
"useFramework": false,
|
54
|
+
"required": [],
|
55
|
+
"version": "v18",
|
56
|
+
"additionalNpmNames": [
|
57
|
+
"taon-core"
|
58
|
+
],
|
59
|
+
"isGenerated": false,
|
60
|
+
"requiredServers": [],
|
61
|
+
"license": "MIT",
|
62
|
+
"private": false,
|
63
|
+
"main": "index.js",
|
64
|
+
"workerPlugins": {}
|
65
|
+
}
|
package/tmp-environment.json
CHANGED
@@ -177,7 +177,6 @@
|
|
177
177
|
"angular-resize-event": "3.2.0",
|
178
178
|
"animate.css": "4.1.1",
|
179
179
|
"app-root-path": "3.1.0",
|
180
|
-
"background-worker-process": "~16.100.10",
|
181
180
|
"base32": "0.0.7",
|
182
181
|
"bcryptjs": "2.4.3",
|
183
182
|
"body-parser": "1.20.2",
|
@@ -238,12 +237,12 @@
|
|
238
237
|
"image-focus": "1.2.1",
|
239
238
|
"immer": "10.0.2",
|
240
239
|
"immutable": "4.3.7",
|
241
|
-
"incremental-compiler": "~18.0.
|
240
|
+
"incremental-compiler": "~18.0.10",
|
242
241
|
"inquirer": "7.3.3",
|
243
242
|
"inquirer-autocomplete-prompt": "1.4.0",
|
244
243
|
"inquirer-autocomplete-standalone": "0.8.1",
|
245
244
|
"inquirer-select-pro": "1.0.0-alpha.7",
|
246
|
-
"isomorphic-region-loader": "~18.0.
|
245
|
+
"isomorphic-region-loader": "~18.0.10",
|
247
246
|
"istanbul-instrumenter-loader": "3.0.1",
|
248
247
|
"jest": "29.7.0",
|
249
248
|
"jest-date-mock": "1.0.10",
|
@@ -254,17 +253,17 @@
|
|
254
253
|
"joi": "17.13.3",
|
255
254
|
"jscodeshift": "0.6.3",
|
256
255
|
"json-stringify-safe": "5.0.1",
|
257
|
-
"json10": "~18.0.
|
258
|
-
"json10-writer": "~18.0.
|
256
|
+
"json10": "~18.0.10",
|
257
|
+
"json10-writer": "~18.0.10",
|
259
258
|
"json5-writer": "0.2.0",
|
260
259
|
"jszip": "3.10.1",
|
261
260
|
"karma-cli": "1.0.1",
|
262
261
|
"lnk": "1.0.1",
|
263
262
|
"localforage": "1.10.0",
|
264
263
|
"lockfile": "1.0.4",
|
265
|
-
"lodash-walk-object": "~18.0.
|
264
|
+
"lodash-walk-object": "~18.0.10",
|
266
265
|
"lowdb": "7.0.1",
|
267
|
-
"magic-renamer": "~18.0.
|
266
|
+
"magic-renamer": "~18.0.10",
|
268
267
|
"material-design-icons": "3.0.1",
|
269
268
|
"method-override": "2.3.10",
|
270
269
|
"minimist": "1.2.8",
|
@@ -273,11 +272,11 @@
|
|
273
272
|
"ng-in-viewport": "16.1.0",
|
274
273
|
"ng-lock": "18.0.1",
|
275
274
|
"ng-packagr": "18.1.0",
|
276
|
-
"ng-talkback": "~18.0.
|
277
|
-
"ng2-logger": "~18.0.
|
275
|
+
"ng-talkback": "~18.0.9",
|
276
|
+
"ng2-logger": "~18.0.12",
|
278
277
|
"ng2-pdfjs-viewer": "18.0.0",
|
279
|
-
"ng2-rest": "~18.0.
|
280
|
-
"ng2-rest-swagger-generator": "18.0.
|
278
|
+
"ng2-rest": "~18.0.10",
|
279
|
+
"ng2-rest-swagger-generator": "18.0.7",
|
281
280
|
"ngx-ace-wrapper": "17.0.0",
|
282
281
|
"ngx-editor": "17.5.4",
|
283
282
|
"ngx-highlightjs": "12.0.0",
|
@@ -290,7 +289,7 @@
|
|
290
289
|
"ngx-scrolltop": "18.0.0",
|
291
290
|
"ngx-store": "3.1.1",
|
292
291
|
"ngx-typed-js": "2.1.1",
|
293
|
-
"node-cli-tester": "~18.0.
|
292
|
+
"node-cli-tester": "~18.0.9",
|
294
293
|
"node-localstorage": "2.1.6",
|
295
294
|
"node-notifier": "10.0.1",
|
296
295
|
"node-polyfill-webpack-plugin": "2.0.1",
|
@@ -316,7 +315,7 @@
|
|
316
315
|
"prompts": "2.4.2",
|
317
316
|
"rallax.js": "2.0.4",
|
318
317
|
"randomcolor": "0.5.3",
|
319
|
-
"record-replay-req-res-scenario": "~18.0.
|
318
|
+
"record-replay-req-res-scenario": "~18.0.9",
|
320
319
|
"reflect-metadata": "0.2.2",
|
321
320
|
"rxjs": "~7.8.1",
|
322
321
|
"semver": "7.6.3",
|
@@ -327,23 +326,23 @@
|
|
327
326
|
"socket.io-client": "4.7.5",
|
328
327
|
"sort-package-json": "1.11.0",
|
329
328
|
"sql.js": "1.8.0",
|
330
|
-
"static-columns": "~18.0.
|
329
|
+
"static-columns": "~18.0.11",
|
331
330
|
"string-similarity": "4.0.4",
|
332
331
|
"sudo-block": "3.0.0",
|
333
332
|
"supertest": "7.0.0",
|
334
333
|
"sweetalert2": "11.7.32",
|
335
334
|
"systeminformation": "3.45.7",
|
336
335
|
"taon": "^18",
|
337
|
-
"taon-storage": "18.0.
|
338
|
-
"taon-type-sql": "18.0.
|
339
|
-
"taon-typeorm": "18.0.
|
336
|
+
"taon-storage": "18.0.8",
|
337
|
+
"taon-type-sql": "18.0.9",
|
338
|
+
"taon-typeorm": "18.0.8",
|
340
339
|
"task.js": "0.1.5",
|
341
340
|
"threads": "1.7.0",
|
342
|
-
"tnp": "~18.0.
|
343
|
-
"tnp-config": "~18.0.
|
344
|
-
"tnp-core": "~18.0.
|
345
|
-
"tnp-helpers": "~18.0.
|
346
|
-
"tnp-models": "~18.0.
|
341
|
+
"tnp": "~18.0.10",
|
342
|
+
"tnp-config": "~18.0.12",
|
343
|
+
"tnp-core": "~18.0.33",
|
344
|
+
"tnp-helpers": "~18.0.10",
|
345
|
+
"tnp-models": "~18.0.11",
|
347
346
|
"ts-debug": "1.3.0",
|
348
347
|
"ts-json-schema-generator": "2.3.0-next.5",
|
349
348
|
"ts-loader": "2.3.1",
|
@@ -355,13 +354,13 @@
|
|
355
354
|
"typedoc": "0.26.5",
|
356
355
|
"typedoc-plugin-markdown": "4.2.3",
|
357
356
|
"typescript": "~5.5.4",
|
358
|
-
"typescript-class-helpers": "~18.0.
|
357
|
+
"typescript-class-helpers": "~18.0.11",
|
359
358
|
"typescript-formatter": "~7.2.2",
|
360
359
|
"underscore": "1.13.7",
|
361
360
|
"uuid": "10.0.0",
|
362
361
|
"validator": "13.5.2",
|
363
362
|
"video.js": "8.3.0",
|
364
|
-
"vpn-split": "~18.0.
|
363
|
+
"vpn-split": "~18.0.8",
|
365
364
|
"vscode": "1.1.37",
|
366
365
|
"wait-on": "7.0.1",
|
367
366
|
"watch": "1.0.2",
|
@@ -374,19 +373,19 @@
|
|
374
373
|
"license": "MIT",
|
375
374
|
"private": false,
|
376
375
|
"name": "tnp-core",
|
377
|
-
"version": "18.0.
|
378
|
-
"lastBuildTagHash": "
|
376
|
+
"version": "18.0.34",
|
377
|
+
"lastBuildTagHash": "c5ab05d3c2fb42b4cc49be04ec3fab46ffb87a7c",
|
379
378
|
"main": "dist/app.electron.js"
|
380
379
|
},
|
381
380
|
"build": {
|
382
|
-
"number":
|
383
|
-
"date": "2024-08-
|
384
|
-
"hash": "
|
381
|
+
"number": 874,
|
382
|
+
"date": "2024-08-28T13:07:10.000Z",
|
383
|
+
"hash": "3a39bff543c1538be95d524611545c2b23ea36a3"
|
385
384
|
},
|
386
385
|
"currentProjectName": "tnp-core",
|
387
386
|
"currentProjectGenericName": "tnp-core",
|
388
387
|
"currentProjectType": "isomorphic-lib",
|
389
|
-
"currentFrameworkVersion": "18.0.
|
388
|
+
"currentFrameworkVersion": "18.0.10",
|
390
389
|
"isStandaloneProject": true,
|
391
390
|
"isSmartContainer": false,
|
392
391
|
"pathesTsconfig": "\"paths\": {\"tnp-core\":[\"./src/lib\"],\"tnp-core/*\":[\"./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.
|