@aggdirect/coolmap-services 1.4.9 → 4.0.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 CHANGED
@@ -1,38 +1,63 @@
1
1
  # CoolmapServices
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
4
4
 
5
- ## Installation
5
+ ## Code scaffolding
6
6
 
7
- To Install the library
7
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
8
8
 
9
- `Run npm install @aggdirect/coolmap-services`
9
+ ```bash
10
+ ng generate component component-name
11
+ ```
10
12
 
11
- ## Usage
13
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
12
14
 
13
- import { CoolmapService } from '@aggdirect/coolmap-services';
15
+ ```bash
16
+ ng generate --help
17
+ ```
14
18
 
15
- `import { UtilsService } from '@aggdirect/coolmap-services';`
19
+ ## Building
16
20
 
17
- `Inject above imports to the component constructor.`
21
+ To build the library, run:
18
22
 
19
- ## Code scaffolding
23
+ ```bash
24
+ ng build coolmap-services
25
+ ```
20
26
 
21
- Run `ng generate component component-name --project @aggdirect/coolmap-services` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project @aggdirect/coolmap-services`.
22
- > Note: Don't forget to add `--project @aggdirect/coolmap-services` or else it will be added to the default project in your `angular.json` file.
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
23
28
 
24
- ## Build
29
+ ### Publishing the Library
25
30
 
26
- Run `ng build @aggdirect/coolmap-services` to build the project. The build artifacts will be stored in the `dist/` directory.
31
+ Once the project is built, you can publish your library by following these steps:
27
32
 
28
- ## Publishing
33
+ 1. Navigate to the `dist` directory:
34
+ ```bash
35
+ cd dist/coolmap-services
36
+ ```
29
37
 
30
- After building your library with `ng build @aggdirect/coolmap-services`, go to the dist folder `cd dist/@aggdirect/coolmap-services` and run `npm publish`.
38
+ 2. Run the `npm publish` command to publish your library to the npm registry:
39
+ ```bash
40
+ npm publish
41
+ ```
31
42
 
32
43
  ## Running unit tests
33
44
 
34
- Run `ng test @aggdirect/coolmap-services` to execute the unit tests via [Karma](https://karma-runner.github.io).
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.
35
60
 
36
- ## Further help
61
+ ## Additional Resources
37
62
 
38
- 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.
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.