Comments (5)
Mind if I take a look at this one? If so, is it correct that if silent mode is set you don't want to see any console output at all? Not even errors?
from trace-pkg.
Sure! It would be no console/warn/error output and just throw the error directly.
The ββreportβ flag still needs output
from trace-pkg.
And implementation wise, I'd refactor https://github.com/FormidableLabs/trace-pkg/blob/main/lib/log.js to take an enabled
flag that is inferred from options to the CLI or something and make getters that return functions which either do appropriate logging or are a noop... Just one potential way!
from trace-pkg.
Makes sense. Thanks for the info. I hacked something together quickly yesterday that works, but I will spend a bit more time to get it nice and clean
from trace-pkg.
Closing this issue now that silent mode made it into a release
from trace-pkg.
Related Issues (20)
- Infra: Add node15 to AppVeyor when available. HOT 1
- Docs: Differences with Jetpack.
- Feature: CLI overrides of config stuff.
- Feature: `--dry-run` with just report output.
- Feature: Worker off main thread. HOT 1
- Feature: Handle / test symlinks. HOT 1
- Feature: `options.build`
- Test: Add complex e2e test.
- Feature: `options.include`, `options.trace`
- Feature: `--package <NAME>`
- Feature: Glob patterns to affect `package.<PKG_NAME>.trace`
- Feature: Better summary / logs for collapsed packages, files.
- Infra/Test: Separate out e2e tests. HOT 1
- Feature: Exclude source maps by pattern.
- Feature: `dynamic.resolutionsInclude` or something
- Feature: JSON report.
- Chore: Delete leftover comment.
- Test: Node v16.3.0 breaks `mock-fs`
- Deps: Start handling ESM-only deps.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trace-pkg.