@sanity/cross-dataset-duplicator 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Cross Dataset Duplicator
|
|
2
2
|
|
|
3
|
-
Studio Tool and Document Action for empowering content editors to migrate Documents and Assets between Sanity Datasets and Projects from inside the Studio.
|
|
3
|
+
Sanity Studio Tool and Document Action for empowering content editors to migrate Documents and Assets between Sanity Datasets and Projects from inside the Studio.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
// From the root directory of your studio
|
|
7
|
+
From the root directory of your studio
|
|
9
8
|
|
|
9
|
+
```
|
|
10
10
|
sanity install @sanity/cross-dataset-duplicator
|
|
11
11
|
```
|
|
12
12
|
|
|
@@ -87,7 +87,7 @@ Now update your Studio's Document Actions resolver to be something like this
|
|
|
87
87
|
|
|
88
88
|
```js
|
|
89
89
|
import defaultResolve from 'part:@sanity/base/document-actions'
|
|
90
|
-
import {DuplicateToAction} from 'sanity-
|
|
90
|
+
import {DuplicateToAction} from '@sanity/cross-dataset-duplicator'
|
|
91
91
|
import config from 'config:@sanity/cross-dataset-duplicator'
|
|
92
92
|
|
|
93
93
|
export default function resolveDocumentActions(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cross-dataset-duplicator",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Empower content editors to migrate Documents and Assets between Sanity Projects and Datasets from inside Sanity Studio",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|