microsoft / code-push

A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.
https://microsoft.github.io/code-push/
Other
4.36k stars 495 forks source link

4.1.0 has no d.ts files #811

Closed pjc0247 closed 10 months ago

pjc0247 commented 1 year ago

https://www.npmjs.com/package/code-push?activeTab=explore

4.0.5 works fine.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

pjc0247 commented 1 year ago

a

saurav0705 commented 1 year ago

any update on this?

saurav0705 commented 1 year ago

Please find the pr for the above issue https://github.com/microsoft/code-push/pull/827

regalstreak commented 11 months ago

bumping ^ @DmitriyKirakosyan

DmitriyKirakosyan commented 11 months ago

@regalstreak , @saurav0705 , @pjc0247 ,

I tried to find the problem with d.ts files not being created using Node 12 and 16, but everything worked fine for me.

Can you tell me exactly what steps you took? This will help me understand the issue better.

Also, I looked at versions 4.0.5 and 4.1.0 and didn't see any big changes that could cause this problem. If you noticed something, please share.

regalstreak commented 11 months ago

@DmitriyKirakosyan try creating a new typescript project and adding the latest version of code-push, the package misses the declarations (checked in node_modules)

4.0.5 also didn't have the d.ts for me

saurav0705 commented 11 months ago

@DmitriyKirakosyan the issue the release is pushed with the npm run build command due to which no .d.ts files are generated and package is published with that command

I have raised a pr solving this issue for future can you please check https://github.com/microsoft/code-push/pull/828

velimir-jankovic commented 10 months ago

@saurav0705 thank you for the help! We've fixed our internal release process, so next release will include definition files properly.

victor-chan-groundswell commented 7 months ago

I'm actually running into this right now, going from 4.0.5 to 4.2.0..... I double checked what's in the node_modules directory and the .d.ts files are definitely missing in the new version. I am using node 21.

With 4.05 after running yarn install...

image

With 4.20 (on a different branch) after running yarn install....

image

Seeing that the code is merged in Nov but the latest release is in August 2023... when should there be an ETA on this? We'd like to upgrade so that it gets rid of the vm2 dependency.

DmitriyKirakosyan commented 7 months ago

hi @victor-chan-groundswell , We are planning to release a new version today. There will be another vulnerability fix included.