@tresdoce/nestjs-archetype
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published
nestjs-health

NestJS - Archetype

Node.js Npm NestJs GitHub license
GitHub Workflow Status Codecov sonarcloud GitHub package.json version

Esta dependencia está pensada para ser utilizada en NestJs Starter, o cualquier proyecto que utilice una configuración centralizada, siguiendo la misma arquitectura del starter.

Glosario


📝 Requerimientos básicos

🛠️ Instalar dependencia

npm install @tresdoce/nestjs-archetype

⚙️ Configuración

Para excluir el path /manifest hay que ajustar el setGlobalPrefix agregando el options exclude que exporta la dependencia.

// .src/main.ts

import { manifestControllerExcludes } from '@tresdoce/nestjs-archetype';

app.setGlobalPrefix(`${server.context}`, {
  exclude: [...manifestControllerExcludes],
});
// .src/app.module.ts
import { ArchetypeModule } from '@tresdoce/nestjs-archetype';

@Module({
    ...,
    imports: [
      ArchetypeModule,
    ],
    ...,
})
export class AppModule {}

📤 Commits

Para los mensajes de commits se toma como referencia conventional commits.

<type>[optional scope]: <description>

[optional body]

[optional footer]
  • type: chore, docs, feat, fix, refactor (más comunes)
  • scope: indica la página, componente, funcionalidad
  • description: comienza en minúsculas y no debe superar los 72 caracteres.

📄 Changelog

All notable changes to this package will be documented in Changelog file.


Mex

Made with

Readme

Keywords

Package Sidebar

Install

npm i @tresdoce/nestjs-archetype

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

30.6 kB

Total Files

14

Last publish

Collaborators

  • rudemex