mongodb / chatbot

MongoDB Chatbot Framework. Powered by MongoDB and Atlas Vector Search.
https://mongodb.github.io/chatbot/
Apache License 2.0
133 stars 59 forks source link

(EAI-51): Globalize TypeScript and eslint config #299

Closed cbush closed 8 months ago

cbush commented 8 months ago

Jira: https://jira.mongodb.org/browse/EAI-51

Changes

Notes

mongodben commented 8 months ago

to address the currently failing CI you can:

  1. in your local env rm -rf package-lock.json and _node_modules
  2. npm i
  3. commit and push

this is a vite related issue that comes up frequently.

nlarew commented 8 months ago

I think something is messed up in the UI package, getting this error on JSX throughout the project:

'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.ts(2686)

See https://stackoverflow.com/questions/64656055/react-refers-to-a-umd-global-but-the-current-file-is-a-module

nlarew commented 8 months ago

Also we should add the renamed build/ directories to .gitignore