@brightspace-ui/labs

2.0.0 • Public • Published

@brightspace-ui/labs

NPM version

A collection of experimental web components and tools for building Brightspace applications.

Installation

Install from NPM:

npm install @brightspace-ui/labs

Developing and Contributing

After cloning the repo, run npm install to install dependencies.

Testing

To run the full suite of tests:

npm test

Alternatively, tests can be selectively run:

# eslint
npm run lint:eslint

# stylelint
npm run lint:style

# translations
npm run test:translations

# unit tests
npm run test:unit

This repo uses @brightspace-ui/testing's vdiff command to perform visual regression testing:

# vdiff
npm run test:vdiff

# re-generate goldens
npm run test:vdiff golden

Running the demos

To start a @web/dev-server that hosts the demo pages and tests:

npm start

Versioning and Releasing

This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main.

To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.

/@brightspace-ui/labs/

    Package Sidebar

    Install

    npm i @brightspace-ui/labs

    Weekly Downloads

    1,155

    Version

    2.0.0

    License

    Apache-2.0

    Unpacked Size

    177 kB

    Total Files

    47

    Last publish

    Collaborators

    • dave.batiste
    • dlockhart
    • d2l-travis-deploy