Issue with custom extensions and NPM updates

Done this as a need help as i am not sure if this is me misunderstanding things.
node local server/ non docker.

I installed an npm (My IMAP extn) and found with my new server I am using that the code needed tweaking
I have not added a fileCopy section as I understand that is no longer needed.

Where i had:

    return new Promise((resolve) => {
        const imap = new Imap({
            user: IMAP_USER,
            password: IMAP_PASSWORD,
            host: IMAP_HOST,
            port: IMAP_PORT,
            tls: true
        });

I needed to update to

return new Promise((resolve) => {
        const imap = new Imap({
            user: IMAP_USER,
            password: IMAP_PASSWORD,
            host: IMAP_HOST,
            port: IMAP_PORT,
            tls: true,
            tlsOptions: {
                rejectUnauthorized: process.env.IMAP_CERTIFICATE_OVERRIDE === '1' ? false : true
            }

        });

So i updated the npm repository with the updated code and ran the project updater.

To be safe i also did an npm update

Examining the resultant files, the entry in node_modules is correctly updated to the new version HOWEVER the files under extensions/server_connect/modules are unchanged.

Is this a bug, have i done something wrong or do i still need the copyFiles section when using non docker target to copy the updated files to the extensions folder on updating?

I also experienced troubles with updates, but I'm not familiar with Wappler extensions through npm so I didn't bug report

Yes, updater didnt seem to update anything, hence the manual npm update but still investigating this issue

The team should probably document how it works internally, there's probably more compared to a traditional npm install (or everyone is doing extensions wrong :laughing:)

They made some pretty huge changes to the internals in last update, hopefully just a few tweaks needed :crossed_fingers:

That could be me, i just make it up as i go along!

Actually if you update npm packages from within Wappler (bottom toolbar ' Update Node packages') and then run the Project Assets Updater, the updated files should be copied to your project.

anyway we will now run also automatically the Project Assets Updater after node modules update, so updated files are shown to be copied.

So annoying when you miss the obvious!
Thanks George.

Fixed in Wappler 7.3.3