@haloduck/core 1.0.0 → 2.0.1
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 +17 -17
- package/package.json +15 -10
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @haloduck/core
|
|
2
2
|
|
|
3
|
-
HaloDuck Core Library
|
|
3
|
+
HaloDuck Core Library is a core library for Angular-based applications.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @haloduck/core
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Post Installation
|
|
12
12
|
### Copy scripts
|
|
13
13
|
Copy script files to `scripts` folder in the root folder.
|
|
14
14
|
```bash
|
|
@@ -21,19 +21,19 @@ npx haloduck-copy-scripts
|
|
|
21
21
|
"prebuild": "ts-node scripts/generate-build-timestamp.ts"
|
|
22
22
|
}
|
|
23
23
|
```
|
|
24
|
-
##
|
|
24
|
+
## Key Features
|
|
25
25
|
|
|
26
|
-
-
|
|
27
|
-
- **API
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
26
|
+
- **Authentication Service**: AWS Amplify-based authentication management
|
|
27
|
+
- **API Service**: Basic service for RESTful API communication
|
|
28
|
+
- **State Management**: NgRx-based global state management
|
|
29
|
+
- **Guards**: Authentication guards for route protection
|
|
30
|
+
- **Interceptors**: HTTP request/response processing
|
|
31
|
+
- **Pipes**: Utility pipes for data transformation
|
|
32
|
+
- **Models**: Type definitions and interfaces
|
|
33
33
|
|
|
34
|
-
##
|
|
34
|
+
## Usage
|
|
35
35
|
|
|
36
|
-
###
|
|
36
|
+
### Basic Configuration
|
|
37
37
|
|
|
38
38
|
```typescript
|
|
39
39
|
Amplify.configure({
|
|
@@ -100,17 +100,17 @@ export const appConfig: ApplicationConfig = {
|
|
|
100
100
|
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
##
|
|
103
|
+
## Dependencies
|
|
104
104
|
|
|
105
105
|
- Angular 19.2.0+
|
|
106
106
|
- RxJS 7.8.0+
|
|
107
107
|
- NgRx 19.0.0+
|
|
108
108
|
- AWS Amplify 6.12.1+
|
|
109
109
|
|
|
110
|
-
##
|
|
110
|
+
## License
|
|
111
111
|
|
|
112
112
|
MIT License
|
|
113
113
|
|
|
114
|
-
##
|
|
114
|
+
## Support
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
If you have any issues or questions, please register them in [GitHub Issues](https://github.com/haloduck/haloduck-frontend/issues)
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haloduck/core",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "HaloDuck Core Library - Angular
|
|
5
|
-
"keywords": [
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "HaloDuck Core Library - Angular",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"angular",
|
|
7
|
+
"haloduck",
|
|
8
|
+
"core",
|
|
9
|
+
"library",
|
|
10
|
+
"typescript"
|
|
11
|
+
],
|
|
6
12
|
"author": "HaloDuck",
|
|
7
13
|
"license": "MIT",
|
|
8
14
|
"repository": {
|
|
@@ -22,8 +28,7 @@
|
|
|
22
28
|
"exports": {
|
|
23
29
|
".": {
|
|
24
30
|
"import": "./fesm2022/haloduck-core.mjs",
|
|
25
|
-
"require": "./bundles/haloduck-core.umd.js"
|
|
26
|
-
"types": "./index.d.ts"
|
|
31
|
+
"require": "./bundles/haloduck-core.umd.js"
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
34
|
"scripts": {
|
|
@@ -34,12 +39,12 @@
|
|
|
34
39
|
"prepublishOnly": "npm run build:prod"
|
|
35
40
|
},
|
|
36
41
|
"peerDependencies": {
|
|
37
|
-
"@angular/common": "^
|
|
38
|
-
"@angular/core": "^
|
|
39
|
-
"@angular/router": "^
|
|
42
|
+
"@angular/common": "^20.0.0",
|
|
43
|
+
"@angular/core": "^20.0.0",
|
|
44
|
+
"@angular/router": "^20.0.0",
|
|
40
45
|
"rxjs": "~7.8.0",
|
|
41
|
-
"@ngrx/effects": "^
|
|
42
|
-
"@ngrx/store": "^
|
|
46
|
+
"@ngrx/effects": "^20.0.0",
|
|
47
|
+
"@ngrx/store": "^20.0.0",
|
|
43
48
|
"aws-amplify": "^6.12.1"
|
|
44
49
|
},
|
|
45
50
|
"dependencies": {
|