Skip to content

Update/Upgrade/Clean up Project dependencies. #447

Description

@SystemsPurge

A great number of npm packages are either referenced once or twice, or not used at all. These can either be removed completely and/or replaced with own implementations. There is also no react project template ( build dev or run ) for the latest node version. Using Vite solves that issue, but all the deprecated packages need to be replaced/removed.
These include but are not limited to :
Example packages:

  • es6-promise ( native promise, polyfill and ecma-script compatibility can be changed through build options )
  • babel-runtime (remove or move to devDependencies , using vite should make it obsolete )
  • typescript ( remove or move to devDependencies )
  • handlebars
  • moment/moment-duration-format (why ?)
  • proptypes ( instead of ts ? why ? )
  • superagent ( native fetch/request ? )
  • swagger-client ( not referenced anywhere )
  • isomorphic-form-data ( not referenced anywhere )
  • @babel/plugin-proposal-private-property-in-object ( is now part of ecma-script )
  • replace react-fullscreenable ( see Switch from react-fullscreenable to react-full-screen package #277 )

Optional:

  • xstate: Can easily be replaced by a native js implementation
  • classnames: This implementation is literally a one liner: take in one object with type {[key:string]:bool}, and reduce with entry callback [k,v] => += ${k} if v.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions