@live-codes/browser-compilers 0.14.0 → 0.15.0

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.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -56,7 +56,7 @@
56
56
  "@unocss/transformer-variant-group": "0.61.2",
57
57
  "@vue/compiler-sfc": "3.4.31",
58
58
  "@webassemblyjs/wast-refmt": "1.12.1",
59
- "assemblyscript": "0.27.28",
59
+ "assemblyscript": "0.27.29",
60
60
  "autoprefixer": "10.4.19",
61
61
  "babel-preset-solid": "1.8.18",
62
62
  "cssnano-preset-default": "7.0.4",
@@ -81,6 +81,7 @@
81
81
  "sass": "1.77.6",
82
82
  "sucrase": "3.35.0",
83
83
  "svelte": "4.2.18",
84
+ "ventojs": "0.12.8",
84
85
  "windicss": "3.5.6"
85
86
  },
86
87
  "devDependencies": {
@@ -517,3 +517,19 @@ esbuild.build({
517
517
  outfile: 'dist/typescript-vfs/typescript-vfs.js',
518
518
  globalName: 'typescriptVFS',
519
519
  });
520
+
521
+ // vento
522
+ esbuild.build({
523
+ ...baseOptions,
524
+ entryPoints: ['vendor_modules/imports/vento.js'],
525
+ outfile: 'dist/vento/vento.js',
526
+ globalName: 'vento',
527
+ plugins: [
528
+ polyfillNode({
529
+ polyfills: {
530
+ fs: true,
531
+ 'fs/promises': true,
532
+ },
533
+ }),
534
+ ],
535
+ });
@@ -0,0 +1,3 @@
1
+ import vento from 'ventojs';
2
+
3
+ export { vento };