Installation
To create a new fynpo monorepo:
Note: We're naming the repo "fynpo-repo". You can name your repo anything you'd like. The npx... command creates a directory with the same name as the repo.
Running this command will:
- initialize git repo if its not already
- create a
package.jsonfile if it's not exist - add
fynpoas a devDependency in package.json - creat a
fynpo.json/fynpo.config.jsconfig file - create an empty
packagesdirectory - add
commitlintconfig if enabled
Please visit here for more detailed information about create-fynpo.
Options:#
commitlint : Used to initialize the repo with commitlint configuration. This is enabled by default.
To initialize the repo without commitlint configuration, run the command with no-commitlint options. In this case, a simple fynpo.json config file will be added instead of fynpo.config.js.
The commitlint configuration can always be added later by running:
Project Structure#
The created mono repo will have the below directory structure: