leogr / dom-deque Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Commit a markdown file - ie. CONTRIBUTING.md - specifying rules for contributions.
All the polymer elements and the polymer library itself are not currently maintained on npm.
Exist a previous attempt to publish polymer and its elements on npm. This test presents cons:
An easy workaround for issue 2 is to move/copy/link the external packages into the scoped package at post-install time - i.e., node_modules/libx to node_modules/@polymer/libx. This is the solution currently adopted.
But problem 1 remains.
Thus, another solution is to use napa: an helper to install github repos without a package.json file (also npm allows this) with a custom name/path (npm does not allow this).
Cons:
Which means we have to manually specify all dependencies of our dependencies, and so on.
Conclusions
Both solutions require a post-install hook, so 0 point each.
I choose the second solution since it is desirable to have updatable packages at the (one-time) cost to specify all their dependencies.
Once polymer maintainers will (correctly - i.e., preferably not requiring us to use postinstall script) publish all their libraries plus elements on npm we'll switch back to the natural solution - i.e., solution 1.
I'm implementing it.
Spec here.
I'd like to deprecate che current version (that's just a PoC) then refactor the code in order to make it work with Polymer 2.0.
Issues should be reviewed accordingly.
Setup:
Ref.
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.