Skip to content

Commit

Permalink
add BBob
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Feb 21, 2024
1 parent 12eaf09 commit 2a38c89
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 3 deletions.
2 changes: 2 additions & 0 deletions dist/bbob/bbob.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 48 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@live-codes/browser-compilers",
"version": "0.9.0",
"version": "0.10.0",
"description": "Compilers that run in the browser, for use in livecodes.io",
"author": "Hatem Hosny",
"license": "MIT",
Expand All @@ -22,6 +22,8 @@
"prepush": "run-s fix build"
},
"dependencies": {
"@bbob/html": "3.0.2",
"@bbob/preset-html5": "3.0.2",
"@danielx/civet": "0.6.7",
"@esbuild-plugins/node-globals-polyfill": "0.1.1",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
Expand Down
8 changes: 8 additions & 0 deletions scripts/vendors.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,3 +492,11 @@ esbuild
path.resolve(targetDir + '/php-wasm/php-web.wasm'),
);
});

// bbob
esbuild.build({
...baseOptions,
entryPoints: ['vendor_modules/imports/bbob.js'],
outfile: 'dist/bbob/bbob.js',
globalName: 'BBob',
});
2 changes: 2 additions & 0 deletions vendor-licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ AssemblyScript: [Apache License 2.0](https://github.com/AssemblyScript/assemblys

Autoprefixer: [MIT License](https://github.com/postcss/autoprefixer/blob/61f71e9a8613b0c90357472d58fdcce26324ef4f/LICENSE)

BBob: [MIT License](https://github.com/JiLiZART/BBob/blob/17edb9e3e6572e72ab9cb042d86e2215c60afa86/LICENSE)

Civet: [MIT License](https://github.com/DanielXMoore/Civet/blob/9b28e3a351d130ce031c7b28b50bcb6d2a499315/LICENSE)

clientside-haml-js: [MIT License](https://github.com/uglyog/clientside-haml-js/blob/d814d16f46e1629c149c18d7692ba16f249f436b/LICENSE)
Expand Down
4 changes: 4 additions & 0 deletions vendor_modules/imports/bbob.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import bbobHTML from '@bbob/html/es/index';
import presetHTML5 from '@bbob/preset-html5/es/index';

export { bbobHTML, presetHTML5 };

0 comments on commit 2a38c89

Please sign in to comment.