adminforth 3.0.1 → 3.0.2-next.2

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.
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@dotenvx/dotenvx": "^1.34.0",
28
28
  "adminforth": "{{adminforthVersion}}",
29
- "@adminforth/connector-sqlite": "latest",
29
+ "@adminforth/connector-{{connectorProvider}}": "latest",
30
30
  "express": "latest-4",
31
31
  "zod": "^4.3.6"
32
32
  },
@@ -316,6 +316,7 @@ async function writeTemplateFiles(dirname, cwd, useNpm, includePrismaMigrations,
316
316
  const packageManagerTemplateData = getPackageManagerTemplateData(useNpm, nodeMajor);
317
317
  const resolvedPrismaDbUrl = includePrismaMigrations ? prismaDbUrl : null;
318
318
  const resolvedPrismaDbUrlProd = includePrismaMigrations ? prismaDbUrlProd : null;
319
+ const connectorProvider = provider === 'postgresql' ? 'postgres' : provider;
319
320
 
320
321
  // Build a list of files to generate
321
322
  const templateTasks = [
@@ -419,6 +420,7 @@ async function writeTemplateFiles(dirname, cwd, useNpm, includePrismaMigrations,
419
420
  appName,
420
421
  adminforthVersion: adminforthVersion,
421
422
  includePrismaMigrations: Boolean(resolvedPrismaDbUrl),
423
+ connectorProvider: connectorProvider,
422
424
  },
423
425
  },
424
426
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "3.0.1",
3
+ "version": "3.0.2-next.2",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
5
  "keywords": [
6
6
  "adminforth",