Skip to content

substituir pipeline babel por tsx + esbuild (#91)#421

Open
JosueModesto wants to merge 8 commits into
developmentfrom
91-substituir-pipeline-babel-por-tsx-esbuild
Open

substituir pipeline babel por tsx + esbuild (#91)#421
JosueModesto wants to merge 8 commits into
developmentfrom
91-substituir-pipeline-babel-por-tsx-esbuild

Conversation

@JosueModesto

Copy link
Copy Markdown
Contributor

O que foi feito

Substituição completa da pipeline Babel por tsx + esbuild, conforme issue #91.

Removido

  • @babel/cli, @babel/core, @babel/node, @babel/plugin-proposal-class-properties, @babel/preset-env, @babel/preset-react, @babel/preset-typescript
  • babel-plugin-module-resolver, jiti, nodemon
  • Arquivo .babelrc

Adicionado / Atualizado

  • esbuild adicionado em devDependencies
  • tsx movido de dependencies para devDependencies
  • Criado build.mjs: executa limpeza da pasta dist via rmSync e gera bundle com esbuild (elimina necessidade de rimraf e script clean)
  • Script start atualizado para tsx --watch --env-file=.env src/index.js
  • Script build:app atualizado para node build.mjs
  • eslint.config.mts renomeado para eslint.config.mjs (remove dependência de jiti no ESLint 9)

Validação

  • yarn build
  • yarn lint
  • yarn test 27/27

Comment thread src/controllers/tombos-controller.js Outdated
Comment thread src/controllers/tombos-controller.js Outdated
Comment thread src/controllers/tombos-controller.js Outdated
Comment thread src/database/migration-file-system.ts
Comment thread src/routes/tombos.js Outdated
Comment thread tsconfig.json
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread build.mjs Outdated
…versões exata para o tsx e esbuild, funções de proximo numero usando async/await
Comment thread src/controllers/tombos-controller.js Outdated
Comment thread build.mjs
Comment thread eslint.config.mjs
@@ -1,6 +1,5 @@
import js from '@eslint/js'

@edvaldoszy edvaldoszy Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JosueModesto algum motivo para renomear isso para mjs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants