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
|
node_modules
|
||||||
.env
|
.env
|
||||||
dist
|
dist
|
||||||
|
build
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Payload Search Plugin
|
# 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.
|
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
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn add payload-plugin-search
|
yarn add @payloadcms/plugin-search
|
||||||
# OR
|
# OR
|
||||||
npm i payload-plugin-search
|
npm i @payloadcms/plugin-search
|
||||||
```
|
```
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
@@ -121,9 +121,9 @@ All types can be directly imported:
|
|||||||
import {
|
import {
|
||||||
SearchConfig,
|
SearchConfig,
|
||||||
BeforeSync
|
BeforeSync
|
||||||
} from 'payload-plugin-search/dist/types';
|
} from '@payloadcms/plugin-search/dist/types';
|
||||||
```
|
```
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
<!--  -->
|
<!--  -->
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"payload": "^0.15.6",
|
"payload": "^0.18.5"
|
||||||
"@payloadcms/config-provider": "^1.0.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/express": "^4.17.9",
|
"@types/express": "^4.17.9",
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ export default buildConfig({
|
|||||||
...config.resolve.alias,
|
...config.resolve.alias,
|
||||||
react: path.join(__dirname, "../node_modules/react"),
|
react: path.join(__dirname, "../node_modules/react"),
|
||||||
"react-dom": path.join(__dirname, "../node_modules/react-dom"),
|
"react-dom": path.join(__dirname, "../node_modules/react-dom"),
|
||||||
"payload": path.join(__dirname, "../node_modules/payload"),
|
"payload": path.join(__dirname, "../node_modules/payload")
|
||||||
"@payloadcms/config-provider": path.join(__dirname, "../node_modules/@payloadcms/config-provider"),
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
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",
|
"version": "0.0.6",
|
||||||
|
"homepage:": "https://payloadcms.com",
|
||||||
|
"repository": "git@github.com:payloadcms/plugin-search.git",
|
||||||
"description": "Search plugin for Payload CMS",
|
"description": "Search plugin for Payload CMS",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@@ -20,12 +22,11 @@
|
|||||||
"author": "dev@trbl.design",
|
"author": "dev@trbl.design",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"payload": "^0.15.6",
|
"payload": "^0.18.5",
|
||||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||||
"@payloadcms/config-provider": "^1.0.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"payload": "^0.15.6",
|
"payload": "^0.18.5",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"typescript": "^4.5.5"
|
"typescript": "^4.5.5"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { useWatchForm } from 'payload/components/forms';
|
|||||||
import CopyToClipboard from 'payload/dist/admin/components/elements/CopyToClipboard';
|
import CopyToClipboard from 'payload/dist/admin/components/elements/CopyToClipboard';
|
||||||
import { UIField } from 'payload/dist/fields/config/types';
|
import { UIField } from 'payload/dist/fields/config/types';
|
||||||
import { Fields } from 'payload/dist/admin/components/forms/Form/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 & {
|
type FieldsWithDoc = Fields & {
|
||||||
doc: {
|
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