Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Updating elements

jakemac53 edited this page Sep 30, 2014 · 5 revisions

These are the steps for rolling new versions of the core-elements:

  1. Edit the dependencies in the bower.json file to contain the version you would like to update to.

  2. Run bower update to grab the new versions of the javacript elements.

  3. Check if any new elements were added by looking for new folders following the pattern lib/src/core-*. For each one of these elements, update the files_to_generate section of core_elements_config.yaml to make it generate new stubs for that element.

  4. Run the following to generate the new wrappers:

    pub run custom_element_apigen:update core_elements_config.yaml.

  5. Update the example/ folder by hand. Find all files with the name lib/src/core-*/demo.html that were modified and update the corresponding example/core-*.html file. If a new demo file was added then create a new one and migrate it over.

Clone this wiki locally