@meshmakers/shared-services 3.3.34 → 3.3.390

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 CHANGED
@@ -1,24 +1,51 @@
1
- # SharedServices
1
+ # @meshmakers/shared-services
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
3
+ Angular library providing shared services for Octo Mesh Platform applications.
4
4
 
5
- ## Code scaffolding
5
+ Includes message service, navigation, breadcrumbs, command infrastructure, and utility services.
6
6
 
7
- Run `ng generate component component-name --project shared-services` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project shared-services`.
8
- > Note: Don't forget to add `--project shared-services` or else it will be added to the default project in your `angular.json` file.
7
+ Part of the [@meshmakers](https://www.npmjs.com/org/meshmakers) package ecosystem.
9
8
 
10
- ## Build
9
+ ## Installation
10
+
11
+ ```bash
12
+ npm install @meshmakers/shared-services
13
+ ```
14
+
15
+ ## Quick Start
16
+
17
+ ```typescript
18
+ // app.config.ts
19
+ import { provideMmSharedServices } from '@meshmakers/shared-services';
11
20
 
12
- Run `ng build shared-services` to build the project. The build artifacts will be stored in the `dist/` directory.
21
+ export const appConfig: ApplicationConfig = {
22
+ providers: [
23
+ provideMmSharedServices(),
24
+ ]
25
+ };
26
+ ```
13
27
 
14
- ## Publishing
28
+ ## Available Services
29
+
30
+ | Service | Description |
31
+ |---------|-------------|
32
+ | `MessageService` | User-facing messages (info, warning, error) |
33
+ | `BreadCrumbService` | Navigation breadcrumb management |
34
+ | `CommandService` | Command execution infrastructure |
35
+ | `ProgressNotifierService` | Progress reporting and cancellation |
36
+
37
+ ## Build
15
38
 
16
- After building your library with `ng build shared-services`, go to the dist folder `cd dist/shared-services` and run `npm publish`.
39
+ ```bash
40
+ npm run build:shared-services
41
+ ```
17
42
 
18
- ## Running unit tests
43
+ ## Test
19
44
 
20
- Run `ng test shared-services` to execute the unit tests via [Karma](https://karma-runner.github.io).
45
+ ```bash
46
+ npm test -- --project=@meshmakers/shared-services --watch=false
47
+ ```
21
48
 
22
- ## Further help
49
+ ## Documentation
23
50
 
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.
51
+ See [Octo Mesh Platform documentation](https://docs.meshmakers.cloud).