Open dherman opened 6 years ago
I want to start with a suggestion that we don't make this change, for the following reasons:
my_project/node_modules/some_dependency
you can call that dependency's commands and get the right versions of the toolchain.require
/package.json
resolution process.package.json
than add a separate file.I think there's time to experiment with package.json
and see how it interacts with dependencies, and see if we learn what problem cases it has if any.
Ah, another constraint to be sure we think about is large monorepos.
It's come up in some discussions that we might want to consider putting Notion config information in a separate config file (e.g.
my_project/.notionrc
or maybemy_project/.config/notion/config
), and nudge projects towards putting that file in their.npmignore
, possibly by automating the workflow of configuring Notion throughnotion
commands, likenotion init
.I'll try to capture the constraints in this comment (and edit them if/when we identify more in discussion).
Constraints
my_project/node_modules/some_dependency
?