1.0.0 • Published 3 years ago
design-system-dist v1.0.0
Design System Dist
Getting Started
# Download a SLDS build
# The sha must exists on https://travis-ci.com/salesforce-ux/design-system-internal/builds/
npm run update -- --sha SHA --token BUILD_SERVER_TOKEN
Tokens
# Output will be in `.dist/tokens`
npm run tokens
CSS
# Output will be in `.dist/css`
npm run css
CSS Modules
Must be version 3.0.0 or above to successfully run script.
# Output will be in `.dist/css`
npm run module
P4
# Creates a new p4 pending changelist with css and tokens
npm run p4 -- --dest DEST_PATH
# Optionally add to existing pending changelist
npm run p4 -- --dest DEST_PATH --changelist EXISTING_CHANGELIST
Gus Notify (run Submit instead)
# Notify GUS users of a new SLDS version
# The changelist must be submitted and contain SLDS files
npm run gusnotify -- --changelist SUBMITTED_SLDS_CHANGELIST
Submit
# Validates & submits the changelist. Uses BLT internally.
# On successful submit calls GusNotify to create Chatter post
npm run submit -- --dest DEST_PATH --changelist PENDING_CHANGELIST
1.0.0
3 years ago