1.4.4 • Published 2 years ago

pwd-validator-ts v1.4.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

ValidatorTS

Private temporary validator solution

Publish to NPM

Before publishing ensure you have authenticated account for https://package.hhaexchange.com/repository/NPM-PRIVATE/

    npm version patch|minor|major
    npm run build
    npm publish

Authenticate account for private NPM registry

Connect your account to private npm registry npm adduser --registry=https://package.hhaexchange.com/repository/NPM-PRIVATE/ Follow sign in wizard and paste your data from https://package.hhaexchange.com/#user/account (username, password, email)

Private NPM registry usage

Example of package.json for client application

    "@angular/cdk": "...",
    ...
    "@hhax/validator-ts": "^1.0.0",
    ...

After subsequent library patched, need to reinstall only the library itself npm install @hhax/validator-ts --save

Publish to CDN

TODO Create productin bundle of application npm run bundle:prod

Authenticate account for CDN

TODO

CDN usage

Add script linked to bundle source

    <script src="../main.bundle"> </script>

Refer to validator in client code across the app.

The validator contain a listed public methods: checkPassword. Examples of implementation details could be checked under src directory from index.ts Examples of tests and usages could be checked under __tests__ directory under src directory