@ronin/cli
Advanced tools
Comparing version 0.2.11 to 0.2.12
@@ -596,3 +596,3 @@ #!/usr/bin/env bun | ||
required: local.required, | ||
increment: local.increment | ||
...local.type === "number" && { increment: local.increment } | ||
}; | ||
@@ -636,3 +636,3 @@ diff.push(setFieldQuery(tempTableSlug, local.slug, adjustedFieldValue)); | ||
var fieldsAreDifferent = (local, remote) => { | ||
return local.type !== remote.type || local.name !== remote.name || local.slug !== remote.slug || local.unique !== remote.unique || local.required !== remote.required || local.defaultValue !== remote.defaultValue || local.increment !== remote.increment; | ||
return local.type !== remote.type || local.name !== remote.name || local.slug !== remote.slug || local.unique !== remote.unique || local.required !== remote.required || local.defaultValue !== remote.defaultValue || local.type === "number" && remote.type === "number" && local.increment !== remote.increment; | ||
}; | ||
@@ -980,3 +980,3 @@ | ||
const queryObjects = await getBatchProxy( | ||
() => queries.map((query) => this.queryToObject(query, ronin).query), | ||
() => queries.map((query) => this.queryToObject(query, ronin).structure), | ||
{ asyncContext: new (await import("node:async_hooks")).AsyncLocalStorage() }, | ||
@@ -1059,3 +1059,5 @@ (queries2) => queries2 | ||
); | ||
this._queries = (await queryObjects).map((query) => query.query); | ||
this._queries = (await queryObjects).map( | ||
(query) => query.structure | ||
); | ||
return this; | ||
@@ -1348,3 +1350,3 @@ }; | ||
// package.json | ||
var version = "0.2.11"; | ||
var version = "0.2.12"; | ||
@@ -1351,0 +1353,0 @@ // src/utils/info.ts |
{ | ||
"name": "@ronin/cli", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"type": "module", | ||
@@ -39,3 +39,3 @@ "description": "The command-line interface for RONIN.", | ||
"@inquirer/prompts": "7.2.1", | ||
"@ronin/compiler": "0.13.3", | ||
"@ronin/compiler": "0.13.9", | ||
"@ronin/engine": "0.0.27", | ||
@@ -51,4 +51,4 @@ "chalk-template": "1.1.0", | ||
"devDependencies": { | ||
"ronin": "5.4.0", | ||
"@biomejs/biome": "1.9.4", | ||
"@ronin/schema": "0.1.3", | ||
"@types/bun": "1.1.14", | ||
@@ -55,0 +55,0 @@ "@types/ini": "4.1.1", |
63316
1395
+ Added@ronin/compiler@0.13.9(transitive)
- Removed@ronin/compiler@0.13.3(transitive)
Updated@ronin/compiler@0.13.9