Skip to content
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

Update for Angular 16 & 17 #497

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ yarn-error.log
.project
.classpath
.c9/
.editorconfig
*.launch
.settings/
*.sublime-workspace
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ An Angular package for entering and validating international telephone numbers.
Validation with [google-libphonenumber](https://github.com/ruimarinho/google-libphonenumber)

| ngx-intl-tel-input | Angular | ngx-bootstrap |
| ------------------ |----------------| ------------- |
| 3.x.x | 9.x.x - 14.x.x | >= 6.0.0 |
|--------------------|----------------|---------------|
| 17.x.x | 17.x.x | 12.x.x |
| 16.x.x | 16.x.x | 11.x.x |
| 3.x.x | 9.x.x - 14.x.x | \>= 6.0.0 |
| 2.x.x | 8.x.x - 9.1.x | 5.6.x |

## Installation

### Install Dependencies

`$ npm install intl-tel-input@17.0.3 --save`
`$ npm install intl-tel-input@19 --save`

`$ npm install google-libphonenumber --save`

Expand Down Expand Up @@ -52,7 +54,7 @@ to **angular.json** styles array:

### Install This Library

`$ npm install ngx-intl-tel-input --save`
`$ npm install @justin-s/ngx-intl-tel-input --save`

## Usage

Expand Down
13 changes: 9 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"./node_modules/intl-tel-input/build/css/intlTelInput.css",
"src/styles.css"
],
"allowedCommonJsDependencies": [
"google-libphonenumber"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
Expand Down Expand Up @@ -64,18 +67,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ngx-intl-tel-input-app:build"
"buildTarget": "ngx-intl-tel-input-app:build"
},
"configurations": {
"production": {
"browserTarget": "ngx-intl-tel-input-app:build:production"
"buildTarget": "ngx-intl-tel-input-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-intl-tel-input-app:build"
"buildTarget": "ngx-intl-tel-input-app:build"
}
},
"test": {
Expand Down Expand Up @@ -162,5 +165,7 @@
}
}
},
"defaultProject": "ngx-intl-tel-input-app"
"cli": {
"analytics": false
}
}
Loading