Giter Club home page Giter Club logo

Comments (6)

johno avatar johno commented on May 26, 2024 2

I'd suggest updating the top ~25-50 packages as a start. I'd imagine there's quite a long tail of packages with less downloads. πŸ€·β€β™‚

from collective.

ChristianMurphy avatar ChristianMurphy commented on May 26, 2024 1

Could this field be automatically added the collective using github-tools or npm-tools?

from collective.

wooorm avatar wooorm commented on May 26, 2024

GH tools can’t push to repos or publish packages (the latter step is needed for funding to take effect.) Automatically publishing packages can also be dangerous because they may contain unreleased non-patch changes.


Node’s package maintenance project (which concerns itself with the ecosystem better), also recently added a new support field in package.json. It’s an interesting proposal, and for unified I drafted this example to try it out (it defines me as potential paid/contracting support option):

"support": {
  "versions": [
    {
      "version": "^7.0.0", // (current major?)
      "target": {
        "node": "active"
      },
      "response": [
        {
          "type": "regular-7", // 7 days unpaid response time for free by volunteers
          "paid": false,
          "contact": {
            "name": "Volunteers",
            "url": "https://github.com/unifiedjs"
          }
        },
        {
          "type": "24-7", // 6 hours paid response time (could also do `regular-1`)
          "paid": true,
          "contact": [
            "Titus Wormer <[email protected]> (https://wooorm.com)"
          ]
        }
      ],
      "backing": {
        "sponsored": "https://opencollective.com/unifiedjs",
        "paid-support": "https://wooorm.com"
      }
    }
  ]
}

from collective.

ChristianMurphy avatar ChristianMurphy commented on May 26, 2024

GH tools can’t push to repos or publish packages (the latter step is needed for funding to take effect.) Automatically publishing packages can also be dangerous because they may contain unreleased non-patch changes.

But it could add the field across hundreds of repos, so it will be there when the next release is cut.

from collective.

wooorm avatar wooorm commented on May 26, 2024

Yes, true! But there’s no code for changing Git repo’s yet, so that would take a significant amount of time. I image the work to do that is also a lot, because we have monorepos as well, and package.json files in test suites. So it’ll be hard to automate.
I estimate the manual work to be 24-32 hours, which has the benefit of walking through every repo, updating deps, fixing some issues, etc. Automating will cost at least 16 hours?

from collective.

wooorm avatar wooorm commented on May 26, 2024

The highly starred and highly downloaded packages have funding fields now!

[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
β”œβ”€β”€ type: opencollective
β”œβ”€β”€ url: https://opencollective.com/unified
β”œβ”€β”¬ [email protected]
β”‚ └── url: https://github.com/sponsors/isaacs
└─┬ [email protected]
  └── url: https://github.com/sponsors/ljharb

from collective.

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.