cmichaelgraham / aurelia-amd-bundler Goto Github PK
View Code? Open in Web Editor NEWa project to get the latest aurelia libraries and bundle each (amd target) into a single amd bundle (using r.js)
License: MIT License
a project to get the latest aurelia libraries and bundle each (amd target) into a single amd bundle (using r.js)
License: MIT License
They link to aurelia-typescript apparently.
The instructions at the bottom of the readme.md are missing a step to get the aurelia pieces in to the aurelia-latest
directory it seems. If you clone fresh and run bower install
then try to run the bundling step for dev it will fail because the main-config.js references a missing directory.
On the bower install step multiple "Unable to find" errors:
Unable to find a suitable version for aurelia-binding, please choose one:
1) aurelia-binding#^0.9.0 which resolved to 0.9.1 and is required by aurelia
-framework#0.16.0, aurelia-templating#0.15.3
2) aurelia-binding#^0.10.0 which resolved to 0.10.2 and is required by aurel
ia-framework#0.17.0, aurelia-framework#0.17.0, aurelia-templating#0.16.0, aureli
a-templating#0.16.0, aurelia-templating-binding#0.16.1, aurelia-templating-bindi
ng#0.16.1, aurelia-templating-resources#0.16.1, aurelia-templating-resources#0.1
6.1
3) aurelia-binding#* which resolved to 0.10.2 and is required by aurelia-req
uire-bundle
Prefix the choice with ! to persist it to bower.json
? Answer: !3
On the bundle step:
D:\TemporarySolutions\aurelia-amd-bundler>node r.js -o name=aurelia-bundle-manif
est baseUrl=. mainConfigFile=main-config.js out=aurelia-bundle.js optimize=none
Tracing dependencies for: aurelia-bundle-manifest
Error: ENOENT: no such file or directory, open 'D:\TemporarySolutions\aurelia-am
d-bundler\aurelia-pal.js'
In module tree:
aurelia-bundle-manifest
aurelia-dialog/index
aurelia-dialog/ai-dialog
aurelia-templating
aurelia-metadata
Error: Error: ENOENT: no such file or directory, open 'D:\TemporarySolutions\aur
elia-amd-bundler\aurelia-pal.js'
In module tree:
aurelia-bundle-manifest
aurelia-dialog/index
aurelia-dialog/ai-dialog
aurelia-templating
aurelia-metadata
at Error (native)
https://github.com/cmichaelgraham/aurelia-amd-bundler/blob/master/typings/aurelia/aurelia-loader-default.d.ts#L3 - also import TemplateRegistryEntry
Typo in Proimise and Promse
https://github.com/cmichaelgraham/aurelia-amd-bundler/blob/master/typings/aurelia/aurelia-loader-default.d.ts#L6
https://github.com/cmichaelgraham/aurelia-amd-bundler/blob/master/typings/aurelia/aurelia-loader-default.d.ts#L7
need to add docs so it is easy to clone and bundle for new users
In file https://github.com/cmichaelgraham/aurelia-amd-bundler/blob/master/typings/aurelia/aurelia-animator-css.d.ts there is a compilation error at line 28 CssAnimation not found. Please fix this :)
In the bundle, the HTMLTemplateElement.js file does not contain a define function. I believe this is the cause of the problems with IE when using the bundle. (Not exactly sure why it's not an issue with other browsers) When a shim is created for this file in the require.config({}) element such as the following:
shim: {
'aurelia-html-template-element': {
exports: 'Aurelia-html-template-element'
}
}
I believe the issues with IE will be resolved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.