@omnigraph/sqlite 0.3.2 → 0.3.3-alpha-20240723183608-e84cd2bf1b2db94886ae6ee300311e48967a6698

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.js CHANGED
@@ -32,7 +32,8 @@ function loadGraphQLSchemaFromSQLite(_name, opts) {
32
32
  }
33
33
  function loadGraphQLSchemaFromOptions(opts) {
34
34
  const tuql$ = Promise.resolve().then(() => __importStar(require('tuql'))).catch(e => {
35
- throw new Error('You need to install `tuql` package in order to use SQLite data source.');
35
+ console.error(e);
36
+ throw new Error('Cannot import `tuql` packages necessary for SQLite data source. Have you installed it?');
36
37
  });
37
38
  const cwd = opts.cwd || cross_helpers_1.process.cwd();
38
39
  if (opts.infile != null) {
package/esm/index.js CHANGED
@@ -4,7 +4,8 @@ export default function loadGraphQLSchemaFromSQLite(_name, opts) {
4
4
  }
5
5
  export function loadGraphQLSchemaFromOptions(opts) {
6
6
  const tuql$ = import('tuql').catch(e => {
7
- throw new Error('You need to install `tuql` package in order to use SQLite data source.');
7
+ console.error(e);
8
+ throw new Error('Cannot import `tuql` packages necessary for SQLite data source. Have you installed it?');
8
9
  });
9
10
  const cwd = opts.cwd || process.cwd();
10
11
  if (opts.infile != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnigraph/sqlite",
3
- "version": "0.3.2",
3
+ "version": "0.3.3-alpha-20240723183608-e84cd2bf1b2db94886ae6ee300311e48967a6698",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*",