sanity-plugin-internationalized-array 1.2.0 → 1.3.0
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 +3 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
> This is a **Sanity Studio v3** plugin.
|
|
2
|
-
|
|
3
|
-
> **NOTE**
|
|
4
|
-
>
|
|
5
1
|
> This is the **Sanity Studio v3 version** of sanity-plugin-internationalized-array.
|
|
6
2
|
>
|
|
7
|
-
> For the v2 version, please refer to the [v2-branch](https://github.com/SimeonGriggs/sanity-plugin-internationalized-array).
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
3
|
+
> For the v2 version, please refer to the [v2-branch](https://github.com/SimeonGriggs/sanity-plugin-internationalized-array/tree/studio-v2).
|
|
10
4
|
|
|
11
5
|
# sanity-plugin-internationalized-array
|
|
12
6
|
|
|
13
|
-
> NOTE This is for the Studio v3 version of the plugin
|
|
14
|
-
|
|
15
7
|
A helper function that renders a custom input component for writing localized fields of content into an array.
|
|
16
8
|
|
|
17
9
|

|
|
@@ -19,13 +11,13 @@ A helper function that renders a custom input component for writing localized fi
|
|
|
19
11
|
## Installation
|
|
20
12
|
|
|
21
13
|
```
|
|
22
|
-
npm install --save sanity-plugin-internationalized-array
|
|
14
|
+
npm install --save sanity-plugin-internationalized-array
|
|
23
15
|
```
|
|
24
16
|
|
|
25
17
|
or
|
|
26
18
|
|
|
27
19
|
```
|
|
28
|
-
yarn add sanity-plugin-internationalized-array
|
|
20
|
+
yarn add sanity-plugin-internationalized-array
|
|
29
21
|
```
|
|
30
22
|
|
|
31
23
|
## Usage (simple)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-internationalized-array",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Store localized fields in an array to save on attributes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"sanity.json"
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
|
+
"prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
|
|
41
|
+
"build": "pkg-utils build",
|
|
40
42
|
"clean": "rimraf lib",
|
|
41
43
|
"link-watch": "plugin-kit link-watch",
|
|
42
44
|
"lint": "eslint .",
|
|
43
|
-
"prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
|
|
44
45
|
"prepare": "husky install",
|
|
45
46
|
"prepublishOnly": "npm run build",
|
|
46
|
-
"build": "pkg-utils build",
|
|
47
47
|
"watch": "pkg-utils watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|