create-payload-app 0.5.0-beta.0 → 0.5.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/packages.js +5 -5
- package/package.json +1 -1
package/dist/lib/packages.js
CHANGED
@@ -11,11 +11,11 @@ var mongodbReplacement = {
|
|
11
11
|
' }),',
|
12
12
|
],
|
13
13
|
};
|
14
|
-
var
|
15
|
-
packageName: '@payloadcms/db-
|
16
|
-
importReplacement: "import {
|
14
|
+
var postgresReplacement = {
|
15
|
+
packageName: '@payloadcms/db-postgres',
|
16
|
+
importReplacement: "import { postgresAdapter } from '@payloadcms/db-postgres'",
|
17
17
|
configReplacement: [
|
18
|
-
' db:
|
18
|
+
' db: postgresAdapter({',
|
19
19
|
' client: {',
|
20
20
|
' connectionString: process.env.DATABASE_URI,',
|
21
21
|
' },',
|
@@ -24,7 +24,7 @@ var postgresqlReplacement = {
|
|
24
24
|
};
|
25
25
|
exports.dbPackages = {
|
26
26
|
mongodb: mongodbReplacement,
|
27
|
-
postgres:
|
27
|
+
postgres: postgresReplacement,
|
28
28
|
};
|
29
29
|
var webpackReplacement = {
|
30
30
|
packageName: '@payloadcms/bundler-webpack',
|