unictive-angular 1.0.3 → 1.0.5

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.
Files changed (54) hide show
  1. package/bin/index.js +56 -113
  2. package/bin/utils/createProject.js +88 -0
  3. package/bin/utils/setupAssets.js +103 -0
  4. package/bin/utils/showStatus.js +44 -0
  5. package/bin/utils/updatePackageJson.js +26 -0
  6. package/package.json +8 -5
  7. package/test/.editorconfig +17 -0
  8. package/test/.vscode/extensions.json +4 -0
  9. package/test/.vscode/launch.json +20 -0
  10. package/test/.vscode/tasks.json +42 -0
  11. package/test/README.md +59 -0
  12. package/test/angular.json +92 -0
  13. package/test/package-lock.json +9930 -0
  14. package/test/package.json +40 -0
  15. package/test/package.json.backup +35 -0
  16. package/test/public/favicon.ico +0 -0
  17. package/test/src/app/app.config.ts +12 -0
  18. package/test/src/app/app.html +336 -0
  19. package/test/src/app/app.routes.ts +3 -0
  20. package/test/src/app/app.scss +0 -0
  21. package/test/src/app/app.spec.ts +25 -0
  22. package/test/src/app/app.ts +12 -0
  23. package/test/src/app/core/README.md +10 -0
  24. package/test/src/app/core/config/README.md +10 -0
  25. package/test/src/app/core/guards/README.md +10 -0
  26. package/test/src/app/core/interceptors/README.md +10 -0
  27. package/test/src/app/core/models/README.md +10 -0
  28. package/test/src/app/core/services/README.md +10 -0
  29. package/test/src/app/features/dashboard/application/README.md +10 -0
  30. package/test/src/app/features/dashboard/domain/README.md +10 -0
  31. package/test/src/app/features/dashboard/infrastructure/README.md +10 -0
  32. package/test/src/app/features/dashboard/presentation/README.md +10 -0
  33. package/test/src/app/features/profile/application/README.md +10 -0
  34. package/test/src/app/features/profile/domain/README.md +10 -0
  35. package/test/src/app/features/profile/infrastructure/README.md +10 -0
  36. package/test/src/app/features/profile/presentation/README.md +10 -0
  37. package/test/src/app/features/settings/application/README.md +10 -0
  38. package/test/src/app/features/settings/domain/README.md +10 -0
  39. package/test/src/app/features/settings/infrastructure/README.md +10 -0
  40. package/test/src/app/features/settings/presentation/README.md +10 -0
  41. package/test/src/app/shared/README.md +10 -0
  42. package/test/src/app/shared/directives/README.md +10 -0
  43. package/test/src/app/shared/pipes/README.md +10 -0
  44. package/test/src/app/shared/ui/README.md +10 -0
  45. package/test/src/app/shared/utils/README.md +10 -0
  46. package/test/src/environments/environment.prod.ts +5 -0
  47. package/test/src/environments/environment.staging.ts +5 -0
  48. package/test/src/environments/environment.ts +5 -0
  49. package/test/src/index.html +13 -0
  50. package/test/src/main.ts +6 -0
  51. package/test/src/styles.scss +1 -0
  52. package/test/tsconfig.app.json +15 -0
  53. package/test/tsconfig.json +34 -0
  54. package/test/tsconfig.spec.json +14 -0
@@ -0,0 +1,10 @@
1
+ # DOMAIN
2
+
3
+ Folder ini untuk layer **domain**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # INFRASTRUCTURE
2
+
3
+ Folder ini untuk layer **infrastructure**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # PRESENTATION
2
+
3
+ Folder ini untuk layer **presentation**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # SHARED
2
+
3
+ Folder ini untuk layer **shared**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # DIRECTIVES
2
+
3
+ Folder ini untuk layer **directives**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # PIPES
2
+
3
+ Folder ini untuk layer **pipes**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # UI
2
+
3
+ Folder ini untuk layer **ui**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,10 @@
1
+ # UTILS
2
+
3
+ Folder ini untuk layer **utils**.
4
+
5
+ - **domain** → berisi entity, interface, dan aturan bisnis murni
6
+ - **application** → berisi use case, service koordinasi domain
7
+ - **infrastructure** → berisi API call, repository, integrasi eksternal
8
+ - **presentation** → berisi komponen Angular, routing, dan UI
9
+
10
+ > Bagian ini adalah bagian dari arsitektur **Clean Architecture** untuk fitur ini.
@@ -0,0 +1,5 @@
1
+ {
2
+ "production": true,
3
+ "apiUrl": "https://api.example.com",
4
+ "envName": "prod"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "production": false,
3
+ "apiUrl": "https://staging.example.com/api",
4
+ "envName": "staging"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "production": false,
3
+ "apiUrl": "http://localhost:3000/api",
4
+ "envName": "dev"
5
+ }
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Test</title>
6
+ <base href="/">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
9
+ </head>
10
+ <body>
11
+ <app-root></app-root>
12
+ </body>
13
+ </html>
@@ -0,0 +1,6 @@
1
+ import { bootstrapApplication } from '@angular/platform-browser';
2
+ import { appConfig } from './app/app.config';
3
+ import { App } from './app/app';
4
+
5
+ bootstrapApplication(App, appConfig)
6
+ .catch((err) => console.error(err));
@@ -0,0 +1 @@
1
+ /* You can add global styles to this file, and also import other style files */
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "./tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "./out-tsc/app",
7
+ "types": []
8
+ },
9
+ "include": [
10
+ "src/**/*.ts"
11
+ ],
12
+ "exclude": [
13
+ "src/**/*.spec.ts"
14
+ ]
15
+ }
@@ -0,0 +1,34 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ "strict": true,
7
+ "noImplicitOverride": true,
8
+ "noPropertyAccessFromIndexSignature": true,
9
+ "noImplicitReturns": true,
10
+ "noFallthroughCasesInSwitch": true,
11
+ "skipLibCheck": true,
12
+ "isolatedModules": true,
13
+ "experimentalDecorators": true,
14
+ "importHelpers": true,
15
+ "target": "ES2022",
16
+ "module": "preserve"
17
+ },
18
+ "angularCompilerOptions": {
19
+ "enableI18nLegacyMessageIdFormat": false,
20
+ "strictInjectionParameters": true,
21
+ "strictInputAccessModifiers": true,
22
+ "typeCheckHostBindings": true,
23
+ "strictTemplates": true
24
+ },
25
+ "files": [],
26
+ "references": [
27
+ {
28
+ "path": "./tsconfig.app.json"
29
+ },
30
+ {
31
+ "path": "./tsconfig.spec.json"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,14 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "./tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "./out-tsc/spec",
7
+ "types": [
8
+ "jasmine"
9
+ ]
10
+ },
11
+ "include": [
12
+ "src/**/*.ts"
13
+ ]
14
+ }