Packages in this repository are currently not published to NPM; it is expected to be deployed as a worker to Heroku and client to Vercel.
To prepare for either production usage or local development, you must install dependencies and build the packages.
pnpm install && pnpm build
Note that local development uses dotenvx
to load necessary environment vars from a .env
file
which must be located
in the root directory of the repository to be loaded.
pnpm dev
Note: Production does not use dotenvx
. Define environment variables as secrets injected into
the running environment, rather than putting them on the filesystem of the running service.
pnpm start
Package | Purpose |
---|---|
yield-frontend | Frontend for end-users to define Vincent Yield tasks to be run on a schedule |
yield-backend | Backend REST API and worker instance using NodeJS; deployed to Heroku currently. |
The repository is a mono-repo leveraging pnpm
as the package manager, using pnpm workspaces
. It
requires Node v20+,
and a node .npmrc configuration file for pnpm is included, along with a .nvmrc file.
- Clone the repository
- Enable Corepack using
corepack enable
- Install dependencies by executing
pnpm install
in the root of the repo - Build all packages by executing
pnpm build
in the root of the repo
- The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. We make no guarantees about its stability or suitability for production use. It is provided for demo and educational purposes.
- It's your responsibility to comply with all applicable laws and regulations for your jurisdiction with respect to the use of this software.