@live-codes/browser-compilers 0.22.0 → 0.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-codes/browser-compilers",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -77,6 +77,7 @@
77
77
  "postcss-preset-env": "10.1.5",
78
78
  "posthtml": "0.16.6",
79
79
  "posthtml-css-modules": "0.1.3",
80
+ "prettier-plugin-java": "2.6.7",
80
81
  "pug": "3.0.3",
81
82
  "react": "19.1.0",
82
83
  "react-dom": "19.1.0",
@@ -156,6 +156,14 @@ patch('node_modules/browserslist/index.js', {
156
156
  });
157
157
  });
158
158
 
159
+ // prettier-plugin-java
160
+ esbuild.build({
161
+ ...baseOptions,
162
+ entryPoints: ['node_modules/prettier-plugin-java/dist/index.js'],
163
+ outfile: 'dist/prettier/parser-java.js',
164
+ globalName: 'pluginJava',
165
+ });
166
+
159
167
  // @prettier/plugin-pug
160
168
  esbuild.build({
161
169
  ...baseOptions,