1.1.0 • Published 4 years ago

fb-driver v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Steps to make it work.

1) Somewhere in your filesystem:

$ git clone https://github.com/mreis1/node-firebird-drivers.git

2) cd into dir and install dependencies as follow

  • $ yarn
  • $ yarn bootstrap

3) 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';