AlaskaAirlines / WebCoreStyleSheets

The core front-end framework for building experiences with the Orion Design System and transition to the Auro Design System.
https://auro.alaskaair.com/webcorestylesheets
Apache License 2.0
5 stars 5 forks source link

Update npm package config #171

Closed blackfalcon closed 1 year ago

blackfalcon commented 1 year ago

General Support Request

This repo's npm package is way over-bloated.

npm notice === Tarball Details ===
npm notice name:          @aurodesignsystem/webcorestylesheets
npm notice version:       4.8.0
npm notice filename:      @aurodesignsystem/webcorestylesheets-4.8.0.tgz
npm notice package size:  1.3 MB
npm notice unpacked size: 3.2 MB
npm notice shasum:        9fea1d4a848b07da26352cad02d8ce73d7cda712
npm notice integrity:     sha512-OqhYU9v4TLRTW[...]O/HTZzvX8pWpA==
npm notice total files:   127

The .npmignore still has references to .travis.yml

This config should also be updated so that we are simply bringing over the ./src directory and only processed files are in the ./dist dir.

Support request

Update the .npmignore to reduce the size of this package and increase install performance.

Exit criteria

This issue can be closed once there is an updated npm config and there is a demonstratable difference in bundle size.

blackfalcon commented 1 year ago

With updated config

npm notice === Tarball Details ===
npm notice name:          @aurodesignsystem/webcorestylesheets
npm notice version:       4.8.0
npm notice filename:      aurodesignsystem-webcorestylesheets-4.8.0.tgz
npm notice package size:  42.3 kB
npm notice unpacked size: 228.9 kB
npm notice shasum:        35e31f9c45a9f8f6977312d42dcd4c957bba1ff3
npm notice integrity:     sha512-aTkmlhSHTa9+c[...]J3VCLC+ImYUzQ==
npm notice total files:   60
npm notice
aurodesignsystem-webcorestylesheets-4.8.0.tgz