sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.87k stars 350 forks source link

Generate deprecations list from the language repo #2253

Closed jathak closed 2 months ago

jathak commented 3 months ago

See https://github.com/sass/sass/pull/3872.

This updates the Deprecation enum to be generated from spec/deprecations.yaml in the language repo.

jathak commented 2 months ago

Based on offline discussions, I decided to change this to check in the generated deprecations file since there shouldn't really be a case where we need to update the deprecations list in the language repo without making some sort of corresponding change to the compiler, and checking it in makes it easier to use the compiler code internally without also needing to pull in the language repo and grinder.