Git Product home page Git Product logo

Comments (12)

achrinza avatar achrinza commented on August 21, 2024 1

Yup, managed to accept both invitations

from node-ipc.

achrinza avatar achrinza commented on August 21, 2024 1

@AaronDewes There's a workaround by using the NPM CLI package aliases feature that I recently added above:

Q: I want to import using the original package name

NPM CLI v6.9.0 and Yarn v0.24.3 support package aliases, which allows transparent re-mapping of package names. In package.json:

"dependencies": {
  "node-ipc": "npm@achrinza/node-ipc@9"
}

Replace the trailing 9 with the appropriate @achrinza/node-ipc version accordingly.

Q: I want to use the DefinitelyTyped type definitions

Follow the steps in "Q: I want to import using the original package name" above and install the type definitions:

npm install --save-dev @types/node-ipc

The rationale is that the DefinitelyTyped typedef may not be stable since they map to the same semver major (e.g. @types/node-ipc@10 is for node-ipc@10), which means breaking changes is allowed within semver major. This means that keeping up-to-date with the upstream typedef may be difficult.

By using this workaround, we would keep the familiar DefinitelyTyped contract in place.

It's a different approach to the same problem.

from node-ipc.

achrinza avatar achrinza commented on August 21, 2024 1

Thanks, I've made the changes.

from node-ipc.

AaronDewes avatar AaronDewes commented on August 21, 2024

@achrinza Would you be interested in collaborating on this at @node-ipc? I'm happy to give you access both there and on the npm org.

But I'm also planning to add new changes & improvements over upstream, like porting it to promises instead of callback functions, in a separate branch (probably as a separate package).

I already published v11 on @node-ipc/node-ipc and v9 on @node-ipc/compat and forked some dependencies.

from node-ipc.

achrinza avatar achrinza commented on August 21, 2024

Hi @AaronDewes,

Would you be interested in collaborating on this at https://github.com/node-ipc?

Sure thing; I'm open to working on @node-ipc

But I'm also planning to add new changes & improvements over upstream, like porting it to promises instead of callback functions, in a separate branch (probably as a separate package).

Sounds great!

from node-ipc.

AaronDewes avatar AaronDewes commented on August 21, 2024

I've just invited you to both the GitHub and npm org, please let me know if you got access to both.

from node-ipc.

AaronDewes avatar AaronDewes commented on August 21, 2024

@achrinza Not sure if you'd count it as new feature, but adding a .d.ts file to this repo would be great, because @types/node-ipc won't work with this repo.

from node-ipc.

AaronDewes avatar AaronDewes commented on August 21, 2024

Some feedback regarding your info about @node-ipc/node-ipc

Bundled snapshot of DefinitelyTyped

Actually, it's written in/ported to TypeScript, so the Type definitions are not a snapshot of DefinitelyTyped.

For the versions, v10 is not published to the npm registry, so please replace it with this:

v9 (via @node-ipc/compat), v10 (via v11), v11.

from node-ipc.

lukas-mertens avatar lukas-mertens commented on August 21, 2024
"dependencies": {
  "node-ipc": "npm@achrinza/node-ipc@9"
}

should be

"dependencies": {
  "node-ipc": "npm:@achrinza/node-ipc@9"
}

from node-ipc.

achrinza avatar achrinza commented on August 21, 2024

@lukas-mertens Thanks for catching that! I've updated all the package aliases in the FAQ.

from node-ipc.

maa105 avatar maa105 commented on August 21, 2024

Yup, managed to accept both invitations

is this still valid? cause I see you are now working on the original repo no?

from node-ipc.

achrinza avatar achrinza commented on August 21, 2024

Hi @maa105, I've not contirbuted and do have push rights to the original repo, nor do I have any push nor publish rights for the original package on NPM registry.

Between @achrinza/node-ipc and @node-ipc/node-ipc, I support both projects. Both projects don't really require much upkeep from me, hence most changes I make to them (if any) is just for maintenance. Though @node-ipc/node-ipc is ultimately @/AaronDewes' project, so any major updates should be from, or approved by him.

See "Q: How does this differ from @node-ipc/node-ipc?" above for more info on why the forks are managed separately.

from node-ipc.

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.