elemaudio / elemaudio/elementary

Suggestion for JS workspace improvements

Open
#27 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
513
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.