Skip to content

Commit

Permalink
Upgrade to Angular 12.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarrew committed Aug 20, 2021
1 parent 7444455 commit e66bd56
Show file tree
Hide file tree
Showing 31 changed files with 13,112 additions and 29,074 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ng2-currency-mask

A very simple currency mask directive for Angular that allows using a number attribute with the ngModel. In other words, the model is a number, and not a string with a mask. It was tested in Angular version 11.
A very simple currency mask directive for Angular that allows using a number attribute with the ngModel. In other words, the model is a number, and not a string with a mask. It was tested in Angular version 12.

## Getting Started

Expand Down
45 changes: 4 additions & 41 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,54 +12,17 @@
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/currency-mask/tsconfig.lib.json",
"project": "projects/currency-mask/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/currency-mask/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/currency-mask/tsconfig.lib.json"
}
}
}
}
},
"ng2-currency-mask": {
"projectType": "library",
"root": "projects/ng2-currency-mask",
"sourceRoot": "projects/ng2-currency-mask/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ng2-currency-mask/tsconfig.lib.json",
"project": "projects/ng2-currency-mask/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ng2-currency-mask/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ng2-currency-mask/src/test.ts",
"tsConfig": "projects/ng2-currency-mask/tsconfig.spec.json",
"karmaConfig": "projects/ng2-currency-mask/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/ng2-currency-mask/tsconfig.lib.json",
"projects/ng2-currency-mask/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
"defaultConfiguration": "production"
}
}
}
Expand Down
Loading

0 comments on commit e66bd56

Please sign in to comment.