-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename annotations.js to annotations.json #836
Comments
@henk23 it's a good question! what you aren't seeing is the support for the legacy Pattern Lab annotations file - which was a js file WITH js in it, instead of simpler JSON/YML. Seems it's undergone half the needed changes, but was perhaps never finished due to concern for cross-platform support. Since core is in 3.0 alpha anyways, it'd be smart to fix this once and for all, which will make the code simpler too!
|
fix(package): Allow .json extension on annotations file (issue #836)
fixed |
* refactor: corrected annotations.js to annotations.json * refactor(annotations): allow .json extension on annotations file #836 * refactor: corrected annotations.js to annotations.json * feat(annotations): added at least annotation to the sample content * chore: added another annotations example * refactor(docs): corrected the filetype in the docs as well * docs(annotations): added further details * refactor: removed this file again for the moment * refactor: renamed this file (after the latest merge) * refactor: migrated that file as well Co-authored-by: Josef Bredreck <13408112+JosefBredereck@users.noreply.github.com>
It's a json file, so why does it have a js file ending?
My IDE complains about corrupted js syntax and I think it is right about it.
What am I not seeing here?
The text was updated successfully, but these errors were encountered: