npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

po-migration

v1.3.0

Published

CLI de migração de projetos THF para PO UI

Downloads

13

Readme

po-migration

Para facilitar a migração do seu projeto com o THF para o PO UI, disponibilizamos um pacote para fazer esta conversão.

Este pacote, irá passar pelos arquivos do seu projeto alterando as palavras-chaves do THF para a nova nomenclatura do PO UI.

Antes de iniciar a migração

Antes de iniciar a migração certifique-se que:

  • Todos os arquivos estão salvos.
  • As dependências do THF encontram-se na versão 4 ou superior.
  • Se as pastas e os arquivos possuem permissão para terceiros alterá-los.

Instalação do pacote de migração

Instale globalmente o pacote po-migration utilizando o npm, conforme o comando abaixo:

npm install -g po-migration

Migrando o seu projeto

Após a instalação, navegue até a pasta do projeto que você deseja migrar para o PO UI.

Para iniciar a migração, execute o comando:

po-migration start

Este comando irá utilizar um dicionário de palavras-chaves do próprio THF para realizar a migração, ou seja, se tiver outra palavra que você criou e que não faz parte do THF, ele não irá alterar.

No entanto, caso você queira alterar até mesmo palavras criadas por você, utilize o seguinte comando:

po-migration start --all

Este comando atualiza todas as palavras do projeto que contém "thf, t-, ou totvs".

Ao utilizar a opção --all certifique-se que não foi alterado nenhuma palavra que faça parte do caminho de algum arquivo, que você possa ter colocado com o nome contendo algumas das palavras "thf, t-, ou totvs".

Por padrão a migração utilizará o tema da TOTVS, instalando o pacote @totvs/po-theme e configurando o seu tema no arquivo angular.json.

Caso queira migrar para o tema do PO UI, utilize o parametro --theme, exemplo abaixo:

po-migration start --theme po

Após realizar a migração, será executado npm install para instalar as novas dependencias.

Veja a documentação completa do pacote po-migration executando o comando:

po-migration --help