Closed vaporwavie closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
@lariciamota @gvc I'll do a file move commit, so /commands/discovery/init.ts
becomes /commands/init.ts
to make it consistent with the existing commands.
PS: This is also considering that the platform CLI will already prefix discovery
, so this redundancy is not needed.
@eduardoformiga the goal is to have people use only the fsp
CLI directory as their main CLI and only go to the faststore
CLI if they need something specific on the discovery part.
What's the purpose of this pull request?
Adds initial support for the
init
command, which aims to boostrap (and scaffold) Discovery from the starter.store template.How it works?
It creates a new
oclif
command that wraps the discovery composition usingdegit
.How to test it?
faststore-cli-integration
branchpackage.json
change the build version of@faststore/cli
to the last one available in our CodeSandbox CIyarn
again to refresh the modulesyarn fsp discovery init
discovery/
will be created and available for usage.