Skip to content

Commit

Permalink
Merge 0d81ad6 into 95a9fd4
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed May 14, 2021
2 parents 95a9fd4 + 0d81ad6 commit 4d070b7
Show file tree
Hide file tree
Showing 11 changed files with 2,127 additions and 3,007 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
node-version: [ 14.x, 15.x ]
node-version: [ 14.x ]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -22,8 +22,8 @@ jobs:
run: |
yarn
yarn lint
yarn audit
yarn build --prod
yarn audit:prod
yarn build
yarn test --code-coverage
- name: Coveralls
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog

## v0.4.0

- `angular 12` migration.
- BC break: The library is not `view-engine`compatible anymore.

## v0.3.0

- `angular 11` migration.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017-2019 mpalourdio
Copyright (c) 2017-2021 mpalourdio

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 3 additions & 1 deletion angular.json
Expand Up @@ -25,7 +25,8 @@
"production": {
"tsConfig": "./tsconfig.lib.prod.json"
}
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
Expand All @@ -34,6 +35,7 @@
"karmaConfig": "./karma.conf.js",
"polyfills": "./polyfills.ts",
"tsConfig": "./tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"watch": false,
"scripts": [
"node_modules/intl-tel-input/build/js/utils.js"
Expand Down
41 changes: 19 additions & 22 deletions package.json
@@ -1,13 +1,14 @@
{
"name": "intl-tel-input-ng",
"version": "0.3.0",
"version": "0.4.0",
"scripts": {
"ng": "ng",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"audit:prod": "yarn audit --groups dependencies",
"preversion": "yarn lint && yarn test",
"version": "yarn build --prod",
"version": "yarn build",
"postversion": "git push && git push --tags"
},
"repository": {
Expand Down Expand Up @@ -36,41 +37,37 @@
"url": "https://github.com/mpalourdio/intl-tel-input-ng/issues"
},
"dependencies": {
"tslib": "^2.0.0"
"tslib": "^2.1.0"
},
"peerDependencies": {
"@angular/common": "^11.0.0",
"@angular/core": "^11.0.0",
"intl-tel-input": "^17.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.0",
"@angular/cli": "^11.0.0",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/compiler-cli": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@angular-devkit/build-angular": "~12.0.0",
"@angular/cli": "^12.0.0",
"@angular/common": "^12.0.0",
"@angular/compiler": "^12.0.0",
"@angular/compiler-cli": "^12.0.0",
"@angular/core": "^12.0.0",
"@angular/forms": "^12.0.0",
"@angular/platform-browser": "^12.0.0",
"@angular/platform-browser-dynamic": "^12.0.0",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"intl-tel-input": "^17.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.1.0",
"jasmine-core": "~3.7.0",
"karma": "~6.3.2",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-firefox-launcher": "^1.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^11.0.0",
"puppeteer": "^8.0.0",
"ng-packagr": "^12.0.0",
"puppeteer": "^9.0.0",
"rxjs": "^6.6.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.1.2",
"zone.js": "~0.11.3"
"typescript": "~4.2.4",
"zone.js": "~0.11.4"
}
}
2 changes: 1 addition & 1 deletion polyfills.ts
Expand Up @@ -57,7 +57,7 @@
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
import 'zone.js'; // Included with Angular CLI.


/***************************************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/test.ts
@@ -1,6 +1,6 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'zone.js/dist/zone-testing';
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -13,7 +13,7 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"target": "es2017",
"module": "es2020",
"typeRoots": [
"node_modules/@types"
Expand Down
5 changes: 0 additions & 5 deletions tsconfig.lib.json
Expand Up @@ -13,11 +13,6 @@
"es2018"
]
},
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"enableResourceInlining": true
},
"exclude": [
"./src/test.ts",
"**/*.spec.ts"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.lib.prod.json
Expand Up @@ -5,6 +5,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

0 comments on commit 4d070b7

Please sign in to comment.