Dev Platform AutoModerator
This is the implementation for AutoModerator in Typescript to run on Reddit's developer platform.
Monorepo structure
This repo is a monorepo employing yarn workspaces
located in the actors
directory own package.json
and individualized scripts.
Note: Currently, a monorepo workspace is the same as a dev platform actor. This alias
relationship could change in the future as we may add utility workspaces that are not actors. For
now, you may use these two words interchangeably.
Running the same yarn script across monorepo workspaces
We manage monorepo scripts with turbo
. We configure turbo
here and invoke its scripts via yarn configured in the root
package.json
. For example, you can run tests across all of the workspaces like so:
yarn run test
Running a workspace yarn script
Monorepo workspaces can have and manage their own scripts. Sometimes you need to run a script on a
single workspace. Yarn allows you to do so as shown below:
yarn workspace automod run lint:fix