theimo1221 / NodeMerlinWrtApi

An npm package to retrieve data and send commands to an asus Router running Merlin WRT
MIT License
0 stars 1 forks source link

continue development #1

Open smoebody opened 1 week ago

smoebody commented 1 week ago

Hi,

i recently bought me a asus-router (TUF AX3000_v2), installed the merlin-firmware and now i wanted to fetch some infos with your library. Unfortunately its rather old and not working anymore. For once there is no asus_token anymore, but asus_s_token. I would like to fix that and develop the lib further. Maybe you can answer some questions while they pop up?

For first: you put @types/jest and @types/node-fetch into dependencies. Is there a reason for that? IMHO its sufficient to put these into devDependencies.

cheers

theimo1221 commented 1 week ago

Hi @smoebody,

personally my home network outgrew Asus, thus I moved over to Unifi, so feel free to do the modifications 👍

Whilst I agree on @types/jest not being necessary, you should consider leaving node-fetch as a normal dependency, as any exports from this library containing parts of those types wouldn't be resolvable by consumers otherwise.

Best regards

smoebody commented 5 days ago

Hi @theimo1221, I merged my changes, but somehow i cannot get a new release to build. The github actions always fail. Can you explain how this has to be done?

theimo1221 commented 5 days ago

Haven't you seen the question I asked on your PR about the deactivation of certain compiler checks?

theimo1221 commented 5 days ago

Releases are performed having an non pushed commit and then running respective npm task like release-patch

smoebody commented 5 days ago

Haven't you seen the question I asked on your PR about the deactivation of certain compiler checks?

No, I can not see any question. Where did you ask?

theimo1221 commented 4 days ago

image

smoebody commented 4 days ago

Na, nothing. Maybe because its "pending" somehow?

image

To answer your questions: I wanted to remove what is implicitly set already. However i misread the default tsconfig.json and commented out lines do not represent the default value. I will readd the checks.

strictNullChecks is implicitly true though, when strict is true.