Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

New release? #91

Closed
carljm opened this issue Nov 25, 2015 · 7 comments
Closed

New release? #91

carljm opened this issue Nov 25, 2015 · 7 comments

Comments

@carljm
Copy link

carljm commented Nov 25, 2015

Any planned schedule for an npm release? The recently-fixed quoting bug is a deal-breaker for use with libsass.

Thanks! (We're using this project in our recent work on living styleguides...)

@KittyGiraudel
Copy link
Owner

Nope. SassyJSON should not be used.

@carljm
Copy link
Author

carljm commented Nov 25, 2015

Ha! Care to elaborate on that?

We're actually finding it quite useful for living styleguides - exporting a config map (e.g. colors) from Sass to JSON allows the styleguide to e.g. iterate over the colors in a template and show a swatch for each, which isn't possible otherwise. Do you have a preferable solution in mind for that?

If you don't have a better solution in mind, and your belief is that SassyJSON should not be used and thus you don't plan to maintain it, how would you feel about transferring maintainership?

@KittyGiraudel
Copy link
Owner

SassyJSON was an experiment. It is not meant to be used in production and has never meant to be used in production. Is it a JSON parser written in Sass, by a wannabe developer. This is a recipe for disaster. There is no way to make SassyJSON a good tool, no matter who maintains it. It cannot be done properly, and for good reasons.

I recommend you use a clean Sass plugin, either through Ruby, or through Eyeglass or Sassport.

@carljm
Copy link
Author

carljm commented Nov 25, 2015

Hmm. We're using only the JSON export, not import, which seems (relatively) more straightforward. No disasters experienced thus far, and styleguide generation is only marginally "production" :-)

I don't think Eyeglass is helpful in this case (unless I'm missing something it does). It does seem like sassport might provide a workable alternative, though; I'll look into that.

@KittyGiraudel
Copy link
Owner

I would recommend extracting the export part (which is quite straightforward and easy to maintain indeed) for your own purposes.

@carljm
Copy link
Author

carljm commented Nov 25, 2015

Thanks for the clarity, and recommendations!

@carljm
Copy link
Author

carljm commented Nov 30, 2015

Just FYI, we have extracted just the export part here: https://github.com/oddbird/sass-json-export (not yet released on npm).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants