Skip to content

Commit 8a83b32

Browse files
committed
fix(package): merged dev_v9 branch
2 parents 41dd372 + b85f94f commit 8a83b32

File tree

131 files changed

+19165
-14931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+19165
-14931
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]
@@ -9,5 +9,5 @@ insert_final_newline = true
99
trim_trailing_whitespace = true
1010

1111
[*.md]
12-
max_line_length = 0
12+
max_line_length = off
1313
trim_trailing_whitespace = false

.gitignore

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@
33
# compiled output
44
/dist
55
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
69

710
# dependencies
811
/node_modules
912

13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
1017
# IDEs and editors
1118
/.idea
1219
.project
@@ -22,6 +29,7 @@
2229
!.vscode/tasks.json
2330
!.vscode/launch.json
2431
!.vscode/extensions.json
32+
.history/*
2533

2634
# misc
2735
/.sass-cache
@@ -32,11 +40,6 @@ npm-debug.log
3240
yarn-error.log
3341
testem.log
3442
/typings
35-
/config/gulp-tasks/README.md
36-
37-
# e2e
38-
/e2e/*.js
39-
/e2e/*.map
4043

4144
# System Files
4245
.DS_Store

CHANGELOG.md

Lines changed: 16 additions & 420 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 anthonynahas
3+
Copyright (c) 2020 Anthony Nahas
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

README.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
src="https://cdn.jsdelivr.net/gh/angular-material-extensions/password-strength@master/assets/angular-material-extensions-logo.svg">
55
</p>
66

7-
# @angular-material-extensions/password-strength - Material password strength meter to indicate how secure is the provided password - Angular V8 supported incl. schematics
7+
# @angular-material-extensions/password-strength - Material password strength meter to indicate how secure is the provided password - Angular V9 supported incl. schematics
88

99
[![npm version](https://badge.fury.io/js/%40angular-material-extensions%2Fpassword-strength.svg)](https://badge.fury.io/js/%40angular-material-extensions%2Fpassword-strength)
1010
[![npm demo](https://img.shields.io/badge/demo-online-ed1c46.svg)](https://angular-material-extensions.github.io/password-strength)
@@ -19,7 +19,8 @@
1919
[![license](https://img.shields.io/github/license/angular-material-extensions/password-strength.svg?style=flat-square)](https://github.com/angular-material-extensions/password-strength/blob/master/LICENSE)
2020
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/gdi2290/awesome-angular)
2121

22-
> This project has been transferred from [ngx-material-password-strength](https://www.npmjs.com/package/ngx-material-password-strength) to [@angular-material-extensions/password-strength](https://github.com/angular-material-extensions/password-strength)
22+
> Please use the latest version of this library --> V6 which is supporting angular V9
23+
> @angular-material-extensions/password-strength@5.0.0 should be skipped --> @angular-material-extensions/password-strength@5.1.0 ---> @angular-material-extensions/password-strength@6.0.0 is better
2324
2425
<p align="center">
2526
<img alt="@angular-material-extensions/password-strength demonstration" style="text-align: center;"
@@ -34,7 +35,6 @@ If you like this project, support [angular-material-extensions](https://github.c
3435
by starring :star: and sharing it :loudspeaker:
3536

3637
## Table of Contents
37-
- [Who is using this library ?](#who_is_using_this_library)
3838
- [Demo](#demo)
3939
- [Components](#components)
4040
- [Dependencies](#dependencies)
@@ -47,21 +47,6 @@ by starring :star: and sharing it :loudspeaker:
4747
- [Support](#support)
4848
- [License](#license)
4949

50-
51-
<a name="who_is_using_this_library"/>
52-
53-
## Who is using this library ?
54-
55-
#### (Google Cloud Platform)[]
56-
57-
<p align="center">
58-
<img alt="angular-material-extensions's logo"
59-
height="256px" width="256px" style="text-align: center;"
60-
src="https://cdn.rawgit.com/angular-material-extensions/password-strength/master/assets/used_by/google-cloud-google-cloud-platform.png">
61-
</p>
62-
63-
64-
6550
<a name="demo"/>
6651

6752
## [Demo](https://angular-material-extensions.github.io/password-strength)
@@ -114,7 +99,7 @@ View all the directives and components in action at [https://angular-material-ex
11499
<a name="dependencies"/>
115100

116101
## Dependencies
117-
* [Angular](https://angular.io) developed and tested with `7.x`
102+
* [Angular](https://angular.io) developed and tested with `9.x`
118103

119104
---
120105

@@ -476,6 +461,7 @@ or follow the official [tutorial](https://angular-material-extensions.github.io/
476461
- [@firebaseui/ng-bootstrap](https://github.com/firebaseui/ng-bootstrap)
477462
- [@angular-material-extensions/google-maps-autocomplete](https://github.com/angular-material-extensions/google-maps-autocomplete)
478463
- [@angular-material-extensions/select-country](https://github.com/angular-material-extensions/select-country)
464+
- [@angular-material-extensions/fab-menu](https://github.com/angular-material-extensions/fab-menu)
479465
- [@angular-material-extensions/link-preview](https://github.com/angular-material-extensions/link-preview)
480466
- [@angular-material-extensions/pages](https://github.com/angular-material-extensions/pages)
481467
- [@angular-material-extensions/contacts](https://github.com/angular-material-extensions/contacts)

angular.json

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"password-strength": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/password-strength/browser",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "tsconfig.app.json",
25+
"aot": true,
26+
"assets": [
27+
"src/favicon.ico",
28+
"src/assets"
29+
],
30+
"styles": [
31+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
32+
"src/styles.scss",
33+
"./node_modules/prismjs/themes/prism-okaidia.css"
34+
],
35+
"scripts": [
36+
"./node_modules/marked/lib/marked.js",
37+
"./node_modules/prismjs/prism.js",
38+
"./node_modules/prismjs/components/prism-typescript.min.js",
39+
"./node_modules/prismjs/components/prism-css.min.js"
40+
]
41+
},
42+
"configurations": {
43+
"production": {
44+
"fileReplacements": [
45+
{
46+
"replace": "src/environments/environment.ts",
47+
"with": "src/environments/environment.prod.ts"
48+
}
49+
],
50+
"optimization": true,
51+
"outputHashing": "all",
52+
"sourceMap": false,
53+
"extractCss": true,
54+
"namedChunks": false,
55+
"extractLicenses": true,
56+
"vendorChunk": false,
57+
"buildOptimizer": true,
58+
"budgets": [
59+
{
60+
"type": "initial",
61+
"maximumWarning": "2mb",
62+
"maximumError": "5mb"
63+
},
64+
{
65+
"type": "anyComponentStyle",
66+
"maximumWarning": "6kb",
67+
"maximumError": "10kb"
68+
}
69+
]
70+
}
71+
}
72+
},
73+
"serve": {
74+
"builder": "@angular-devkit/build-angular:dev-server",
75+
"options": {
76+
"browserTarget": "password-strength:build"
77+
},
78+
"configurations": {
79+
"production": {
80+
"browserTarget": "password-strength:build:production"
81+
}
82+
}
83+
},
84+
"extract-i18n": {
85+
"builder": "@angular-devkit/build-angular:extract-i18n",
86+
"options": {
87+
"browserTarget": "password-strength:build"
88+
}
89+
},
90+
"test": {
91+
"builder": "@angular-devkit/build-angular:karma",
92+
"options": {
93+
"main": "src/test.ts",
94+
"polyfills": "src/polyfills.ts",
95+
"tsConfig": "tsconfig.spec.json",
96+
"karmaConfig": "karma.conf.js",
97+
"assets": [
98+
"src/favicon.ico",
99+
"src/assets"
100+
],
101+
"styles": [
102+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
103+
"src/styles.scss"
104+
],
105+
"scripts": []
106+
}
107+
},
108+
"lint": {
109+
"builder": "@angular-devkit/build-angular:tslint",
110+
"options": {
111+
"tsConfig": [
112+
"tsconfig.app.json",
113+
"tsconfig.spec.json",
114+
"e2e/tsconfig.json"
115+
],
116+
"exclude": [
117+
"**/node_modules/**"
118+
]
119+
}
120+
},
121+
"e2e": {
122+
"builder": "@angular-devkit/build-angular:protractor",
123+
"options": {
124+
"protractorConfig": "e2e/protractor.conf.js",
125+
"devServerTarget": "password-strength:serve"
126+
},
127+
"configurations": {
128+
"production": {
129+
"devServerTarget": "password-strength:serve:production"
130+
}
131+
}
132+
},
133+
"server": {
134+
"builder": "@angular-devkit/build-angular:server",
135+
"options": {
136+
"outputPath": "dist/password-strength/server",
137+
"main": "server.ts",
138+
"tsConfig": "tsconfig.server.json"
139+
},
140+
"configurations": {
141+
"production": {
142+
"outputHashing": "media",
143+
"fileReplacements": [
144+
{
145+
"replace": "src/environments/environment.ts",
146+
"with": "src/environments/environment.prod.ts"
147+
}
148+
],
149+
"sourceMap": false,
150+
"optimization": true
151+
}
152+
}
153+
},
154+
"serve-ssr": {
155+
"builder": "@nguniversal/builders:ssr-dev-server",
156+
"options": {
157+
"browserTarget": "password-strength:build",
158+
"serverTarget": "password-strength:server"
159+
},
160+
"configurations": {
161+
"production": {
162+
"browserTarget": "password-strength:build:production",
163+
"serverTarget": "password-strength:server:production"
164+
}
165+
}
166+
},
167+
"prerender": {
168+
"builder": "@nguniversal/builders:prerender",
169+
"options": {
170+
"browserTarget": "password-strength:build:production",
171+
"serverTarget": "password-strength:server:production",
172+
"routes": [
173+
"/"
174+
]
175+
},
176+
"configurations": {
177+
"production": {}
178+
}
179+
},
180+
"deploy": {
181+
"builder": "angular-cli-ghpages:deploy",
182+
"options": {}
183+
}
184+
}
185+
},
186+
"@angular-material-extensions/password-strength": {
187+
"projectType": "library",
188+
"root": "projects/angular-material-extensions/password-strength",
189+
"sourceRoot": "projects/angular-material-extensions/password-strength/src",
190+
"prefix": "lib",
191+
"architect": {
192+
"build": {
193+
"builder": "@angular-devkit/build-ng-packagr:build",
194+
"options": {
195+
"tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.lib.json",
196+
"project": "projects/angular-material-extensions/password-strength/ng-package.json"
197+
},
198+
"configurations": {
199+
"production": {
200+
"tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.lib.prod.json"
201+
}
202+
}
203+
},
204+
"test": {
205+
"builder": "@angular-devkit/build-angular:karma",
206+
"options": {
207+
"main": "projects/angular-material-extensions/password-strength/src/test.ts",
208+
"tsConfig": "projects/angular-material-extensions/password-strength/tsconfig.spec.json",
209+
"karmaConfig": "projects/angular-material-extensions/password-strength/karma.conf.js"
210+
}
211+
},
212+
"lint": {
213+
"builder": "@angular-devkit/build-angular:tslint",
214+
"options": {
215+
"tsConfig": [
216+
"projects/angular-material-extensions/password-strength/tsconfig.lib.json",
217+
"projects/angular-material-extensions/password-strength/tsconfig.spec.json"
218+
],
219+
"exclude": [
220+
"**/node_modules/**"
221+
]
222+
}
223+
}
224+
}
225+
}
226+
},
227+
"defaultProject": "password-strength",
228+
"cli": {
229+
"analytics": "80a8e7b5-ce29-40b8-a31c-aa518596a68a"
230+
}
231+
}

browserslist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

0 commit comments

Comments
 (0)