Files
myeasycms-v2/package.json
giancarlo 6b72206b00 Refactor CMS to handle ContentLayer and WordPress platforms
This commit refactors the CMS to handle two platforms: ContentLayer and WordPress. The CMS layer is abstracted into a core package, and separate implementations for each platform are created. This change allows the app to switch the CMS type based on environment variable, which can improve the flexibility of content management. It also updates several functions in the `server-sitemap.xml` route to accommodate these changes and generate sitemaps based on the CMS client. Further, documentation content and posts have been relocated to align with the new structure. Notably, this refactor is a comprehensive update to the way the CMS is structured and managed.
2024-04-01 19:47:51 +08:00

45 lines
1.7 KiB
JSON

{
"name": "next-supabase-saas-kit-turbo",
"private": true,
"engines": {
"node": ">=v18.17.1"
},
"scripts": {
"build": "turbo build",
"clean": "git clean -xdf node_modules dist .next",
"clean:workspaces": "turbo clean",
"dev": "cross-env FORCE_COLOR=1 turbo dev --parallel",
"dev:web": "turbo dev --parallel",
"format": "turbo format --continue -- --cache --cache-location='node_modules/.cache/.prettiercache' --ignore-path='../../.gitignore'",
"format:fix": "turbo format --continue -- --write --cache --cache-location='node_modules/.cache/.prettiercache' --ignore-path='../../.gitignore'",
"lint": "turbo lint --continue -- --cache --cache-location 'node_modules/.cache/.eslintcache' && manypkg check",
"lint:fix": "turbo lint --continue -- --fix --cache --cache-location 'node_modules/.cache/.eslintcache' && manypkg fix",
"typecheck": "turbo typecheck",
"stripe:listen": "pnpm --filter '@kit/stripe' start",
"supabase:start": "turbo dev --filter @kit/supabase-config",
"supabase:stop": "pnpm --filter '@kit/supabase-config' stop",
"supabase:reset": "pnpm --filter '@kit/supabase-config' reset",
"supabase:lint": "pnpm --filter '@kit/supabase-config' lint",
"supabase:typegen": "pnpm --filter '@kit/supabase-config' typegen"
},
"prettier": "@kit/prettier-config",
"packageManager": "pnpm@8.15.5",
"workspaces": [
"apps/*",
"packages/*",
"packages/features/*",
"packages/cms/*",
"tooling/*",
"supabase"
],
"dependencies": {
"@manypkg/cli": "^0.21.3",
"@turbo/gen": "^1.13.0",
"cross-env": "^7.0.3",
"pnpm": "^8.15.5",
"prettier": "^3.2.5",
"turbo": "^1.13.0",
"yarn": "^1.22.22"
}
}