@harnessio/yaml-editor 0.13.0 → 0.15.0-beta-1
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 +28 -0
- package/dist/components/BlameEditor.d.ts +6 -2
- package/dist/components/CodeEditor.d.ts +5 -5
- package/dist/components/DiffEditor.d.ts +5 -4
- package/dist/components/YamlEditor.d.ts +4 -2
- package/dist/components/YamlProvider.d.ts +1 -1
- package/dist/constants/monaco-common-default-options.d.ts +2 -0
- package/dist/index.js +496 -379
- package/dist/index.js.map +1 -1
- package/dist/monacoeditorwork/css.worker.bundle.js +8373 -13225
- package/dist/monacoeditorwork/editor.worker.bundle.js +1345 -3036
- package/dist/monacoeditorwork/html.worker.bundle.js +3502 -5305
- package/dist/monacoeditorwork/json.worker.bundle.js +3996 -6228
- package/dist/monacoeditorwork/ts.worker.bundle.js +48966 -122143
- package/dist/monacoeditorwork/yaml.worker.bundle.js +4302 -4421
- package/dist/types/themes.d.ts +3 -0
- package/dist/utils/schema-utils.d.ts +1 -1
- package/package.json +12 -12
package/dist/types/themes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Uri } from 'monaco-editor';
|
|
2
2
|
|
|
3
|
-
export declare function configureSchema(schemaConfig: any):
|
|
3
|
+
export declare function configureSchema(schemaConfig: any): void;
|
|
4
4
|
export declare const schemaIdToUrl: (id: string) => string;
|
|
5
5
|
export declare const schemaIdToUri: (id: string) => Uri;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/yaml-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-beta-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Harness Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@monaco-editor/react": "4.6.0",
|
|
16
|
-
"monaco-editor": "0.
|
|
17
|
-
"monaco-yaml": "
|
|
18
|
-
"react": "^
|
|
19
|
-
"react-dom": "^
|
|
16
|
+
"monaco-editor": "^0.40.0",
|
|
17
|
+
"monaco-yaml": "^4.0.4",
|
|
18
|
+
"react": "^17.0.2",
|
|
19
|
+
"react-dom": "^17.0.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@babel/core": "^7.24.7",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"@babel/preset-react": "^7.24.7",
|
|
25
25
|
"@babel/preset-typescript": "^7.24.7",
|
|
26
26
|
"@testing-library/jest-dom": "^5.17.0",
|
|
27
|
-
"@testing-library/react": "^
|
|
27
|
+
"@testing-library/react": "^12.1.5",
|
|
28
28
|
"@testing-library/user-event": "^13.5.0",
|
|
29
29
|
"@types/jest": "^27.5.2",
|
|
30
30
|
"@types/node": "^16.18.101",
|
|
31
|
-
"@types/react": "^
|
|
32
|
-
"@types/react-dom": "^
|
|
31
|
+
"@types/react": "^17.0.3",
|
|
32
|
+
"@types/react-dom": "^17.0.3",
|
|
33
33
|
"@vitejs/plugin-react": "^4.0.4",
|
|
34
34
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
35
35
|
"babel-loader": "^9.1.3",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
+
"dev": "vite build --watch",
|
|
65
66
|
"webpack": "webpack",
|
|
66
67
|
"build": "vite build",
|
|
67
68
|
"build:ci": "vite build",
|
|
68
|
-
"watch
|
|
69
|
-
"build-yalc": "pnpm build && pnpm yalc-push",
|
|
70
|
-
"yalc-push": "yalc push",
|
|
69
|
+
"build:watch": "vite build --watch",
|
|
71
70
|
"pretty": "prettier --check ./src",
|
|
72
71
|
"lint": "eslint ./src",
|
|
73
|
-
"pre-commit": "lint-staged"
|
|
72
|
+
"pre-commit": "lint-staged",
|
|
73
|
+
"playground": "vite dev --config vite.config.playground.ts"
|
|
74
74
|
}
|
|
75
75
|
}
|