Skip to content

Commit

Permalink
Restructure frontend code as monorepo.
Browse files Browse the repository at this point in the history
  • Loading branch information
twavv committed Oct 8, 2018
1 parent 8768afd commit fc64baa
Show file tree
Hide file tree
Showing 33 changed files with 238,426 additions and 36,674 deletions.
17,046 changes: 17,046 additions & 0 deletions packages/blink-provider/dist/blink.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/blink-provider/dist/blink.js.map

Large diffs are not rendered by default.

685 changes: 685 additions & 0 deletions packages/blink-provider/package-lock.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions packages/blink-provider/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "@webio/blink-provider",
"description": "Blink provider for WebIO.",
"repository": "https://github.com/JuliaGizmos/WebIO.jl",
"author": "Shashi Gowda",
"license": "MIT",
"dependencies": {
"@webio/webio": "1.0.0"
},
"scripts": {
"build": "webpack-cli"
},
"devDependencies": {
"webpack-cli": "^3.1.2"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import WebIO from "../WebIO";
import WebIO from "@webio/webio";

/**
* Tell TypeScript that the `Blink` global exists.
Expand Down
28 changes: 28 additions & 0 deletions packages/blink-provider/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const path = require('path');
const merge = require('webpack-merge');
const baseConfig = require('../webpack.config.js');

module.exports = merge(baseConfig, {
context: path.resolve(__dirname, "src"),
entry: {
"blink": ["@babel/polyfill/noConflict", "blink.ts"],
},
output: {
path: path.resolve(__dirname, 'dist/'),
filename: '[name].js',
},

resolve: {
extensions: ['.js', '.ts'],
modules: [path.resolve(__dirname, "src"), "node_modules"],
alias: {
"systemjs": "systemjs/dist/system",
}
},

externals: {
"base/js/namespace": "base/js/namespace",
"notebook/js/outputarea": "notebook/js/outputarea",
"jquery": "jquery",
}
});
Loading

0 comments on commit fc64baa

Please sign in to comment.