Files
payloadcms/test/tsconfig.typecheck.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

83 lines
1.5 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"incremental": false
},
"exclude": ["dist", "build", "temp", "node_modules"],
"include": [
// "./test/_community/**/*.ts"
// "./_community/**/*.ts"
"/**/*.ts"
// "../packages/**/src/**/*.ts",
// "../packages/**/src/**/*.tsx"
],
"references": [
{
"path": "../packages/admin-bar"
},
{
"path": "../packages/create-payload-app"
},
{
"path": "../packages/db-mongodb"
},
{
"path": "../packages/db-postgres"
},
{
"path": "../packages/graphql"
},
{
"path": "../packages/live-preview"
},
{
"path": "../packages/live-preview-react"
},
{
"path": "../packages/next"
},
{
"path": "../packages/payload"
},
{
"path": "../packages/plugin-cloud-storage"
},
{
"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-sentry"
},
{
"path": "../packages/plugin-seo"
},
{
"path": "../packages/plugin-stripe"
},
{
"path": "../packages/richtext-slate"
},
{
"path": "../packages/richtext-lexical"
},
{
"path": "../packages/translations"
},
{
"path": "../packages/ui"
}
]
}