Assume lerna stays.
Task: remove babel
Reason: not needed anymore
Task: delete package-lock.json from all packages keep only one at the js root folder.
Reason: It is not necessary to have lock file in each package when you have a workspace
Task: move all devDependencies from each package.json to the root package.json.
Reason: it makes maintains/updating/install much simpler and keep the infra unified
Task: avoid .sh scripts and convert them to .js
Reason: better cross platform (Windows) support
Task: move tsconfig to the js root and extends each package
Reason: unify the configuration between packages, also since the build does not uses typescript the tsconfig is only used by the IDE.
Task: add prettier
Reason: enforce similar code format
let me know what if this sounds reasonable.
Assume
lernastays.Task: remove
babelReason: not needed anymore
Task: delete
package-lock.jsonfrom all packages keep only one at thejsroot folder.Reason: It is not necessary to have lock file in each package when you have a workspace
Task: move all
devDependenciesfrom eachpackage.jsonto the rootpackage.json.Reason: it makes maintains/updating/install much simpler and keep the infra unified
Task: avoid
.shscripts and convert them to.jsReason: better cross platform (Windows) support
Task: move
tsconfigto thejsroot and extends each packageReason: unify the configuration between packages, also since the build does not uses typescript the
tsconfigis only used by the IDE.Task: add prettier
Reason: enforce similar code format
let me know what if this sounds reasonable.