Skip to content

Commit

Permalink
refactor(cms): integrate into monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Dec 22, 2024
1 parent 5f88c43 commit 7d4be3e
Show file tree
Hide file tree
Showing 24 changed files with 5,664 additions and 12,565 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
strict-peer-dependencies=false
auto-install-peers=true
public-hoist-pattern[]=*
legacy-peer-deps=true
6 changes: 0 additions & 6 deletions apps/cms/.prettierrc.json

This file was deleted.

7 changes: 7 additions & 0 deletions apps/cms/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
// Your Next.js config here
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
}

export default withPayload(nextConfig)
27 changes: 1 addition & 26 deletions apps/cms/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,15 @@
{
"name": "cms",
"version": "1.0.0",
"description": "A blank template to get started with Payload 3.0",
"license": "MIT",
"type": "module",
"scripts": {
"build": "cross-env NODE_OPTIONS=--no-deprecation next build",
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
"devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
"lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6",
"@payloadcms/db-postgres": "latest"
"sharp": "0.32.6"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@types/node": "^22.5.4",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"eslint": "^9.16.0",
"eslint-config-next": "15.1.0",
"prettier": "^3.4.2",
"typescript": "5.7.2"
},
"engines": {
Expand Down
Loading

0 comments on commit 7d4be3e

Please sign in to comment.