Skip to content

Update to last version of angular 16 + add tests #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jul 20, 2023
Merged

Conversation

manudss
Copy link
Owner

@manudss manudss commented Jul 20, 2023

Make it works for angular 16, with compile with Ivy.

Use nx of this.
Add unit test for this.

manudss and others added 30 commits February 27, 2022 22:07
Bug introducted in last versions, when changing call from request to specific call method. But body must be given in an other parameters.
This commit removes the unnecessary constructor and updates the dependencies in ApiService. It also corrects the useMock variable initialization in ngx-http-annotations.utils.ts to improve reliability. Additionally, it adds "@hirez_io/observer-spy" in package.json for easier testing. Also, removes 'extends HttpRestService' from the SomeRestService example for simplicity.Update ApiService dependencies and remove unnecessary constructor

In this commit, the unnecessary constructor in ApiService is removed, and the dependencies are updated to improve code reliability. The useMock variable initialization in ngx-http-annotations.utils.ts is also corrected. The dependency "@hirez_io/observer-spy" is added to package.json for more efficient testing. Additionally, the 'extends HttpRestService' is removed from the SomeRestService example for simplicity.
The project was updated to the latest version of Angular and the Nx library. This includes updating Angular from v14.2.0 to v16.1.3 and Nx from v14.8.5 to v16.4.1. This also necessitated changes to settings and configuration files to be in compliance with the new versions. Some of these updates include specifying the target script version and turning off usage of the 'Define' keyword for class fields. These updates not only ensure that our codebase stays current with the latest Angular and Nx features but it also helps to circumvent issues that may occur in older versions.
The project was updated to the latest version of Angular and the Nx library. This includes updating Angular from v14.2.0 to v16.1.3 and Nx from v14.8.5 to v16.4.1. This also necessitated changes to settings and configuration files to be in compliance with the new versions. Some of these updates include specifying the target script version and turning off usage of the 'Define' keyword for class fields. These updates not only ensure that our codebase stays current with the latest Angular and Nx features but it also helps to circumvent issues that may occur in older versions.
manudss added 7 commits July 20, 2023 14:03
…' into wip-update-ngx

# Conflicts:
#	.browserslistrc
#	angular.json
#	apps/sample-ngx-http-annotations/src/.browserslistrc
#	apps/sample-ngx-http-annotations/src/polyfills.ts
#	package-lock.json
#	package.json
#	projects/ngx-http-annotations/package.json
#	projects/ngx-http-annotations/src/test.ts
#	projects/ngx-http-annotations/tsconfig.lib.prod.json
#	src/environments/environment.ts
#	src/test.ts
#	test-api/src/environments/environment.ts
#	test-api/src/polyfills.ts
#	test-api/src/test.ts
#	tsconfig.json
#	tslint.json
#	yarn.lock
-> Updates to Angular 16, and compile libs to ivy
-> change to nx workspace
-> Add unit tests
@manudss manudss merged commit 7cb892e into master Jul 20, 2023
@manudss manudss deleted the wip-update-ngx branch July 20, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant