too_easy
too_easy3w ago

I want to put CODEOWNERS files in my /convex - but how?

Splitting the /convex folder into domains will be handy as the team is growing. Alread we have something like: /convex |--foobar |-- schema.ts |-- crud.ts Would be nice to be able to plop CODEOWNERS in each domain folder (and at the /convex root) to detect appropriate owners for review etc.. Currently looks like all files, even non .ts files are pulled in for compilation so it breaks my convex deployment having such files about. Any chance of a .convexignore file at the root or similar that can pattern match files to ignore from compilation?
4 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
sshader
sshader3w ago
Oof yeah I think the usual workaround of adding a file extension or two dots in the path won't work here. At the very least, we can add CODEOWNERS to our list of files to ignore here in the near future (and I can post back once that's released), but I've also filed the idea of making this configurable
GitHub
convex-js/src/bundler/index.ts at bd627a29acf0e857ea4b8a0b4c6f8eda9...
TypeScript/JavaScript client library for Convex. Contribute to get-convex/convex-js development by creating an account on GitHub.
ballingt
ballingt3w ago
@too_easy this will be fixed in 1.18.0, probably out this week
ballingt
ballingt3w ago
GitHub
Allow non-JavaScript/TypeScript files in the convex/ directory. (...
…1994) Motivated by always needing to add new exceptions like .tsbuildinfo, adding a temporary file like convex/foo.tmp will no longer break a build. GitOrigin-RevId: ca6efefc0072d77153844a8109...

Did you find this page helpful?