Open gdbjohnson opened 4 months ago
Looks like I can't push to your repo. If you can pls add the following to your project's package.json, that should fix up the issue I'm having using your project.
"main": "dist/index.js", "types": "dist/index.d.ts",
I just installed the package to give it a try. I'm trying to enforce the exact same criteria, and instead of building it myself, this seems to be what is needed. However, it looks like you're missing a line in your package.json so that the compiler can find it.
Getting: "Cannot find module 'kysely-access-control' or its corresponding type declarations.ts(2307)"
The package.json file seems to be missing the "main" field in the JSON, which resolves it for me. I'll create a PR for you to review.