@codingame/monaco-vscode-api 1.82.5-next.1 → 1.82.6

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.
@@ -841,16 +841,16 @@ async function run() {
841
841
  const monacoPackageJsonFile = path.resolve(monacoDirectory, 'package.json');
842
842
  const monacoPackageJson = JSON.parse((await fs.readFile(monacoPackageJsonFile)).toString('utf-8'));
843
843
  const monacoVersion = monacoPackageJson.version;
844
- if ("0.43.0" !== monacoVersion) {
845
- console.error(`Wrong monaco-editor version: expecting ${"0.43.0"}, got ${monacoVersion}`);
846
- process.exit(1);
847
- }
848
844
  const alreadyPatched = monacoPackageJson.treemended ?? false;
849
845
  if (alreadyPatched) {
850
846
  // eslint-disable-next-line no-console
851
847
  console.info('Monaco-editor has already been tree-mended, ignoring');
852
848
  process.exit(0);
853
849
  }
850
+ if ("0.43.0" !== monacoVersion) {
851
+ console.error(`Wrong monaco-editor version: expecting ${"0.43.0"}, got ${monacoVersion}`);
852
+ process.exit(1);
853
+ }
854
854
  // pnpm WA: copy files to a temp directory and patch files there. When finished copy back
855
855
  let workingDir = monacoEsmDirectory;
856
856
  let tmpDir;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.82.5-next.1",
3
+ "version": "1.82.6",
4
4
  "description": "VSCode public API plugged on the monaco editor",
5
5
  "keywords": [],
6
6
  "author": {