@live-codes/browser-compilers 0.6.4 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-codes/browser-compilers",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "@esbuild-plugins/node-globals-polyfill": "0.1.1",
30
30
  "@esbuild-plugins/node-modules-polyfill": "0.1.4",
31
31
  "@fullhuman/postcss-purgecss": "5.0.0",
32
- "@mdx-js/mdx": "2.0.0",
32
+ "@mdx-js/mdx": "2.3.0",
33
33
  "@prettier/plugin-pug": "1.19.2",
34
34
  "@testing-library/dom": "9.2.0",
35
35
  "@testing-library/jest-dom": "5.16.5",
@@ -71,6 +71,7 @@
71
71
  "react-native-web": "0.19.1",
72
72
  "remark-gfm": "3.0.1",
73
73
  "sass": "1.49.7",
74
+ "sucrase": "3.32.0",
74
75
  "svelte": "3.44.1",
75
76
  "windicss": "3.2.1"
76
77
  },
@@ -381,3 +381,11 @@ esbuild.build({
381
381
  globalName: 'flowRemoveTypes',
382
382
  plugins: nodePolyfills,
383
383
  });
384
+
385
+ // sucrase
386
+ esbuild.build({
387
+ ...baseOptions,
388
+ entryPoints: ['vendor_modules/imports/sucrase.js'],
389
+ outfile: 'dist/sucrase/sucrase.js',
390
+ globalName: 'sucrase',
391
+ });
@@ -32,7 +32,7 @@ LiveScript: [MIT License](https://github.com/gkz/LiveScript/blob/bd9faa4d484b6ab
32
32
 
33
33
  lua-fmt: [MIT License](https://github.com/trixnz/lua-fmt/blob/3cbb57c38b12b849711286dda4f43b62e09f806d/LICENSE)
34
34
 
35
- MDX: [MIT License](https://github.com/mdx-js/mdx/blob/02509286b5a39d6df233225545cf87e070130588/license)
35
+ MDX: [MIT License](https://github.com/mdx-js/mdx/blob/7fd1d9a4272754951e70dbaecff07a0ae402e13e/license)
36
36
 
37
37
  Monaco-editor: [MIT License](https://github.com/microsoft/monaco-editor/blob/f849d3f2653d1097652a7d9e1d01d242cc225da8/LICENSE.md)
38
38
 
@@ -44,6 +44,14 @@ PostCSS: [MIT License](https://github.com/postcss/postcss/blob/af8311a9c4c940c3e
44
44
 
45
45
  PostCSS Preset Env: [CC0-1.0 License](https://github.com/csstools/postcss-preset-env/blob/d7652b1e6196e8f55bf3f0aac4ac090fec7ed54e/LICENSE.md)
46
46
 
47
+ postcss-modules: [MIT License](https://github.com/madyankin/postcss-modules/blob/325f0b33f1b746eae7aa827504a5efd0949022ef/LICENSE)
48
+
49
+ PostHTML: [MIT License](https://github.com/posthtml/posthtml/blob/9feb13c4c05c40519ba56279920aacd3523100cb/license)
50
+
51
+ posthtml-class-to-css-module: [MIT License](https://github.com/posthtml/posthtml-class-to-css-module/blob/d53bd08c9aa375cde63d9fe86021ee887bc07b9b/license)
52
+
53
+ posthtml-css-modules: [MIT License](https://github.com/posthtml/posthtml-css-modules/blob/47d2ffa908a9085265fe2a60ef608feed33ebdbd/LICENSE.txt)
54
+
47
55
  prelude<span>.ls</span>: [MIT License](https://github.com/gkz/prelude-ls/blob/41d048799bdd063e0592c1413d238ad95ceda1d9/LICENSE)
48
56
 
49
57
  Prettier Pug Plugin: [MIT License](https://github.com/prettier/plugin-pug/blob/27ab92b27a062bb187fc33f82b2fad436ec31c25/LICENSE)
@@ -60,6 +68,8 @@ Stencil: [MIT License](https://github.com/ionic-team/stencil/blob/8d580b12b96cc5
60
68
 
61
69
  Stylus: [MIT License](https://github.com/stylus/stylus/blob/59bc665db295981d4e3f702e7275c5589a3c6d15/LICENSE)
62
70
 
71
+ Sucrase: [MIT License](https://github.com/alangpierce/sucrase/blob/7284b3733aa114b3f4f5371e36ff5a4704ec860e/LICENSE)
72
+
63
73
  Svelte: [MIT License](https://github.com/sveltejs/svelte/blob/dafbdc286eef3de2243088a9a826e6899e20465c/LICENSE)
64
74
 
65
75
  svgbob: [Apache License 2.0](https://github.com/ivanceras/svgbob/blob/277f28b337a2d00a61cf342247060cf5fbf88d50/LICENSE)
@@ -0,0 +1 @@
1
+ export { transform } from 'sucrase';