@rxap/plugin-angular 16.1.0-dev.23 → 16.1.0-dev.25

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.25](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.24...@rxap/plugin-angular@16.1.0-dev.25) (2023-09-18)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add missing providers ([f526c6c](https://gitlab.com/rxap/packages/commit/f526c6c01354e84fb04bbf1d256c992a6663941e))
11
+
12
+ # [16.1.0-dev.24](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.23...@rxap/plugin-angular@16.1.0-dev.24) (2023-09-15)
13
+
14
+ ### Features
15
+
16
+ - add ProvideEnvironment function ([4574202](https://gitlab.com/rxap/packages/commit/45742021f40ac859408619b796eaaab7ab3c6e49))
17
+
6
18
  # [16.1.0-dev.23](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.22...@rxap/plugin-angular@16.1.0-dev.23) (2023-09-14)
7
19
 
8
20
  ### Bug Fixes
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-angular
19
19
  ```
20
20
  **Install peer dependencies:**
21
21
  ```bash
22
- yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.13 @rxap/plugin-localazy@^16.1.0-dev.11 @rxap/plugin-utilities@^16.1.0-dev.14 @rxap/ts-morph@^0.1.0-dev.9 @rxap/workspace-ts-morph@^0.1.0-dev.8 @rxap/workspace-utilities@^0.1.0-dev.13 nx@^16.5.0 ts-morph@^18.0.0 tslib@2.6.2
22
+ yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.13 @rxap/plugin-localazy@^16.1.0-dev.11 @rxap/plugin-utilities@^16.1.0-dev.14 @rxap/ts-morph@^0.1.0-dev.9 @rxap/workspace-ts-morph@^0.1.0-dev.8 @rxap/workspace-utilities@^0.1.0-dev.14 nx@^16.5.0 ts-morph@^18.0.0 tslib@2.6.2
23
23
  ```
24
24
  **Execute the init generator:**
25
25
  ```bash
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.1.0-dev.23",
2
+ "version": "16.1.0-dev.25",
3
3
  "name": "@rxap/plugin-angular",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -16,12 +16,12 @@
16
16
  "@rxap/plugin-utilities": "^16.1.0-dev.14",
17
17
  "@rxap/ts-morph": "^0.1.0-dev.9",
18
18
  "@rxap/workspace-ts-morph": "^0.1.0-dev.8",
19
- "@rxap/workspace-utilities": "^0.1.0-dev.13",
19
+ "@rxap/workspace-utilities": "^0.1.0-dev.14",
20
20
  "nx": "^16.5.0",
21
21
  "ts-morph": "^18.0.0",
22
22
  "tslib": "2.6.2",
23
23
  "@rxap/node-utilities": "1.1.0-dev.9",
24
- "@rxap/utilities": "16.0.0-dev.17"
24
+ "@rxap/utilities": "16.0.0-dev.18"
25
25
  },
26
26
  "author": {
27
27
  "name": "Merzough Münker",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  {
73
73
  "package": "@rxap/workspace-utilities",
74
- "version": "0.1.0-dev.13"
74
+ "version": "0.1.0-dev.14"
75
75
  }
76
76
  ]
77
77
  },
@@ -86,7 +86,7 @@
86
86
  },
87
87
  "schematics": "./generators.json",
88
88
  "type": "commonjs",
89
- "gitHead": "057072b2220a97240fba6a92066cdb49f4336ad1",
89
+ "gitHead": "51f54761943a852e8bfd449413ab84d666f95512",
90
90
  "main": "./src/index.js",
91
91
  "types": "./src/index.d.ts"
92
92
  }
@@ -8,7 +8,7 @@ import {
8
8
  provideRouter,
9
9
  withEnabledBlockingInitialNavigation,
10
10
  } from '@angular/router';
11
- import { RXAP_ENVIRONMENT } from '@rxap/environment';
11
+ import { ProvideEnvironment } from '@rxap/environment';
12
12
  import {
13
13
  HttpErrorInterceptor,
14
14
  ProvideErrorHandler,
@@ -18,23 +18,21 @@ import { StatusControllerHealthCheckRemoteMethod } from 'open-api-service-status
18
18
  import { environment } from '../environments/environment';
19
19
  import { appRoutes } from './app.routes';
20
20
  import { provideHttpClient, withInterceptors } from '@angular/common/http';
21
+ import { LanguageInterceptor } from '@rxap/ngx-localize';
22
+ import { ProvideChangelog } from '@rxap/ngx-changelog';
23
+ import { MarkdownModule } from 'ngx-markdown';
21
24
 
22
25
  export const appConfig: ApplicationConfig = {
23
26
  providers: [
27
+ importProvidersFrom(MarkdownModule.forRoot()),
24
28
  // required to be imported so that the http client is available in the application for the status check method
25
- provideHttpClient(withInterceptors([HttpErrorInterceptor])),
29
+ provideHttpClient(withInterceptors([HttpErrorInterceptor, LanguageInterceptor])),
26
30
  provideRouter(appRoutes, withEnabledBlockingInitialNavigation()),
27
31
  // it is required to provide the animations provider in the app config.
28
32
  // If provided in a lazy loaded module the animations will not work
29
33
  provideAnimations(),
30
34
  ProvideErrorHandler(),
31
- {
32
- provide: RXAP_ENVIRONMENT,
33
- useValue: environment,
34
- },
35
- {
36
- provide: SERVICE_STATUS_CHECK_METHOD,
37
- useClass: StatusControllerHealthCheckRemoteMethod,
38
- },
35
+ ProvideEnvironment(environment),
36
+ ProvideChangelog(),
39
37
  ],
40
38
  };