Skip to content

Commit 0c58fcf

Browse files
committed
feature(npm-updates\angular-10\form-validator): upgrade for node & angular packages, upgrade to angular 10, and fix for form-validator to allow deep properties
1 parent 1b0f5b3 commit 0c58fcf

File tree

17 files changed

+3826
-2536
lines changed

17 files changed

+3826
-2536
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: ['master', 'feature/*', 'fix/*']
8+
branches: ['master']
99
pull_request:
1010
branches: ['**']
1111

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- [On Linux](#on-linux)
66
- [Starting with this template](#starting-with-this-template)
77
- [Template architecture](#template-architecture)
8-
- [Angular 9](#angular-9)
8+
- [Angular 10](#angular-10)
99
- [Angular services & providers](#angular-services--providers)
1010
- [Angular components](#angular-components)
1111
- [Angular Universal (Server-Side-Rendering)](#angular-universal-server-side-rendering)
@@ -36,13 +36,13 @@
3636

3737
# Introduction
3838

39-
This starter template comes with NodeJS (typescript) and Angular 9. It shares models between Angular
40-
and NodeJS. Both of the NodeJS and and Angular 9 can run on the same webserver as the NodeJS exposes all of the
39+
This starter template comes with NodeJS (typescript) and Angular 10. It shares models between Angular
40+
and NodeJS. Both of the NodeJS and and Angular 10 can run on the same webserver as the NodeJS exposes all of the
4141
default routes to Angular and all of the known routes to the api.
4242

4343
Technologies used in this template:
4444

45-
- Angular 9 (with SSR) - including unit tests (based on Jasmine + Karma)
45+
- Angular 10 (with SSR) - including unit tests (based on Jasmine + Karma)
4646
- NodeJS express typescript (with SSL support) based on [Ts.ED](https://tsed.io/) - for easier express setup using decorators
4747
- Mocha + Chai for backend testing + API tests
4848
- Mongoose (with basic user model)
@@ -108,9 +108,9 @@ These list of commands will install, compile and run the output NodeJS.
108108

109109
The template comes with a ready to go server and client integration, authentication and basic styling.
110110

111-
## Angular 9
111+
## Angular 10
112112

113-
Angular 9 comes with the following features:
113+
Angular 10 comes with the following features:
114114

115115
- Bootstrap v4 with header and sticky footer.
116116
- Built in SSR bundled with the api server.
@@ -120,7 +120,7 @@ Angular 9 comes with the following features:
120120
- Built in social authentication (Google and Facebook).
121121
- Build in form validations using class-validator (https://github.com/typestack/class-validator) implemented using the `FormValidatorDirective`.
122122

123-
The code of Angular 9 is stored under the `angular-src` directory.
123+
The code of Angular 10 is stored under the `angular-src` directory.
124124

125125
### Angular services & providers
126126

angular-src/angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"main": "src/main.ts",
2020
"polyfills": "src/polyfills.ts",
2121
"tsConfig": "src/tsconfig.app.json",
22+
"allowedCommonJsDependencies": [
23+
"validator"
24+
],
2225
"assets": [
2326
"src/favicon.ico",
2427
"src/assets"

angular-src/e2e/tsconfig.e2e.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"module": "commonjs",

0 commit comments

Comments
 (0)