Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemjs next #50

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="description" content>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>React / Redux / TypeScript - starter-kit</title>
<link rel="stylesheet" href="loader-styles.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]">
<link href="loader-styles.css" rel="stylesheet">
<link href="https://unpkg.com/[email protected]" rel="stylesheet">
</head>

<body>
Expand All @@ -34,7 +34,6 @@
<script src="vendor.prod.js"></script>
<script>
// load main module of your app with SystemJS
SystemJS.production = true;
SystemJS.import('app.js');
</script>
<!-- loading-app:end -->
Expand Down
14 changes: 6 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,18 @@
</div>
</div>
<!-- body bottom scripts -->
<!-- below section could be auto-generated and overwritten during build for prod -->
<!-- loading-app:start -->
<script src="jspm_packages/system.js"></script>
<script src="jspm.config.js"></script>
<script src="temp/vendor.dev.js"></script>
<script>
// hot-reload config
SystemJS.import('systemjs-hot-reloader').then(function(HotReloader) {
// if you're running server on custom port please remember to update below
new HotReloader.default('http://localhost:3000');
// hot-reload configuration
SystemJS.import('systemjs-hot-reloader').then(function(connect) {
// here update local dev server config
connect({ host: 'http://localhost:3000' });
// load main module of your app with SystemJS
SystemJS.import('src/app.tsx');
});
// load main module of your app with SystemJS
SystemJS.trace = true;
SystemJS.import('src/app');
</script>
<!-- loading-app:end -->
</body>
Expand Down
157 changes: 69 additions & 88 deletions jspm.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SystemJS.config({
warning: true,
paths: {
"github:": "jspm_packages/github/",
"npm:": "jspm_packages/npm/",
Expand All @@ -9,37 +10,26 @@ SystemJS.config({
},
devConfig: {
"map": {
"plugin-typescript": "github:frankwallis/[email protected]",
"css": "github:systemjs/[email protected]",
"systemjs-hot-reloader": "github:capaj/[email protected]"
"systemjs-hot-reloader": "npm:[email protected]",
"plugin-typescript": "github:frankwallis/[email protected]",
"typescript": "npm:[email protected]"
},
"packages": {
"github:frankwallis/[email protected]": {
"npm:[email protected]": {
"map": {
"typescript": "npm:typescript@2.1.4"
"systemjs-hmr": "npm:systemjs-hmr@2.0.9"
}
},
"npm:typescript@2.1.4": {
"npm:typescript@2.2.1": {
"map": {
"source-map-support": "npm:[email protected].8"
"source-map-support": "npm:[email protected].11"
}
},
"npm:[email protected].8": {
"npm:[email protected].11": {
"map": {
"source-map": "npm:[email protected]"
}
},
"github:capaj/[email protected]": {
"map": {
"debug": "npm:[email protected]",
"weakee": "npm:[email protected]",
"socket.io-client": "github:socketio/[email protected]"
}
},
"npm:[email protected]": {
"map": {
"ms": "npm:[email protected]"
}
}
}
},
Expand All @@ -55,9 +45,7 @@ SystemJS.config({
"moduleResolution": "node",
"preserveConstEnums": true,
"removeComments": true,
"noEmitHelpers": false,
"importHelpers": false,
"allowSyntheticDefaultImports": true,
"sourceMap": true
},
packages: {
Expand Down Expand Up @@ -90,7 +78,7 @@ SystemJS.config({
"classnames": "npm:[email protected]",
"constants": "npm:[email protected]",
"crypto": "npm:[email protected]",
"csjs": "npm:csjs@1.0.6",
"csjs": "npm:csjs@1.1.0",
"domain": "npm:[email protected]",
"events": "npm:[email protected]",
"fs": "npm:[email protected]",
Expand All @@ -102,23 +90,23 @@ SystemJS.config({
"os": "npm:[email protected]",
"path": "npm:[email protected]",
"process": "npm:[email protected]",
"react": "npm:[email protected].1",
"react-dom": "npm:[email protected].1",
"react-redux": "npm:[email protected].1",
"react-redux-typescript": "npm:react-redux-typescript@2.0.0",
"react": "npm:[email protected].2",
"react-dom": "npm:[email protected].2",
"react-redux": "npm:[email protected].3",
"react-redux-typescript": "npm:react-redux-typescript@2.1.0",
"react-router": "npm:[email protected]",
"react-router-redux": "npm:[email protected].7",
"react-router-redux": "npm:[email protected].8",
"redux": "npm:[email protected]",
"redux-observable": "npm:redux-observable@0.13.0",
"redux-observable": "npm:redux-observable@0.14.1",
"reselect": "npm:[email protected]",
"rxjs": "npm:[email protected]",
"stream": "npm:[email protected]",
"string_decoder": "npm:[email protected]",
"tslib": "npm:tslib@1.5.0",
"tslib": "npm:tslib@1.6.0",
"url": "npm:[email protected]",
"util": "npm:[email protected]",
"vm": "npm:[email protected]",
"whatwg-fetch": "npm:whatwg-fetch@1.1.1",
"whatwg-fetch": "npm:whatwg-fetch@2.0.3",
"zlib": "npm:[email protected]"
},
packages: {
Expand Down Expand Up @@ -264,7 +252,7 @@ SystemJS.config({
},
"npm:[email protected]": {
"map": {
"readable-stream": "npm:[email protected].2",
"readable-stream": "npm:[email protected].3",
"pako": "npm:[email protected]"
}
},
Expand Down Expand Up @@ -322,7 +310,7 @@ SystemJS.config({
},
"npm:[email protected]": {
"map": {
"http-browserify": "npm:stream-http@2.5.0"
"http-browserify": "npm:stream-http@2.6.3"
}
},
"npm:[email protected]": {
Expand Down Expand Up @@ -352,27 +340,7 @@ SystemJS.config({
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"builtin-status-codes": "npm:[email protected]",
"inherits": "npm:[email protected]",
"to-arraybuffer": "npm:[email protected]",
"readable-stream": "npm:[email protected]",
"xtend": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"inherits": "npm:[email protected]",
"string_decoder": "npm:[email protected]",
"isarray": "npm:[email protected]",
"buffer-shims": "npm:[email protected]",
"core-util-is": "npm:[email protected]",
"process-nextick-args": "npm:[email protected]",
"util-deprecate": "npm:[email protected]"
"loose-envify": "npm:[email protected]"
}
},
"npm:[email protected]": {
Expand Down Expand Up @@ -405,40 +373,6 @@ SystemJS.config({
"lodash": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"lodash-es": "npm:[email protected]",
"loose-envify": "npm:[email protected]",
"lodash": "npm:[email protected]",
"invariant": "npm:[email protected]",
"hoist-non-react-statics": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]",
"object-assign": "npm:[email protected]",
"fbjs": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]",
"object-assign": "npm:[email protected]",
"fbjs": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]",
"object-assign": "npm:[email protected]",
"promise": "npm:[email protected]",
"setimmediate": "npm:[email protected]",
"isomorphic-fetch": "npm:[email protected]",
"ua-parser-js": "npm:[email protected]",
"core-js": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"asap": "npm:[email protected]"
Expand All @@ -447,7 +381,7 @@ SystemJS.config({
"npm:[email protected]": {
"map": {
"node-fetch": "npm:[email protected]",
"whatwg-fetch": "npm:whatwg-fetch@1.1.1"
"whatwg-fetch": "npm:whatwg-fetch@2.0.3"
}
},
"npm:[email protected]": {
Expand Down Expand Up @@ -499,6 +433,53 @@ SystemJS.config({
"minimalistic-assert": "npm:[email protected]",
"minimalistic-crypto-utils": "npm:[email protected]"
}
},
"npm:[email protected]": {
"main": "tslib.es6.js",
"format": "esm"
},
"npm:[email protected]": {
"map": {
"object-assign": "npm:[email protected]",
"loose-envify": "npm:[email protected]",
"fbjs": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]",
"fbjs": "npm:[email protected]",
"object-assign": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"loose-envify": "npm:[email protected]",
"object-assign": "npm:[email protected]",
"core-js": "npm:[email protected]",
"promise": "npm:[email protected]",
"isomorphic-fetch": "npm:[email protected]",
"setimmediate": "npm:[email protected]",
"ua-parser-js": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"inherits": "npm:[email protected]",
"readable-stream": "npm:[email protected]",
"builtin-status-codes": "npm:[email protected]",
"to-arraybuffer": "npm:[email protected]",
"xtend": "npm:[email protected]"
}
},
"npm:[email protected]": {
"map": {
"hoist-non-react-statics": "npm:[email protected]",
"lodash": "npm:[email protected]",
"lodash-es": "npm:[email protected]",
"invariant": "npm:[email protected]",
"loose-envify": "npm:[email protected]"
}
}
}
});
Loading