@verisoft/core 18.5.0 → 18.7.0
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 +52 -3
- package/package.json +1 -1
- package/project.json +1 -8
- package/tsconfig.lib.json +3 -0
- package/tsconfig.lib.prod.json +1 -2
package/README.md
CHANGED
|
@@ -1,7 +1,56 @@
|
|
|
1
1
|
# core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The `core` library provides shared utilities, services, and base functionality for other libraries and applications in the Verisoft Frontend workspace.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Features
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Common Angular services and utilities
|
|
8
|
+
- Shared interfaces and types
|
|
9
|
+
- Reusable logic for other libraries
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
This package is intended for internal use within the monorepo. To use it in another library or app, add it as a dependency in your `project.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"core": "*"
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
Import the required modules, services, or utilities from `core`:
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { SomeService } from '@verisoft/core';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Development
|
|
30
|
+
|
|
31
|
+
### Building
|
|
32
|
+
|
|
33
|
+
Run the following command to build the library:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
nx build core
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Running Unit Tests
|
|
40
|
+
|
|
41
|
+
To execute the unit tests for this library:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
nx test core
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Contributing
|
|
48
|
+
|
|
49
|
+
1. Fork the repository and create your branch from `master`.
|
|
50
|
+
2. Make your changes and add tests if needed.
|
|
51
|
+
3. Run `nx test core` to ensure all tests pass.
|
|
52
|
+
4. Submit a pull request.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
This project is licensed under the MIT License.
|
package/package.json
CHANGED
package/project.json
CHANGED
package/tsconfig.lib.json
CHANGED