Migrate fixtures to new capability syntax #478
Labels
component-fixture
Affects one or more existing fixture definitions.
help wanted
More information/insights or implementation wanted from others.
priority-high
Implementing this would improve OFL a considerate amount.
In PR #425 (
new-capabilities
branch), we have updated our schema to better represent the real world effect of capabilities (see also #267).We have already migrated some fixtures, but not all. If you want to help, follow these steps:
new-capabilities
branch:git checkout new-capabilities
make -B
./tests/fixtures-valid.js
../cli/fixture-migration-helper.js -f fixtures/<manufacturer key>/<fixture key>.json
in the project root folder. The script does a lot of the work for you!$schema
back to its original value../tests/fixtures-valid.js
again. It should now pass for your fixture.new-capabilities
branch:https://github.com/OpenLightingProject/open-fixture-library/compare/new-capabilities...YOUR_GITHUB_USERNAME:new-capabilities
The text was updated successfully, but these errors were encountered: