104: adiciona script liquido ao inicializar novo projeto#126
Merged
Conversation
…ipts no package.json
Coverage report
Test suite run success243 tests passing in 25 suites. Report generated by 🧪jest coverage report action from 8450144 |
leonelsanchesdasilva
merged commit Jul 14, 2026
6cbbd3f
into
DesignLiquido:principal
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que foi alterado
adicionarScriptsLiquidono arquivofontes/interface-linha-comando/novo/index.ts.adicionarScriptsLiquidoadicionada ao final da execução dedetectarGerenciadorDePacotes, garantindo que funcione de forma agnóstica paranpm,yarnebun.testes/liquido.test.tspara mockar corretamente a criação do arquivopackage.jsone adicionadas asserções para validar que o script"liquido"foi escrito com sucesso no arquivo em todos os gerenciadores de pacotes.Motivo da mudança
Atualmente, ao criar um novo projeto, o
package.jsongerado não inclui os scripts necessários para executar os comandos do framework localmente.Resultado
Ao gerar um novo projeto, o
package.jsonagora é modificado automaticamente para incluir o script do Liquido:Issue relacionada
Resolve #104