@sanity/code-input 3.0.0-v3-studio.15 → 3.0.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 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
# @sanity/code-input
|
|
2
2
|
|
|
3
|
-
> **
|
|
4
|
-
>
|
|
5
|
-
> This is the **Sanity Studio v3 version** of @sanity/code-input.
|
|
6
|
-
>
|
|
3
|
+
> This is a **Sanity Studio v3** plugin.
|
|
7
4
|
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity/tree/next/packages/%40sanity/code-input).
|
|
8
5
|
|
|
9
6
|
## What is it?
|
|
@@ -19,13 +16,13 @@ Click lines to highlight them.
|
|
|
19
16
|
## Installation
|
|
20
17
|
|
|
21
18
|
```
|
|
22
|
-
npm install --save @sanity/code-input
|
|
19
|
+
npm install --save @sanity/code-input
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
or
|
|
26
23
|
|
|
27
24
|
```
|
|
28
|
-
yarn add @sanity/code-input
|
|
25
|
+
yarn add @sanity/code-input
|
|
29
26
|
```
|
|
30
27
|
|
|
31
28
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/code-input",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Ace editor for editing code",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"watch": "pkg-utils watch"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@sanity/icons": "^
|
|
59
|
+
"@sanity/icons": "^2.0.0",
|
|
60
60
|
"@sanity/incompatible-plugin": "^1.0.4",
|
|
61
|
-
"@sanity/ui": "1.0.0
|
|
61
|
+
"@sanity/ui": "^1.0.0",
|
|
62
62
|
"ace-builds": "^1.9.5",
|
|
63
63
|
"react-ace": "^10.1.0"
|
|
64
64
|
},
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"react": "^18",
|
|
92
92
|
"react-dom": "^18",
|
|
93
93
|
"rimraf": "^3.0.2",
|
|
94
|
-
"sanity": "
|
|
94
|
+
"sanity": "^3.0.0",
|
|
95
95
|
"styled-components": "^5.2.0",
|
|
96
96
|
"ts-jest": "^28.0.7",
|
|
97
97
|
"typescript": "^4.8.4"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"react": "^18",
|
|
101
101
|
"react-dom": "^18",
|
|
102
|
-
"sanity": "
|
|
102
|
+
"sanity": "^3.0.0",
|
|
103
103
|
"styled-components": "^5.2.0"
|
|
104
104
|
},
|
|
105
105
|
"engines": {
|