true-pg 0.0.3 → 0.1.1

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/lib/bin.d.ts CHANGED
@@ -1 +1,2 @@
1
+ #!/usr/bin/env node
1
2
  export {};
package/lib/bin.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import mri from "mri";
2
3
  import { existsSync } from "fs";
3
4
  import { generate, adapters } from "./index.js";
package/lib/types.js CHANGED
@@ -98,7 +98,7 @@ export var Nodes;
98
98
  if (star)
99
99
  import_line += `* as ${star.name}`;
100
100
  if (bits.length || star)
101
- import_line += ` from`;
101
+ import_line += ` from `;
102
102
  import_line += `"${module}";`;
103
103
  imports.push(import_line);
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "true-pg",
3
- "version": "0.0.3",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "module": "lib/index.js",
6
6
  "main": "lib/index.js",
@@ -12,7 +12,8 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "check": "tsc --noEmit",
15
- "build": "tsc"
15
+ "build": "tsc",
16
+ "prepare": "bun run build"
16
17
  },
17
18
  "devDependencies": {
18
19
  "@types/bun": "latest"