Closed l-lin closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is being closed as it was decided the cons outweigh the pros at the time of writing. If anyone's interested, feel free to re-open tje issue.
Context
Currently, the project is composed of a
src
folder that contains the source files for angular-datatables and ademo
folder for the website. The drawbacks of such structure is that there are two package.json to maintain and it's not smooth to make new changes.Proposal
We can migrate the project structure to newer style which includes
ng-packgr
. Some other projects do this. The change involves moving library and demo app into aprojects
directory which itself is enclosed in a "workspace".Benefits
ng serve
when trying to serve demo app from outside its directory.The npm scripts section would look something like this:
https://github.com/ngx-builders/ngx-bulma/blob/main/package.json
Cons