Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up monorepo #10

Merged
merged 8 commits into from May 31, 2022
Merged

set up monorepo #10

merged 8 commits into from May 31, 2022

Conversation

with-heart
Copy link
Member

This PR closes #2 by adding the app, bot, and db packages.

I made a few changes to make this work:

  • created pnpm-workspace.yaml which specifies the directories to include in the monorepo
  • generated app using create-next-app
    • modified app/.eslintrc.json to extend from next/babel
  • created a root tsconfig.json that extends from @tsconfig/node16-strictest/tsconfig.json and excludes the app directory
  • created the bot and db packages
    • set up package.json
    • added tsconfig.json file that extends from root tsconfig.json and includes files in src
    • added start script that runs src/index.ts through tsc and runs the output using node

@with-heart
Copy link
Member Author

I also deleted package-lock.json because I don't know how that even got in there to begin with

@with-heart with-heart merged commit eb16bd2 into main May 31, 2022
@with-heart with-heart deleted the monorepo branch May 31, 2022 02:55
@with-heart with-heart mentioned this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up monorepo
1 participant