@aegov/designsystem-angular 0.2.3 → 0.2.4

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,16 +1,6 @@
1
- # AngularWorkspace
1
+ # ComponentLibrary
2
2
 
3
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.0.5.
4
-
5
- ## Development server
6
-
7
- To start a local development server, run:
8
-
9
- ```bash
10
- ng serve
11
- ```
12
-
13
- Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 22.0.0.
14
4
 
15
5
  ## Code scaffolding
16
6
 
@@ -28,17 +18,32 @@ ng generate --help
28
18
 
29
19
  ## Building
30
20
 
31
- To build the project run:
21
+ To build the library, run:
32
22
 
33
23
  ```bash
34
- ng build
24
+ ng build component-library
35
25
  ```
36
26
 
37
- This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
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
+
35
+ ```bash
36
+ cd dist/component-library
37
+ ```
38
+
39
+ 2. Run the `npm publish` command to publish your library to the npm registry:
40
+ ```bash
41
+ npm publish
42
+ ```
38
43
 
39
44
  ## Running unit tests
40
45
 
41
- To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
46
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42
47
 
43
48
  ```bash
44
49
  ng test