Steps to make it work.
- Somewhere in your filesystem:
$ git clone https://github.com/mreis1/node-firebird-drivers.git
- cd into dir and install dependencies as follow
- $ yarn
- $ yarn bootstrap
- No lets create a symlink
- $ yarn link
You should see the following message:
yarn link v1.17.3
success Registered "node-firebird-drivers".
info You can now run `yarn link "node-firebird-drivers"` in the projects where you want to use this package and it will be used instead.
✨ Done in 0.05s.
Then cd into this project and run the suggested command:
$ yarn link "node-firebird-drivers"
As you can see, imports are relative to:
import {
Attachment as _Attachment,
ResultSet as ResultSet2,
Statement,
Transaction as _Transaction,
TransactionIsolation,
TransactionOptions,
Blob as _Blob,
BlobStream as _BlobStream,
Events,
ExecuteQueryOptions,
PrepareOptions
} from 'node-firebird-drivers/packages/node-firebird-driver';
import {
createNativeClient,
getDefaultLibraryFilename,
} from 'node-firebird-drivers/packages/node-firebird-driver-native';