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

Instructions to set up a simple unopinionated project by hand? #211

Open
alshdavid opened this issue Apr 14, 2024 · 0 comments
Open

Instructions to set up a simple unopinionated project by hand? #211

alshdavid opened this issue Apr 14, 2024 · 0 comments

Comments

@alshdavid
Copy link

Hi all, thanks for creating this project!

I appreciate the napi-rs auto-installer but I am interested in setting up a napi-rs project manually (I'm weird like that). I'd like to use my own build scripts, workspace setup, omit code-gen, package manager selection, etc. I essentially want a minimal napi-rs project that only produces a .node file if possible.

In the past I have used Neon because of its unopinionated project integration but I find the napi-rs bindings to be very ergonomic and prefer to use them if possible.

I tried to deconstruct & bring over the project files produced by napi new - but the napi-rs CLI obfuscates the native module build steps (napi build) so I didn't get too far.

Are there instructions on setting up a project by hand?

@alshdavid alshdavid changed the title Simple non-opinionated project setup? Instructions to set up a simple unopinionated project by hand? Apr 14, 2024
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

No branches or pull requests

1 participant