Validate libraries.yml files

Created on 23 May 2024, 24 days ago

Problem/Motivation

In πŸ“Œ Add a deprecation support for library-overrides Active we introduced a new key in libraries.yml for backward compatibility.

In πŸ“Œ Move system/base component CSS to respective libraries where they exist Fixed we started to use that key in core, however there was an error in the syntax.

We should validate libraries.yml files in some way to prevent this happening again.

Steps to reproduce

Proposed resolution

Add assertions for various parts of the file as we read it?
Add a schema for libraries.yml and validate the files on load?
Add test coverage that ensures all files are valid?

Remaining tasks

Decide on the best method.

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
Asset libraryΒ  β†’

Last updated 2 days ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024