@sanity/code-input 3.0.0-v3-studio.14 → 3.0.0-v3-studio.15
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/package.json +45 -46
package/package.json
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/code-input",
|
|
3
|
-
"version": "3.0.0-v3-studio.
|
|
3
|
+
"version": "3.0.0-v3-studio.15",
|
|
4
4
|
"description": "Ace editor for editing code",
|
|
5
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"sanity",
|
|
7
|
+
"cms",
|
|
8
|
+
"headless",
|
|
9
|
+
"realtime",
|
|
10
|
+
"content",
|
|
11
|
+
"code-input",
|
|
12
|
+
"sanity-plugin",
|
|
13
|
+
"code-editor"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/sanity-io/code-input#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/sanity-io/code-input/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git@github.com:sanity-io/code-input.git"
|
|
22
|
+
},
|
|
6
23
|
"license": "MIT",
|
|
7
|
-
"
|
|
24
|
+
"author": "Sanity.io <hello@sanity.io>",
|
|
8
25
|
"exports": {
|
|
9
26
|
".": {
|
|
10
27
|
"types": "./lib/src/index.d.ts",
|
|
@@ -12,10 +29,12 @@
|
|
|
12
29
|
"import": "./lib/index.esm.js",
|
|
13
30
|
"require": "./lib/index.js",
|
|
14
31
|
"default": "./lib/index.esm.js"
|
|
15
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
16
34
|
},
|
|
17
35
|
"main": "./lib/index.js",
|
|
18
36
|
"module": "./lib/index.esm.js",
|
|
37
|
+
"source": "./src/index.ts",
|
|
19
38
|
"types": "./lib/src/index.d.ts",
|
|
20
39
|
"files": [
|
|
21
40
|
"src",
|
|
@@ -24,33 +43,23 @@
|
|
|
24
43
|
"sanity.json"
|
|
25
44
|
],
|
|
26
45
|
"scripts": {
|
|
27
|
-
"clean": "rimraf lib",
|
|
28
46
|
"prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
|
|
29
|
-
"build": "pkg-utils build",
|
|
30
|
-
"
|
|
31
|
-
"watch": "pkg-utils watch",
|
|
32
|
-
"prepublishOnly": "npm run build",
|
|
47
|
+
"build": "pkg-utils build --strict",
|
|
48
|
+
"clean": "rimraf lib",
|
|
33
49
|
"compile": "tsc --noEmit",
|
|
34
|
-
"lint": "eslint .",
|
|
35
50
|
"format": "prettier src -w",
|
|
51
|
+
"link-watch": "plugin-kit link-watch",
|
|
52
|
+
"lint": "eslint .",
|
|
36
53
|
"prepare": "husky install",
|
|
37
|
-
"
|
|
54
|
+
"prepublishOnly": "npm run build",
|
|
55
|
+
"test": "jest",
|
|
56
|
+
"watch": "pkg-utils watch"
|
|
38
57
|
},
|
|
39
|
-
"keywords": [
|
|
40
|
-
"sanity",
|
|
41
|
-
"cms",
|
|
42
|
-
"headless",
|
|
43
|
-
"realtime",
|
|
44
|
-
"content",
|
|
45
|
-
"code-input",
|
|
46
|
-
"sanity-plugin",
|
|
47
|
-
"code-editor"
|
|
48
|
-
],
|
|
49
58
|
"dependencies": {
|
|
50
|
-
"@sanity/icons": "1.
|
|
59
|
+
"@sanity/icons": "^1.2.8",
|
|
51
60
|
"@sanity/incompatible-plugin": "^1.0.4",
|
|
52
61
|
"@sanity/ui": "1.0.0-beta.32",
|
|
53
|
-
"ace-builds": "^1.
|
|
62
|
+
"ace-builds": "^1.9.5",
|
|
54
63
|
"react-ace": "^10.1.0"
|
|
55
64
|
},
|
|
56
65
|
"devDependencies": {
|
|
@@ -58,10 +67,8 @@
|
|
|
58
67
|
"@babel/preset-react": "^7.18.6",
|
|
59
68
|
"@commitlint/cli": "^17.2.0",
|
|
60
69
|
"@commitlint/config-conventional": "^17.2.0",
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@sanity/pkg-utils": "^1.16.2",
|
|
64
|
-
"@sanity/plugin-kit": "^2.0.5",
|
|
70
|
+
"@sanity/pkg-utils": "^1.17.2",
|
|
71
|
+
"@sanity/plugin-kit": "^2.1.2",
|
|
65
72
|
"@sanity/semantic-release-preset": "^2.0.2",
|
|
66
73
|
"@testing-library/jest-dom": "^5.16.5",
|
|
67
74
|
"@testing-library/react": "^13.4.0",
|
|
@@ -76,37 +83,29 @@
|
|
|
76
83
|
"eslint-plugin-react": "^7.31.10",
|
|
77
84
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
78
85
|
"husky": "^8.0.1",
|
|
79
|
-
"jest": "^
|
|
80
|
-
"jest-environment-jsdom": "^
|
|
86
|
+
"jest": "^28.1.3",
|
|
87
|
+
"jest-environment-jsdom": "^28.1.3",
|
|
81
88
|
"lint-staged": "^13.0.3",
|
|
82
|
-
"parcel": "~2.6.0",
|
|
83
89
|
"prettier": "^2.7.1",
|
|
84
|
-
"
|
|
85
|
-
"react
|
|
90
|
+
"prettier-plugin-packagejson": "^2.3.0",
|
|
91
|
+
"react": "^18",
|
|
92
|
+
"react-dom": "^18",
|
|
86
93
|
"rimraf": "^3.0.2",
|
|
87
|
-
"sanity": "3.0.0-rc.0",
|
|
94
|
+
"sanity": "dev-preview || 3.0.0-rc.0",
|
|
88
95
|
"styled-components": "^5.2.0",
|
|
89
|
-
"ts-jest": "^
|
|
96
|
+
"ts-jest": "^28.0.7",
|
|
90
97
|
"typescript": "^4.8.4"
|
|
91
98
|
},
|
|
92
99
|
"peerDependencies": {
|
|
93
|
-
"react": "^18
|
|
94
|
-
"react-dom": "^18
|
|
100
|
+
"react": "^18",
|
|
101
|
+
"react-dom": "^18",
|
|
95
102
|
"sanity": "dev-preview || 3.0.0-rc.0",
|
|
96
103
|
"styled-components": "^5.2.0"
|
|
97
104
|
},
|
|
98
|
-
"bugs": {
|
|
99
|
-
"url": "https://github.com/sanity-io/code-input/issues"
|
|
100
|
-
},
|
|
101
|
-
"homepage": "https://github.com/sanity-io/code-input#readme",
|
|
102
|
-
"sanityExchangeUrl": "https://www.sanity.io/plugins/code-input",
|
|
103
|
-
"repository": {
|
|
104
|
-
"type": "git",
|
|
105
|
-
"url": "git@github.com:sanity-io/code-input.git"
|
|
106
|
-
},
|
|
107
105
|
"engines": {
|
|
108
|
-
"node": ">=14
|
|
106
|
+
"node": ">=14"
|
|
109
107
|
},
|
|
108
|
+
"sanityExchangeUrl": "https://www.sanity.io/plugins/code-input",
|
|
110
109
|
"sanityPlugin": {
|
|
111
110
|
"verifyPackage": {
|
|
112
111
|
"babelConfig": false
|