To make it trivial to start working on a library using Ferric and CMake-RN, we'd like a commands to the two clis to initialize a simple package.
It should support creating a new package structure from scratch as well as modifying an existing package structure: I imagine running the command would leave the package in a state, much like the ferric-example package for Ferric. We should simply run the command to initialize the example on CI and assert it's no different from the package we've checked into git. We would likely need a similar example for CMake-RN.
Ideally it should also be mono-repo aware (ensuring it itself is in the root projects workspaces in case of init into a pnpm or yarn monorepo) and support a --dry-run option to explain what it's going to do. It should also support incremental updates over overriding files - as an example updating a package's deps and deriving a default for the library / target name based off the package name (stripping any @scope/).
To make it trivial to start working on a library using Ferric and CMake-RN, we'd like a commands to the two clis to initialize a simple package.
It should support creating a new package structure from scratch as well as modifying an existing package structure: I imagine running the command would leave the package in a state, much like the ferric-example package for Ferric. We should simply run the command to initialize the example on CI and assert it's no different from the package we've checked into git. We would likely need a similar example for CMake-RN.
Ideally it should also be mono-repo aware (ensuring it itself is in the root projects workspaces in case of init into a pnpm or yarn monorepo) and support a
--dry-runoption to explain what it's going to do. It should also support incremental updates over overriding files - as an example updating a package's deps and deriving a default for the library / target name based off the package name (stripping any@scope/).