chore: bumps payload to v0.14.24-beta.0
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types"
|
||||
},
|
||||
"dependencies": {
|
||||
"payload": "^0.14.0",
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1"
|
||||
"express": "^4.17.1",
|
||||
"payload": "^0.14.24-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.9",
|
||||
|
||||
@@ -9,6 +9,22 @@ export default buildConfig({
|
||||
serverURL: 'http://localhost:3000',
|
||||
admin: {
|
||||
user: Users.slug,
|
||||
webpack: (config) => {
|
||||
const newConfig = {
|
||||
...config,
|
||||
resolve: {
|
||||
...config.resolve,
|
||||
alias: {
|
||||
...config.resolve.alias,
|
||||
react: path.join(__dirname, "../node_modules/react"),
|
||||
"react-dom": path.join(__dirname, "../node_modules/react-dom"),
|
||||
"payload": path.join(__dirname, "../node_modules/payload"),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
return newConfig;
|
||||
},
|
||||
},
|
||||
collections: [
|
||||
Users,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -22,12 +22,12 @@
|
||||
"author": "dev@trbl.design",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"payload": "^0.14.0",
|
||||
"payload": "^0.14.24-beta.0",
|
||||
"react": "^17.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/escape-html": "^1.0.1",
|
||||
"payload": "^0.14.0",
|
||||
"payload": "^0.14.24-beta.0",
|
||||
"react": "^17.0.2",
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@ export type FieldsConfig = {
|
||||
payment?: boolean | FieldConfig
|
||||
}
|
||||
|
||||
export type BeforeEmail = (emails: FormattedEmail[]) => FormattedEmail[];
|
||||
export type BeforeEmail = (emails: FormattedEmail[]) => FormattedEmail[] | Promise<FormattedEmail[]>;
|
||||
export type HandlePayment = (data: any) => void;
|
||||
|
||||
export type FormConfig = {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user