marcidb-client 0.0.5-a → 0.0.5

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/bin.js +2 -2
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -36,7 +36,7 @@ Examples:
36
36
 
37
37
  function cmdGenerate(args) {
38
38
  const schema = args[0] ?? "schema.marci";
39
- const output = args[1] ?? `${import.meta.dir ?? __dirname}/../.marcidb/client` ;
39
+ const output = args[1] ?? "node_modules/.marcidb/client";
40
40
 
41
41
  const key = `${os.platform()}-${os.arch()}`;
42
42
  const name = BINS[key];
@@ -60,7 +60,7 @@ function cmdGenerate(args) {
60
60
  execFileSync(bin, [schema, output], { stdio: "inherit" });
61
61
 
62
62
  fs.writeFileSync(output + "/package.json", `{
63
- "name": "marci-client",
63
+ "name": "maci-client",
64
64
  "main": "index.js",
65
65
  "types": "index.d.ts"
66
66
  }`)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "marcidb-client",
3
3
  "type": "module",
4
- "version": "0.0.5-a",
4
+ "version": "0.0.5",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "den59k"