adobe-client-data-layer icon indicating copy to clipboard operation
adobe-client-data-layer copied to clipboard

Migrate build from gulp to Parcel

Open herzog31 opened this issue 7 months ago • 1 comments

Description

  • Replace gulp with parcel to simplify build process.
  • Replaced lodash (with custom scope) with lodash-es which can be properly tree-shaken by parcel.
  • Restore npm run dev functionality.

Motivation and Context

  • Reduce complexity of build process and reduce artifact size.

How Has This Been Tested?

  • Existing unit tests and example have been executed.

Screenshots (if appropriate):

Types of changes

  • [X] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [X] I have signed the Adobe Open Source CLA.
  • [X] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [X] I have read the CONTRIBUTING document.
  • [X] I have added tests to cover my changes.
  • [X] All new and existing tests passed.

herzog31 avatar Nov 08 '23 13:11 herzog31

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.22%. Comparing base (87288ff) to head (98fd622).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
- Coverage   99.29%   99.22%   -0.08%     
==========================================
  Files          11       11              
  Lines         284      257      -27     
  Branches       63       63              
==========================================
- Hits          282      255      -27     
  Misses          2        2              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Nov 08 '23 13:11 codecov[bot]