-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] bump devDependencies to rollup 3 and TypeScript 4.9 #78726
Conversation
Typescript 4.9 rollup 2.79.1 (can't bump to rollup 3 until rollup-plugin-consts 1.1.1 is published to raise it's upper bound rollup dependency)
replace untmainained rollup-plugin-terser with @rollup/plugin-terser replace rollup-plugin-consts with a shim @rollup/plugin-virtual. They do the same thing, but consts is more opinionated about how it names its modules
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
What does this mean? It seems related to |
I think it means that some of the NPM packages you use are not in the corporate NPM repository. I think we need to ask first-responders to add the package. Or maybe if we know how to log-in we could do it ourselves. @maraf do you know how ? |
|
Just visual sanity check: take the minified dotnet.js, prettify it with some tool and run diff to previous version. |
No idea |
I did the upgrade using npm from emsdk. Is there some trick to make it generate a v1 lockfile? Update: looks like there's a |
Ok I see. Apparently the workflow has to be something like this (based on #71393 (comment)):
|
And use the dnceng npm registry
oh I see what happened - my |
Hmm... rollup potentially doesn't like npm v6. I suspect it doesn't matter for us, but maybe the warning will trip something up on CI
|
Comparing |
Can this be added to |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
many thanks!
rollup-plugin-consts
hasn't released a version that works with rollup 3. But@rollup/plugin-virtual
can do everything that we need from consts.rollup-plugin-terser
is unmaintained and has been superseded by@rollup/plugin-terser
fast-glob
changed how it exports thesync
APIFixes #78708