-
Notifications
You must be signed in to change notification settings - Fork 87
npm install cleanup #1988
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
npm install cleanup #1988
Conversation
> npm warn deprecated @types/[email protected]: This is a stub types definition. diff provides its own type definitions, so you do not need this installed. Related: swiftlang#1828
Replaces with @twbs/fantasticon fork, which is maintained. Tested by running `npm run compile-icons` (which is indirectly included in the `postinstall` script too), and then previewing the built font (assets/icons/icon-font.woff) on https://fontdrop.info. The 3 expected glyphs were present at the expected codepoints. This does NOT resolve the npm install warning I initially was pursuring. The transitive dep chain is deep, and @twbs/fantasticon still contains the deprecated version of @npmcli/move-file. > npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
|
Unfortunately the failed CI test is inscrutable to me. Took a look at the logs but I can't determine which test failed, much less why it failed. Possibly a known flaky test? |
plemarquand
left a comment
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.
Seems like the failure was a one-off. I rekicked the failing build and it passed. Thanks for cleaning this up!
Feel free to explore these options and put up patches! I don't have any problems with cleaning these up. The only potential pitfall that comes to mind is that it may be difficult to upstream some of the patches we have to I do have a PR (#1964) up for updating the revision of |
Description
Just trying to chip away at some of the warnings on
npm installin this project. Hoping to make it a bit less noisy/scary and tidy up.fantasticon, replaces with@twbs/fantasticonfork, which is maintained.npm run compile-icons(which is indirectly included in thepostinstallscript too), and then previewing the built font (assets/icons/icon-font.woff) on https://fontdrop.info/. The 3 expected glyphs were present at the expected codepoints.@twbs/fantasticonstill generate several warningsttf2woff2towawoff2dependency twbs/fantasticon#22, which will cut off the transitive chain of older deps.scripts/compile_icons.tsso that it no longer needs to use@twbs/fantasticon. I could propose this to see how far it gets.There's some other noise in the logs, but I wanted to gauge interest on potential changes before I worked on them:
swift-docc-render, and/or eliminating patches, and/or simplifyingscripts/update_swift_docc_render.ts. The scariest of warnings comes from the steps in this script:bin/build_docswithin the docs-render repo instead ofvue-cli-service(aka@vue/cli-service), which is no longer maintained.npm installis occurring inside thenpm install(top level install triggers prepare hook, pre-commit runs, which triggers another install most likely innpx lint-staged).lint-stagedhas an option called--fail-on-changesthat the script seems to be recreating.Tasks