chore: updates payload and package scope
This commit is contained in:
1
packages/plugin-search/.gitignore
vendored
1
packages/plugin-search/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
.env
|
||||
dist
|
||||
build
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Payload Search Plugin
|
||||
|
||||
[](https://www.npmjs.com/package/payload-plugin-search)
|
||||
[](https://www.npmjs.com/package/@payloadcms/plugin-search)
|
||||
|
||||
A plugin for [Payload CMS](https://github.com/payloadcms/payload) to create extremely fast search results from your existing documents.
|
||||
|
||||
@@ -13,9 +13,9 @@ Core features:
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
yarn add payload-plugin-search
|
||||
yarn add @payloadcms/plugin-search
|
||||
# OR
|
||||
npm i payload-plugin-search
|
||||
npm i @payloadcms/plugin-search
|
||||
```
|
||||
|
||||
## Basic Usage
|
||||
@@ -121,9 +121,9 @@ All types can be directly imported:
|
||||
import {
|
||||
SearchConfig,
|
||||
BeforeSync
|
||||
} from 'payload-plugin-search/dist/types';
|
||||
} from '@payloadcms/plugin-search/dist/types';
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
|
||||
<!--  -->
|
||||
<!--  -->
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
"dependencies": {
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"payload": "^0.15.6",
|
||||
"@payloadcms/config-provider": "^1.0.0"
|
||||
"payload": "^0.18.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.9",
|
||||
|
||||
@@ -19,8 +19,7 @@ export default buildConfig({
|
||||
...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"),
|
||||
"@payloadcms/config-provider": path.join(__dirname, "../node_modules/@payloadcms/config-provider"),
|
||||
"payload": path.join(__dirname, "../node_modules/payload")
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"name": "payload-plugin-search",
|
||||
"name": "@payloadcms/plugin-search",
|
||||
"version": "0.0.6",
|
||||
"homepage:": "https://payloadcms.com",
|
||||
"repository": "git@github.com:payloadcms/plugin-search.git",
|
||||
"description": "Search plugin for Payload CMS",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
@@ -20,12 +22,11 @@
|
||||
"author": "dev@trbl.design",
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"payload": "^0.15.6",
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
||||
"@payloadcms/config-provider": "^1.0.0"
|
||||
"payload": "^0.18.5",
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"payload": "^0.15.6",
|
||||
"payload": "^0.18.5",
|
||||
"react": "^17.0.2",
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useWatchForm } from 'payload/components/forms';
|
||||
import CopyToClipboard from 'payload/dist/admin/components/elements/CopyToClipboard';
|
||||
import { UIField } from 'payload/dist/fields/config/types';
|
||||
import { Fields } from 'payload/dist/admin/components/forms/Form/types';
|
||||
import { useConfig } from '@payloadcms/config-provider';
|
||||
import { useConfig } from 'payload/components/utilities';
|
||||
|
||||
type FieldsWithDoc = Fields & {
|
||||
doc: {
|
||||
|
||||
9453
packages/plugin-search/yarn.lock
Normal file
9453
packages/plugin-search/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user