Skip to content

Suggestion for JS workspace improvements #27

@barak007

Description

@barak007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions