open-index/open-npm huggingface dataset:
npm package: @pvv/hello-lib
Description: <div><center> <h2>Como criar uma library com Angular</h2> <a href="https://www.youtube.com/watch?v=mteJvWBnZXU&t=336s">Ir para o tutorial</a> </center> </div>
Latest version: 0.0.2

<div><center>
<h2>Como criar uma library com Angular</h2>
<a href="https://www.youtube.com/watch?v=mteJvWBnZXU&t=336s">Ir para o tutorial</a>
</center>
</div>

### Setup
```powershell
# cria um projeto sem aplicativo;
ng new hello-angular-lib --create-application=false
# cria a biblioteca '@pvv/hello-lib'
ng g library @pvv/hello-lib
# criar um componente para a biblioteca:
ng g c button
# buildar o projeto
ng build --prod
# entrar na pasta 'dist'
cd dist/<arquivos.do.projeto>
# logar no npm (é necessário criar uma conta)
npm login
# publicar a biblioteca
#
#   ps: pacotes com '@' no início são pacotes privados # e o NPM cobra!
#

npm publish --access public
```


## BugFix
Erro:
```error
npm ERR! code E426
npm ERR! 426 Upgrade Required - PUT http://registry.npmjs.org/formats_date

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2021-11-25T06_55_02_155Z-debug.log
error Command failed with exit code 1.
```
Digite:
```powershell
npm config set registry=https://registry.npmjs.org
# fonte: https://debugah.com/npm-contracting-error-e426-22730/
```