@wenathlan/getry 2.0.158 → 2.0.160
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/cli.ts +2 -2
- package/package.json +1 -1
- package/tests/gateway.test.ts +6 -1
package/cli.ts
CHANGED
|
@@ -377,7 +377,7 @@ import { defineConfig } from "prisma/config";
|
|
|
377
377
|
function resolveschemapath(): string {
|
|
378
378
|
const candidates = [
|
|
379
379
|
path.resolve(process.cwd(), "schema.prisma"),
|
|
380
|
-
path.resolve(process.cwd(), "
|
|
380
|
+
path.resolve(process.cwd(), "sol", "schema.prisma"),
|
|
381
381
|
path.resolve(process.cwd(), "prisma", "schema.prisma"),
|
|
382
382
|
];
|
|
383
383
|
for (const candidate of candidates) {
|
|
@@ -812,7 +812,7 @@ async function cmdexport(dirarg: string | undefined): Promise<void> {
|
|
|
812
812
|
console.log(`${colors.green}exported${colors.reset} ${name}`);
|
|
813
813
|
}
|
|
814
814
|
const schemaroot = resolve(process.cwd(), "schema.prisma");
|
|
815
|
-
const schemapath = existsSync(schemaroot) ? schemaroot : resolve(process.cwd(), "
|
|
815
|
+
const schemapath = existsSync(schemaroot) ? schemaroot : resolve(process.cwd(), "sol", "schema.prisma");
|
|
816
816
|
if (existsSync(schemapath)) {
|
|
817
817
|
writeFileSync(join(target, "schema.prisma"), readFileSync(schemapath, "utf8"));
|
|
818
818
|
console.log(`${colors.green}exported${colors.reset} schema.prisma`);
|
package/package.json
CHANGED
package/tests/gateway.test.ts
CHANGED
|
@@ -881,7 +881,12 @@ describe("hardcoded provider url scan of the source tree", () => {
|
|
|
881
881
|
* the gateway family stays default empty. the file floor rides the
|
|
882
882
|
* getry tree after the ownership split: the app root carries the
|
|
883
883
|
* gateway sources the wave moved in beside the theme lanes. */
|
|
884
|
-
|
|
884
|
+
/* the logicfold waves interned the view config (gatewayviewconfig.ts)
|
|
885
|
+
* into gateway.ts — the catalog documentation the exclusion always
|
|
886
|
+
* allowed rides in the merged seat, so the exception follows the
|
|
887
|
+
* content while the engine dial-out surfaces (engine.ts, llm.ts) stay
|
|
888
|
+
* scanned. */
|
|
889
|
+
const outsidescan = new Set([...gatewaysources, "providers.ts", "gateway.ts", "types.ts"]);
|
|
885
890
|
for (const entry of await readdir(root))
|
|
886
891
|
if (entry.endsWith(".ts") && !outsidescan.has(entry)) files.push(join(root, entry));
|
|
887
892
|
for (const entry of await readdir(join(root, "tests")))
|