aditya-garg-09-01-2002 / commencer

Bringing in commonly used APIs for building your unique projects
3 stars 10 forks source link

Creating an entry point which is accessible for developers using npm package #2

Open aditya-garg-09-01-2002 opened 1 month ago

aditya-garg-09-01-2002 commented 1 month ago

Is your feature request related to a problem? Please describe.

-Publishing npm package will be done through automated script ( issue ref No. #1 ). -Removal of currently present src/index.ts for developers using the repo as template or for further contributions. -This calls for a default export file present outside src folder exporting required middleware and routers to be used with npm package. -This file should be present all around time instead of being created using a script every time.

Describe the solution you'd like -Creating a /index.ts or /index.js file which will export all the routers and middleware to be used by developers utilizing npm package. -One thing I can come up with is probably importing all the necessary components and exporting them as modules. -Other approaches are encouraged as well.

Additional context

-This is necessary issue to be completed before release of npm package.

Mukku27 commented 1 month ago

@aditya-garg-09-01-2002 Please assign the issue to me

aditya-garg-09-01-2002 commented 1 month ago