Closed tomlinton closed 5 years ago
I prefer without the packages-
prefix. I like calling the main dapp marketplace
.
So the root and sub-dirs would look something like this
Could we combine deployment
and development
into devops
?
Looks nice, and yep we can do that.
Pasting the proposal here so it's easy to see:
dapps
devops
docs
infra
mobile
packages
scripts
CONTRIBUTING.md
DEVELOPMENT.md
Dockerfile
LICENSE
README.md
TESTING.md
crowdin.yml
docker-compose.test.yml
docker-compose.yml
lerna.json
package.json
dapps
admin
graphql-simple-demo
marketplace
infra
bridge
cron
dapp-creator-client
dapp-creator-server
discovery
faucet
growth
identity
ipfs-proxy
linking
messaging
notifications
tests
token-transfer
token-transfer-client
token-transfer-server
packages
contracts
eventsource
graphql
ipfs
linker-client
messaging-client
origin-js
services
token
validator
How about we discuss this during eng weekly tomorrow if time permits ? I added it to the agenda.
haha. @tomlinton already added it to the agenda. I'm always a step behind...
Following on from a bit of a discussion we had in Discord:
Monorepos like react and babel typically put all their packages in a
packages/
dir. This makes management via lerna easy because you can just define your packages aspackages/**
inlerna.json
and it makes things look nice.Our setup is a little tricky because we have both packages we want to publish to npm and packages we don't, so it might makes sense to have directories other than
packages/
.We also may want to remove the
origin-
prefixes from all the package names although I noticed react and babel keep them.@nick came up with a proposal here with separate directories for
backend
(stuff we run),packages
(stuff that gets published to npm) anddapps
. Here is what it looks like without the prefixes and a few tweaks. Here is another variant where the root names all get prefixed withpackages-
to make it clear that everything in those directories is a js package.