Files
payload/tsconfig.json
Jacob Fletcher 9724067242 feat: payload admin bar (#3684)
Imports https://github.com/payloadcms/payload-admin-bar into the Payload
monorepo. This package will now be regularly maintained directly
alongside all Payload packages and now includes its own test suite.

A few changes minor have been made between v1.0.7 and latest:

1. The package name has changed from `payload-admin-bar` to
`@payloadcms/admin-bar`.

    ```diff
    - import { PayloadAdminBar } from 'payload-admin-bar'
    + import { PayloadAdminBar } from '@payloadcms/admin-bar'
    ```
2. The `collection` prop has been renamed to `collectionSlug`
3. The `authCollection` prop has been renamed to `authCollectionSlug`

Here's a screenshot of the admin bar in use within the Website Template:

<img width="1057" alt="Screenshot 2025-03-05 at 1 20 04 PM"
src="https://github.com/user-attachments/assets/2597a8fd-da75-4b2f-8979-4fc8132999e8"
/>

---------

Co-authored-by: Kalon Robson <kalon.robson@outlook.com>
2025-03-05 19:14:35 +00:00

94 lines
1.6 KiB
JSON

{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"composite": false,
"noEmit": true,
"baseUrl": ".",
},
"references": [
{
"path": "./packages/admin-bar"
},
{
"path": "./packages/create-payload-app"
},
{
"path": "./packages/db-mongodb"
},
{
"path": "./packages/db-postgres"
},
{
"path": "./packages/drizzle"
},
{
"path": "./packages/graphql"
},
{
"path": "./packages/live-preview"
},
{
"path": "./packages/live-preview-react"
},
{
"path": "./packages/live-preview-vue"
},
{
"path": "./packages/next"
},
{
"path": "./packages/payload"
},
{
"path": "./packages/plugin-cloud-storage"
},
{
"path": "./packages/storage-s3"
},
{
"path": "./packages/payload-cloud"
},
{
"path": "./packages/plugin-form-builder"
},
{
"path": "./packages/plugin-nested-docs"
},
{
"path": "./packages/plugin-redirects"
},
{
"path": "./packages/plugin-search"
},
{
"path": "./packages/plugin-seo"
},
{
"path": "./packages/plugin-import-export"
},
{
"path": "./packages/plugin-stripe"
},
{
"path": "./packages/plugin-multi-tenant"
},
{
"path": "./packages/richtext-slate"
},
{
"path": "./packages/richtext-lexical"
},
{
"path": "./packages/translations"
},
{
"path": "./packages/ui"
},
],
"include": [
"${configDir}/src",
".next/types/**/*.ts",
"./scripts/**/*.ts",
]
}