<aside> 💡 Please use Node v14, preferably v14.15.0. Recommend usage of Node Version Manager.
</aside>
For this section, the new data source will be known as ‘Data Source X’
Fork the Dynamic Data repo
Clone the newly forked repo
Yarn install in root repo folder (dynamic-data)
Either duplicate the folders that belong to a specific package (e.g. oura-data and oura-mockups) or import the two folders found at Dylan-Finney/dynamic-data-template and import them into dynamic-data/packages/
Rename the folders to be prefixed by the new data source, e.g. data-source-x-data and data-source-x-mockups
Inside each of the package.json files in both folders,
c. for the data-source-x-mockups package.json, change the dependency for the test-data to data-source-x-data and change the version to the version of that package
d. in the scripts, change the selectProjects argument to be equal to the new package name