Giter VIP home page Giter VIP logo

Comments (13)

tj avatar tj commented on June 12, 2024 1

Hmm maybe wiki + "neutrino-preset" GH topic would be good, looks like there's no wiki ATM though

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024 1

Doing both is an option, it just takes work to implement. I have something that works, but I'd prefer not to land it as complete garbage. 😆

In the meantime, I'll at least get a wiki page going. I'll take care of that tomorrow.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024 1

I whipped up a gitbook plugin for embedding an npm search into a gitbook:

https://github.com/eliperelman/gitbook-plugin-npmsearchlist

I'll add this page to the docs shortly, then open up the wiki.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024 1

Live! https://neutrino.js.org/presets/community-presets.html

from neutrino.

SpencerCDixon avatar SpencerCDixon commented on June 12, 2024

Wiki sounds good to me! Whatever core contributors think is appropriate. Having all presets in one place and organized by type (I.e testing, formatting, etc.) will definitely help with adoption and less people rebuilding the same presets.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024

Yeah, I've been thinking about this as well, although I'm not sure the right direction. I like the wiki idea so anyone can drive-by their preset, the con being that there's 2 different places where things are documented. I could also add some sort of XHR call to npm and list out packages with the neutrino-preset keyword, and put it on the docs too, the pro being that new presets can be picked up automatically.

from neutrino.

tj avatar tj commented on June 12, 2024

I guess both assume that people will either add a keyword, or add it to the wiki. People seem pretty good with adding to a wiki though: https://github.com/koajs/koa/wiki, kinda nice to categorize as well.

GH topics is cool too but they're new so it looks sparse https://github.com/search?q=topic%3Akoa-middleware&type=Repositories

from neutrino.

SpencerCDixon avatar SpencerCDixon commented on June 12, 2024

Why not both? Seems like doing the XHR call on the docs to grab all with the proper prefix provides big bang for your buck. Then maybe adding a note in the 'Creating Presets' section to either make sure to name presets with proper prefix and/or add to the proper category in the wiki.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024

Wiki preset page at https://github.com/mozilla-neutrino/neutrino-dev/wiki/Community-Presets

from neutrino.

jefffriesen avatar jefffriesen commented on June 12, 2024

I'm not sure this npmsearchlist is working correctly. I published two presets yesterday and they don't show up in the community presets section.

https://www.npmjs.com/package/neutrino-preset-class-properties
https://www.npmjs.com/package/neutrino-preset-decorators

A preset by someone else was published 6 days ago:
https://www.npmjs.com/package/jke-neutrino-preset-react-mobx
and it also doesn't show up in that list.

All have neutrino-preset in the npm name and keywords.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024

Very strange, when using the API directly, I only get those 11 results:

https://api.npms.io/v2/search?q=keywords:neutrino-preset+not:deprecated&size=100

But clearly there are more. Not sure what is going on yet.

from neutrino.

eliperelman avatar eliperelman commented on June 12, 2024

Looks like the presets are showing up now. Not sure what is up with the npms.io API, but maybe it is cached for some duration.

from neutrino.

jefffriesen avatar jefffriesen commented on June 12, 2024

Yep, I see the the ones I mentioned and more.

from neutrino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.