UNPKG

@strapi/generate-new

Version:

Generate a new Strapi application.

19 lines (18 loc) 492 B
"use strict"; const sqlClientModule = { mysql: { mysql: "2.18.1" }, mysql2: { mysql2: "3.10.0" }, postgres: { pg: "8.8.0" }, sqlite: { "better-sqlite3": "8.6.0" }, "sqlite-legacy": { sqlite3: "5.1.2" } }; const clientDependencies = ({ client }) => { if (client in sqlClientModule) { return { ...sqlClientModule[client] }; } throw new Error(`Invalid client "${client}"`); }; module.exports = clientDependencies; //# sourceMappingURL=db-client-dependencies.js.map