ioBroker/create-adapter

Node updates - remove node 14, add node 20

mcm1957 opened this issue · 9 comments

I would suggest to remove support for node 14 and to add support for node 20:

-) at selection of minimum node required (maybe do not yet support node 20 only)
-) at generated test environment

Wanna give a PR a shot? 😇

Ok.ill try to find the correct code parts.

Happy to answer questions

OK, I should be able to change testing setup as this seems to be stored at template tree. I'll change as soon as I have a little bit ore time (PR requires test setup etc.)

I doubt that I can change the question to select node 14 / 16 as minimum. Tool is written in truescript and I do not understand truescript neither do I have any idea how to build / test truescript.

neither do I have any idea how to build / test true script

Just follow the checklist in the PR. Part of that builds the code. If anything breaks it will show you where.

You should be able to find the locations that are relevant by searching for 14 or 16 or 18 inside ts files.

Node releases specified at test-and-release.yml workflow changed and provided by PR #1040.

Adaption of paramater question still open - I did not yet find the file containing the question ...

Thanks. Will review this and the other PRs tomorrow

second part fixed (or at least tried to fix :-) with PR #1042.

So IF both PRs can be accepted this issue can be closed. I did not use "closes" remark as I do not know how toi specify the fact that two PRs are required for this issue to close completly (if it even possible). And I preferred to split the PRs as changing th workflow yml seems to be a lot easier / error proff as changing the questions sequence. Hopw that OK this way.

Fell free to give some feedback if I can fix anything

@AlCalzone

Thanks. Will review this and the other PRs tomorrow

Don't want to put stress onto you. This is only a kindly reminder of the openPRs - may be those are forgotten due to importent work etc.

If you do not have time - no hurry !

If I should fix / change something, please let me know.

#1039
#1040
#1041