@live-codes/browser-compilers 0.6.1 → 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.1",
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",
@@ -363,3 +363,12 @@ fs.copyFileSync(
363
363
  path.resolve(vendor_modules_src + '/fennel/fennel.lua'),
364
364
  path.resolve(targetDir + '/fennel/fennel.lua'),
365
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
+ });
@@ -18,6 +18,8 @@ elkjs-svg: [MIT License](https://github.com/EmilStenstrom/elkjs-svg/blob/4a8709b
18
18
 
19
19
  Fennel: [MIT License](https://git.sr.ht/~technomancy/fennel/tree/e70ebb133b9d472246502dee8be119360ec568ca/item/LICENSE)
20
20
 
21
+ flow-remove-types: [MIT License](https://github.com/facebook/flow/blob/3ebee9f08106eb8aefbf98111fee696d333b8456/packages/flow-remove-types/LICENSE)
22
+
21
23
  gnuplot-JS: [MIT License](https://github.com/chhu/gnuplot-JS/blob/62a3c8488ad00c97807ba48ae75738ca3af607fe/LICENSE)
22
24
 
23
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 };