DanKaplanSES
DanKaplanSES
KPCKevin Powell - Community
Created by DanKaplanSES on 6/16/2024 in #back-end
Is there a way to pick which build of a dependency to use?
I have but that doesn't help because it still creates issues when my test runs
5 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 6/16/2024 in #back-end
Is there a way to pick which build of a dependency to use?
I'm guessing the answer lies somewhere in the package.json, but nothing has really stood out to me when I read the NPM documentation about it
5 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/27/2024 in #back-end
How do I publish a public lib locally without adding a `run` script just for me?
I don't see anything in that link suggesting it would make a difference
5 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/27/2024 in #back-end
How do I publish a public lib locally without adding a `run` script just for me?
According to the NPM documentation, this is a good use case for npm link or npm install <relativePathToLib>. Unfortunately, I've run into bugs that make this an impossibility. Fortunately, there is a library that addresses this bug named yalc.
5 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
With that assumption, does that mean every lib with configurable logging needs to be configured in its own way? And does that mean the user has to learn that way each time they want to configure logging in a new library?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
That's a semi-rhetorical question: I'm going to assume the latter.
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
okay so when you change the default, is it usually a simple on/off, or can log levels be configured?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
probably other reasons too
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
Yeah that makes sense because users would see those logs and they may slow down the app
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
I'm back now
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
Sorry I was in the middle of writing another post
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
unless you ask it to or regardless?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
and big libraries are rare?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
ah
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
I'm probably describing it poorly, sorry
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
@Nihan (I forgot to reply)
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
okay so it's common for libraries to log information: are they always off by default when they are used as a dependency?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
we are both talking about libraries not apps, right?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
I think I'm approaching this at the wrong angle: is it rare for node libraries to log any information?
48 replies
KPCKevin Powell - Community
Created by DanKaplanSES on 1/19/2024 in #back-end
I'm building a library. Is there a logger that can be configured by the user?
@Nihan That's effectively what I do now
48 replies