Closed InTheCloudDan closed 2 years ago
This looks good! Apart from the dir ~ relative path issue we discussed in the blitz everything else seems to work!
@XieX I updated the sections of code we talked over. I also added a few new helper functions. Rather than looping over all of the references for each project in a loop multiple times we now return a map[string]map[string]int64
which is [project][flag]int
so it's less processing.
Initial monorepo support. Mostly implemented in a backwards compatible way. Anyone running via CLI args today are supported.
Added:
project
block incoderefs.yaml
. You can now supply a list of multiple projects, including their starting subdirectory and additional alias configurations specific to that project.projKey
and newprojects
blocks cannot be used at the same time.Changes:
accessToken
is used for all projects.aliases
block is now global. If an alias is added there it will affect all projects.Breaking Changes:
--outDir
we previously included the LaunchDarkly Project name in output file name, this has been removed because it may contain flags from multiple projects.Testing: Add a
coderefs.yaml
under.launchdarkly
directory that contains multiple projects and optional dir along with aliases.