@lark-apaas/db-schema-sync 0.1.4-alpha.0 → 0.1.4-alpha.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.
Files changed (2) hide show
  1. package/dist/bin.js +4 -0
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -407,6 +407,8 @@ var require_main = __commonJS({
407
407
  var import_dotenv = __toESM(require_main(), 1);
408
408
  import { resolve, dirname } from "path";
409
409
  import { writeFileSync, mkdirSync, existsSync } from "fs";
410
+
411
+ // src/cli-args.ts
410
412
  function parseArgs(argv) {
411
413
  const args = argv.slice(2);
412
414
  const getArg = (name) => {
@@ -419,6 +421,8 @@ function parseArgs(argv) {
419
421
  exportCustomTypes: hasFlag("--export-custom-types")
420
422
  };
421
423
  }
424
+
425
+ // src/bin.ts
422
426
  async function main() {
423
427
  const envPath = resolve(process.cwd(), ".env");
424
428
  if (existsSync(envPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/db-schema-sync",
3
- "version": "0.1.4-alpha.0",
3
+ "version": "0.1.4-alpha.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",