-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Added new info command #3068
Added new info command #3068
Conversation
prints local environment information
@DeMoorJasper Thoughts 🤔 |
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.
Awesome, this would simplify bug reporting a lot
One interesting info would be if that parcel instance is actually the globally installed one |
npmGlobalPackages:
parcel-bundler: 1.12.3 It returns the globally installed |
@jamesgeorge007 but it does not return whether parcel is being used globally or locally or does it? Global is executed from terminal, local is executed from package.json Sent with GitHawk |
@DeMoorJasper It does return the globally installed version as per now. Can you be more specific 🤔 |
@jamesgeorge007 parcel can also be ran locally. Sometimes running it globally causes issues, so it would be helpfull to know whether the parcel instance is the global or local one. Local being in npm_modules and global being global... You currently do not print information about the local Parcel version nor whether it's actually using the global one. For example if you use the scripts section in pkg.json for running parcel it will use the local version regardless of whether there is a global version installed. (So your output would give a false image as the local one could be a different version) |
@DeMoorJasper Made it such that both the local and global instances show up. Makes sense 🤔 |
@jamesgeorge007 CI is just unstable, sometimes it's Azure DevOps being unstable, but usually it's just some command failing. We're not sure why though |
…e/strip-type-module-attr * 'master' of github.com:parcel-bundler/parcel: fix source maps on coffeescript assets (parcel-bundler#3423) Fixes parcel-bundler#3133 by upgrading serialize-to-js from 1.1.1 to 3.0.0 (parcel-bundler#3451) Fix up misleading usage information (parcel-bundler#3158) bump chokidar to get a reload fix for linux (parcel-bundler#2878) Use uppercase for the first letter of the issue template (parcel-bundler#3192) Update dotenv-expand to allow overriding of falsy values (parcel-bundler#2971) Fixes 3076: HMR update breaks in webworker due to window (and location.reload) not existing in web worker context. (parcel-bundler#3078) Scope hoisting destructuring (parcel-bundler#2742) Create FUNDING.yml (parcel-bundler#3074) Added new info command (parcel-bundler#3068) Fix typo (parcel-bundler#3043) Update deps & gitattributes (parcel-bundler#3006) Fix assigning to exports from inside a function in scope hoisting (parcel-bundler#2994) Define __esModule interop flag when requiring ES module from CommonJS (parcel-bundler#2993) Replace module.require in scope hoisting (parcel-bundler#2875) Clear scope cache before crawling (parcel-bundler#2986) Fix CI (parcel-bundler#2990) Shake exports with pure property assignments (parcel-bundler#2979) Update postcss.js (parcel-bundler#2922) Fail immediately if yarn.lock updates are needed (parcel-bundler#2945)
↪️ Pull Request
Added a new
info
command which prints out information about the local environment (proves to be useful while submitting bug reports).💻 Examples
parcel info
🚨 Test instructions
✔️ PR Todo