Hello,
I would need some advice on refactoring a quite big project.
I've been working on it since angular 2 beta, and even if I updated it
progressively to work with angular 6, I can't make it work with AOT.
I'm now planning a hudge refactoring, going from multi-repo to mono-repo
and ensuring full compatibility with AOT.
The new workspace will host server side code(node), frontend code(angular)
and shared code base too.
Everythink is developped with typescript.
Here is how I would like to organize my code :
workspace
|packages/
|client/ -> contains only angular projects code
|app/
|clientApp1/
|clientApp2/
|...
|apiComponent/
|...
|component/
|...
|...
|global/ -> platform independant code that can be use by server or client
components
|groupFolder
|project1
|...
|...
|server/ -> server code
|app/
|serverApp1/
|...
|lib/
|serveLib1/
|...
I had to regroup my packages in subfolders because it's much easier to
maintain it this way instead of having evering thing at the same level.
My request is not only about angular, but it's my main issue. I need to
change my whole build process (which was based on webpack and ts-loader) in
order to support angular AOT.
I'm looking for some kind of full stack monorepository template [typescript
+ angular + node(hapijs)]. But I wasn't able to find one I could use yet.
This workspace needs to support multiple client apps and server apps with
support for build/watch at large scale (I currently have over 300
(small)repositories and much more will come).
Does anybody have some advises, or a starting point where I could look at?
A reusable template would be amazing.
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.