This repository was archived by the owner on Jun 24, 2025. It is now read-only.
Proposal for NPM scripts naming: use 'namespaces' #1019
Closed
pano9000
started this conversation in
Development
Replies: 3 comments 2 replies
|
Yes please. I personally prefer shorter prefixes. I also wonder about namespaces for note scripts as opposed to file-system scripts, e.g. |
1 reply
|
@maphew thanks for the reply, glad to see you supporting this – regarding the second half of your comment: I cannot comment on these, I have not looked at all into scripting with Trilium, so I am clueless about it currently. @eliandoran do you have any opinions on this? |
1 reply
|
task created, closing therefore closing the discussion |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
just a quick request for comments, what do you think about renaming the scripts a tiny bit and introducing the idea of some sort of namespaces for them, to have them a bite more cleanly named.
E.g. here I just group these scripts by creating some sort of namespace for them, e.g. everything "server" related get's prepended with "server:", everything "electron" related -> "electron:" etc.
Essentially this way you can easily group scripts that belong to the same group and I feel like this makes organize them a bit better.
Before
After
(ignore the errors in the actual commands: I only played aroudn with the script names so far)
Of course we would need to agree on the prefixes still.
what are your thoughts?
All reactions