cjlawson02 / ntcore-ts-client

A TypeScript library for WPILib's NT4.1 spec
https://ntcore.chrislawson.dev
22 stars 7 forks source link

Dependencies on npm #140

Closed CrispyBacon1999 closed 8 months ago

CrispyBacon1999 commented 8 months ago

Looks like there's an issue with how you're publishing to npm. None of the dependencies for the project are included (since they're included in the parent package), which is giving me issues when using it on my end.

cjlawson02 commented 8 months ago

Yeah I reproduced this, will have to fix

fisherjacobc commented 8 months ago

Hey there, I think(??) I have found what is causing the issue. I am comparing some files between the last published working tag (0.2.1) and the latest version.

I noticed in the project.json file something about dependencies that is in 0.2.1 but not in the latest code: 0.2.1 latest

Note: Also the next version, version 0.2.2 (first version to not have dependencies published) also has that line missing

cjlawson02 commented 8 months ago

Hi @CrispyBacon1999 @fisherjacobc can you try https://www.npmjs.com/package/ntcore-ts-client/v/2.0.0-beta.3 please?

Thanks for the help!

fisherjacobc commented 8 months ago

according to the published package.json file the dependencies are showing up, so that should fix it, thanks!

https://www.npmjs.com/package/ntcore-ts-client/v/2.0.0-beta.3?activeTab=code