pecunia-cli 0.0.0 → 0.0.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/dist/api.d.mts
CHANGED
package/dist/api.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as generateKyselySchema, n as generateSchema, o as generateDrizzleSchema, r as generatePrismaSchema, t as adapters } from "./generators-
|
|
1
|
+
import { a as generateKyselySchema, n as generateSchema, o as generateDrizzleSchema, r as generatePrismaSchema, t as adapters } from "./generators-9JxZBCCZ.mjs";
|
|
2
2
|
|
|
3
3
|
export { adapters, generateDrizzleSchema, generateKyselySchema, generatePrismaSchema, generateSchema };
|
|
@@ -2,7 +2,7 @@ import fs, { existsSync } from "node:fs";
|
|
|
2
2
|
import fs$1 from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { getMigrations } from "pecunia";
|
|
5
|
-
import { getPaymentTables, initGetFieldName, initGetModelName } from "
|
|
5
|
+
import { getPaymentTables, initGetFieldName, initGetModelName } from "pecunia-core";
|
|
6
6
|
import prettier from "prettier";
|
|
7
7
|
import { produceSchema } from "@mrleebo/prisma-ast";
|
|
8
8
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as getPackageInfo, n as generateSchema } from "./generators-
|
|
2
|
+
import { i as getPackageInfo, n as generateSchema } from "./generators-9JxZBCCZ.mjs";
|
|
3
3
|
import { Command } from "commander";
|
|
4
4
|
import fs, { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -9,7 +9,7 @@ import chalk from "chalk";
|
|
|
9
9
|
import prompts from "prompts";
|
|
10
10
|
import yoctoSpinner from "yocto-spinner";
|
|
11
11
|
import * as z from "zod/v4";
|
|
12
|
-
import { PecuniaError } from "
|
|
12
|
+
import { PecuniaError } from "pecunia-core";
|
|
13
13
|
import "prettier";
|
|
14
14
|
import babelPresetReact from "@babel/preset-react";
|
|
15
15
|
import babelPresetTypeScript from "@babel/preset-typescript";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pecunia-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@babel/core": "^7.28.4",
|
|
53
53
|
"@babel/preset-react": "^7.27.1",
|
|
54
54
|
"@babel/preset-typescript": "^7.27.1",
|
|
55
|
-
"
|
|
55
|
+
"pecunia-core": "workspace:*",
|
|
56
56
|
"@better-auth/utils": "catalog:",
|
|
57
57
|
"@clack/prompts": "^0.11.0",
|
|
58
58
|
"@mrleebo/prisma-ast": "^0.13.0",
|