@live-codes/browser-compilers 0.6.0 → 0.6.2

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.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "esbuild-plugin-cache": "0.2.9",
58
58
  "esbuild-plugin-velcro": "0.1.1",
59
59
  "eslint": "8.11.0",
60
+ "flow-remove-types": "2.203.1",
60
61
  "less": "4.1.2",
61
62
  "lightningcss-wasm": "1.14.0",
62
63
  "patch-package": "6.4.7",
@@ -356,3 +356,19 @@ esbuild.build({
356
356
  globalName: 'civet',
357
357
  plugins: nodePolyfills,
358
358
  });
359
+
360
+ // fennel
361
+ mkdirp(targetDir + '/fennel');
362
+ fs.copyFileSync(
363
+ path.resolve(vendor_modules_src + '/fennel/fennel.lua'),
364
+ path.resolve(targetDir + '/fennel/fennel.lua'),
365
+ );
366
+
367
+ // flow-remove-types
368
+ esbuild.build({
369
+ ...baseOptions,
370
+ entryPoints: ['vendor_modules/imports/flow-remove-types.js'],
371
+ outfile: 'dist/flow-remove-types/flow-remove-types.js',
372
+ globalName: 'flowRemoveTypes',
373
+ plugins: nodePolyfills,
374
+ });
@@ -16,6 +16,10 @@ dart-sass: [MIT License](https://github.com/sass/dart-sass/blob/e3bf3eb3a3a87088
16
16
 
17
17
  elkjs-svg: [MIT License](https://github.com/EmilStenstrom/elkjs-svg/blob/4a8709b2407d23218904f523552c565a37764e40/LICENSE)
18
18
 
19
+ Fennel: [MIT License](https://git.sr.ht/~technomancy/fennel/tree/e70ebb133b9d472246502dee8be119360ec568ca/item/LICENSE)
20
+
21
+ flow-remove-types: [MIT License](https://github.com/facebook/flow/blob/3ebee9f08106eb8aefbf98111fee696d333b8456/packages/flow-remove-types/LICENSE)
22
+
19
23
  gnuplot-JS: [MIT License](https://github.com/chhu/gnuplot-JS/blob/62a3c8488ad00c97807ba48ae75738ca3af607fe/LICENSE)
20
24
 
21
25
  JSCPP: [MIT License](https://github.com/felixhao28/JSCPP/blob/befbd6b48666007151c259c5dd291ab028ad4c04/LICENSE)
@@ -0,0 +1,3 @@
1
+ import transpile from 'flow-remove-types';
2
+
3
+ export { transpile };