Skip to content

GabenGar/todos

Repository files navigation

TODOs

Table of Contents

Requrements

NodeJS - 20.9+

Link Overwatch Extension

  1. Clone the repo:
    git clone https://github.com/GabenGar/todos.git
  2. Switch to the repo:
    cd ./todos
  3. Create a pruned output for the extension package:
    npx turbo prune "link-overwatch" --out-dir "./dist"
  4. Switch into it
    cd dist
  5. Install dependencies:
    npm install
  6. Build extension:
    npm run build
  7. The extension archive will be located in /apps/extension/dist.

Installation

  1. Clone the repo:

    git clone https://github.com/GabenGar/todos.git
  2. Switch to the repo:

    cd ./todos
  3. Install all dependencies:

    npm install
  4. Build the project:

    npm run build
  5. Start the server:

    npm run start

Develop

npm run dev

Prep the Workflow

  1. Open git config:
    open ./.git/config
  2. Add user section:
    [user]
        name = <username>
        email = <email>
  3. Add ssh key to core section:
      sshCommand = ssh -i <ssh_key_path> -F /dev/null
  4. Change push remote to ssh endpoint:
    git remote set-url --push origin [email protected]:<username>/todos.git

Turborepo

Turborepo claims that the invocation from global install will invoke local install if applicable, so it can be installed globally:

npm install turbo --global

And then instead of npm run ... commands it can be used as turbo run ....

Troubleshooting

  • I get npm ERR! code ENOWORKSPACES frontend:dev: npm ERR! This command does not support workspaces. error when starting development. Run cd apps/frontend && npx next telemetry disable.