lean4monaco 1.0.21 → 1.0.23

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 CHANGED
@@ -78,9 +78,13 @@ export default {
78
78
 
79
79
  For Vite dev mode to work properly, the following plugin is necessary:
80
80
 
81
+ ```
82
+ npm install -D 'https://gitpkg.vercel.app/hhu-adam/lean4monaco/esbuild-import-meta-url-plugin?main'
83
+ ```
84
+
81
85
  ```ts
82
86
  // vite.config.ts
83
- import importMetaUrlPlugin from 'lean4monaco/esbuild-import-meta-url-plugin/esbuildImportMetaUrlPlugin'
87
+ import importMetaUrlPlugin from '@codingame/esbuild-import-meta-url-plugin'
84
88
 
85
89
  export default {
86
90
  optimizeDeps: {
@@ -131,7 +131,7 @@ export class IFrameInfoWebviewFactory {
131
131
  color: var(--vscode-editor-foreground);
132
132
  }
133
133
  </style>
134
- <link rel="stylesheet" href="${new URL('../node_modules/@leanprover/infoview/dist/index.css', import.meta.url)}">
134
+ <link rel="stylesheet" href="${new URL('./vscode-lean4/lean4-infoview/src/infoview/index.css', import.meta.url)}">
135
135
  </head>
136
136
  <body>
137
137
  <div id="react_root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lean4monaco",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Monaco Editor support for the Lean 4 theorem prover.",
5
5
  "keywords": [
6
6
  "lean",