Commit Graph

11 Commits (beed7d171a967ffecdad3fd8aefe96af7c08a5c8)

Author SHA1 Message Date
Henning Dieterichs c92637e1f1
Merge pull request #3390 from tr3ysmith/patch-1
Fix possible duplicate of editors in vite sample
2 years ago
dependabot[bot] 629021b16b
Bump json5 from 2.2.1 to 2.2.3 in /samples/browser-esm-vite-react
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Trey Smith 8d313a9472 run prettier 2 years ago
Trey Smith 1aa33634de
Fix possible duplicate of editors in vite sample
In testing the vite sample, I could see duplicate editors created on the screen. From what I can tell, this was due to the if statement checking if editor was null in the `useEffect`. However, the editor variable would not be updated on the first re-render causing a double instance. I adjusted the editor check to be inside the `state dispatch` since it would have the most current information. This seems to have fixed the issue on my end.
2 years ago
dependabot[bot] 22698f2c1b
Bump vite from 2.8.6 to 2.9.13 in /samples/browser-esm-vite-react (#3274)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.8.6 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2 years ago
Alex Dima ab386ca3d6
update all deps 3 years ago
Alex Dima d8417a5576
Update dependencies 3 years ago
dependabot[bot] 4ba89c03b1
Bump nanoid from 3.1.30 to 3.2.0 in /samples/browser-esm-vite-react
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Alex Dima a6fae61e35
Towards publishing `monaco-editor-webpack-plugin` 3 years ago
Alex Dima e77825074d
Fix some samples 3 years ago
Alex Dima 091f871e65
Rename to `/samples/` 3 years ago