@elite.framework/ng.core 1.0.1 → 1.0.3
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 +14 -54
- package/fesm2022/elite.framework-ng.core.mjs +2742 -1629
- package/fesm2022/elite.framework-ng.core.mjs.map +1 -1
- package/index.d.ts +249 -132
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,63 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @elite.framework/ng.core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A **core Angular library** that provides reusable UI components, directives, services, and utilities for the `Elite ERP` ecosystem.
|
|
4
|
+
It is designed to be **modular, extensible, and developer-friendly**, serving as the foundation for other feature libraries.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
---
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## ✨ Features
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
- ✅ Reusable **UI Components** (e.g., `CustomSwitch`, form controls, etc.)
|
|
11
|
+
- ✅ Utility **Directives & Pipes** for rapid development
|
|
12
|
+
- ✅ Core **Services & State Management Helpers**
|
|
13
|
+
- ✅ Built with **Angular Package Format (APF)** – ready for distribution via npm
|
|
14
|
+
- ✅ Fully compatible with **Angular 16+**
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
ng generate --help
|
|
17
|
-
```
|
|
16
|
+
---
|
|
18
17
|
|
|
19
|
-
##
|
|
18
|
+
## 📦 Installation
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
Install the package into your Angular workspace:
|
|
22
21
|
|
|
23
22
|
```bash
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
32
|
-
|
|
33
|
-
1. Navigate to the `dist` directory:
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/shared
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
-
```bash
|
|
40
|
-
npm publish
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Running unit tests
|
|
44
|
-
|
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ng test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Running end-to-end tests
|
|
52
|
-
|
|
53
|
-
For end-to-end (e2e) testing, run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
ng e2e
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
-
|
|
61
|
-
## Additional Resources
|
|
62
|
-
|
|
63
|
-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
23
|
+
npm install @elite.framework/ng.core
|