embracesqlcli
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "embracesqlcli", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -15,6 +15,6 @@ "type": "module", | ||
"@commander-js/extra-typings": "^11.1.0", | ||
"@embracesql/client": "^0.1.1", | ||
"@embracesql/express": "^0.1.1", | ||
"@embracesql/postgres": "^0.1.1", | ||
"@embracesql/react": "^0.1.1", | ||
"@embracesql/client": "^0.1.2", | ||
"@embracesql/express": "^0.1.2", | ||
"@embracesql/postgres": "^0.1.2", | ||
"@embracesql/react": "^0.1.2", | ||
"chalk": "5.3.0", | ||
@@ -28,3 +28,3 @@ "commander": "^11.1.0", | ||
}, | ||
"gitHead": "8ea204346f819dd1a7cae4e0380f211b89eee243" | ||
"gitHead": "8f9395afff4f331cde0761a283fea630c2d43a4f" | ||
} |
@@ -5,3 +5,3 @@ #!/usr/bin/env tsx | ||
import { generateExpressApp } from "@embracesql/express/src/typescript/generateExpressApp"; | ||
import { initializeContext } from "@embracesql/postgres"; | ||
import { generateHeader, initializeContext } from "@embracesql/postgres"; | ||
import { | ||
@@ -72,5 +72,7 @@ generateDatabaseRoot, | ||
}; | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
generationBuffer.push(await generateHeader(combinedContext)); | ||
generationBuffer.push(await generateDatabaseRoot(combinedContext)); | ||
generationBuffer.push(await generateOperationDispatcher(combinedContext)); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
process.stdout.write(await formatSource(generationBuffer.join("\n"))); | ||
@@ -94,6 +96,7 @@ await context.sql.end(); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
generationBuffer.push(await generateHeader(combinedContext)); | ||
generationBuffer.push(await generateDatabaseRoot(combinedContext)); | ||
generationBuffer.push(await generateOperationDispatcher(combinedContext)); | ||
generationBuffer.push(await generateExpressApp()); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
process.stdout.write(await formatSource(generationBuffer.join("\n"))); | ||
@@ -115,4 +118,5 @@ await context.sql.end(); | ||
generationBuffer.push(await generateHeader(combinedContext)); | ||
generationBuffer.push(await generateClient(combinedContext)); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
generationBuffer.push(await generateClient(combinedContext)); | ||
process.stdout.write(await formatSource(generationBuffer.join("\n"))); | ||
@@ -134,5 +138,6 @@ await context.sql.end(); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
generationBuffer.push(await generateHeader(combinedContext)); | ||
generationBuffer.push(await generateClient(combinedContext)); | ||
generationBuffer.push(await generateReactComponents(combinedContext)); | ||
generationBuffer.push(await generateSchemaDefinitions(combinedContext)); | ||
process.stdout.write(await formatSource(generationBuffer.join("\n"))); | ||
@@ -139,0 +144,0 @@ await context.sql.end(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5664
124
- Removed@embracesql/react@0.1.3(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.2.0(transitive)
Updated@embracesql/client@^0.1.2
Updated@embracesql/express@^0.1.2
Updated@embracesql/postgres@^0.1.2
Updated@embracesql/react@^0.1.2