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

Adds auto-generated initial CHANGELOG.md using https://github.com/skywinder/github-changelog-generator #289

Merged
merged 74 commits into from
Nov 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
bce50b5
Adds custom elements support for Metal components
Apr 26, 2017
2dd0169
Rename to match style guide
Sep 13, 2017
50c845c
Update metal-custom-element dependencies
Sep 13, 2017
09b23e7
Add useshadowdom attribute to custom elements so that shadow DOM can …
Sep 13, 2017
b6fd2dc
Generate package-lock.json for metal-custom-element package
Sep 13, 2017
d997bcd
Skip metal-custom-element tests when IE10 and below
Sep 13, 2017
c6e0455
Add isArrayLike helper method for checking if value is iterable
Sep 27, 2017
3a4f12c
Custom elements should work with JSX components
Sep 27, 2017
2da87f3
Update version of Edge and add latest version of Safari
Sep 27, 2017
c7576be
Skip test for Safari 8
Sep 27, 2017
22e309f
Dynamically load webcomponents polyfill as it's incompatible with IE9/10
Sep 28, 2017
3286db0
Remove additional babel plugins that were added for custom elements
Sep 28, 2017
8679466
Create CustomComponent in such a way that it doesn't require addition…
Sep 28, 2017
2d4b77c
Regen package-lock.json
Sep 28, 2017
bd132b4
Regen metal-custom-element/package-lock.json
Sep 28, 2017
d7db927
Clearer formatting
Sep 28, 2017
025ca4b
Rename (no changes)
Sep 29, 2017
496ce68
Change all references of metal-custom-element to metal-web-component
Sep 29, 2017
3fac83e
Regen metal-web-component/package-lock.json
Sep 29, 2017
c559dde
After updating the `metal` dependency getStaticProperty nows returns …
Sep 29, 2017
6d306ed
Regen packag-lock.json (ensuring it's correct after rebase)
Sep 29, 2017
3cd95c4
attributeChangedCallback is invoked for inital attribute values befor…
Sep 29, 2017
78f1a06
Deserialize attributes that are json before passing to metal component
Sep 29, 2017
f2c65f9
Don't create element until needed
Oct 2, 2017
93e64d9
Don't automatically register custom events in case of server side ren…
Oct 2, 2017
59a922d
Don't attempt to create element in Node.js environment
Oct 2, 2017
c2a316d
Use core.isServerSide for checking environment
Oct 3, 2017
f0bf96f
Use core.isServerSide for checking environment
Oct 3, 2017
5012217
Improve error message when using `oneOf` validation. Fixes #254
Oct 6, 2017
71813a1
Fix typo
Oct 10, 2017
d48ee9d
Replace isArrayLike with isNodeListLike
Oct 10, 2017
84927ea
Add JSDocs for CustomElement
Oct 10, 2017
c7c045a
Test JSX components to the same degree as Soy components in metal-web…
Oct 10, 2017
fafd282
Replace babel-preset-es2015 with babel-preset-env
Oct 10, 2017
b71e390
Regen metal-web-component/package-lock.json
Oct 10, 2017
83a264c
Merge pull request #261 from Robert-Frampton/webcomponents
jbalsas Oct 11, 2017
b8e1755
Merge pull request #264 from Robert-Frampton/iso
jbalsas Oct 11, 2017
7d08bc2
Merge pull request #266 from Robert-Frampton/iso_metal-incremental-dom
jbalsas Oct 11, 2017
ae3dbb4
Merge pull request #272 from Robert-Frampton/issue_254
jbalsas Oct 11, 2017
7ad6eff
Copying html2incdom package into metal-incremental-dom
Oct 10, 2017
dca765d
Export HTMLParser rather than attaching to window
Oct 10, 2017
32c2e10
Change lint ignore from jslint to eslint
Oct 10, 2017
12fe8a7
Merge pull request #274 from Robert-Frampton/html2incdom
jbalsas Oct 11, 2017
4c2a707
Don't access client side globals if rendering server side
Oct 11, 2017
b31e177
Add tests for server side rendering
Oct 3, 2017
e412d81
Add test for rendering JSXComponent server side
Oct 3, 2017
09b9203
Run isomorphic tests in CI
Oct 3, 2017
47f9f9b
Replace babel-preset-es2015 with babel-preset-env
Oct 10, 2017
391f030
Regen all package-lock.json files
Oct 11, 2017
cfe20c6
Merge pull request #269 from Robert-Frampton/iso_test
jbalsas Oct 11, 2017
bf01bee
Check to see if bundle has been loaded already. Fixes #273
Oct 9, 2017
ee0c61b
Add documentation for the build process of the metal-soy-bundle/lib/b…
Oct 11, 2017
449267e
Broken test for https://github.com/metal/metal.js/issues/259
bryceosterhaus Sep 21, 2017
f373e21
hasInitialValue_ should return false if value is undefined, but valid…
Oct 11, 2017
39ee3da
Merge pull request #275 from Robert-Frampton/metal-soy-bundle
jbalsas Oct 16, 2017
dd700db
Updating tests on validators using assert.isTrue() to verify correct …
diegonvs Oct 16, 2017
ac0c90f
Revert "Merge pull request #275 from Robert-Frampton/metal-soy-bundle"
jbalsas Oct 18, 2017
4765e96
Merge pull request #280 from metal/revert_soy_bundle
Oct 18, 2017
7af5a97
Merge branch 'develop' into 277
Oct 18, 2017
9e93825
Merge pull request #278 from diegonvs/277
Oct 18, 2017
d78162f
Merge pull request #276 from Robert-Frampton/pr-260
jbalsas Oct 19, 2017
23696f2
Add forceUpdate method to Component
Oct 6, 2017
cbb22f4
Merge pull request #271 from Robert-Frampton/forceupdate
jbalsas Oct 25, 2017
94466c1
Add failing test for issue #287
Oct 31, 2017
9979b99
Ensure that STATE configuration from static hints are properly config…
Oct 31, 2017
37c8a21
Correct JSDocs
Nov 1, 2017
d83b7a6
Merge pull request #288 from Robert-Frampton/issue_287
jbalsas Nov 1, 2017
2b9d6bc
Add willRender, willAttach, and willDetach lifecycle methods to Compo…
Oct 2, 2017
f527c41
Emit stateWillChange event from state instance for providing a hook p…
Oct 6, 2017
f08950c
Add willReceiveState and willReceiveProps lifecycle methods to Compon…
Oct 6, 2017
5425101
Rename willRender to willUpdate since it's related to shouldUpdate an…
Oct 23, 2017
ba375c9
Fix JSDoc and test description typos
Nov 1, 2017
7937ce6
Provide placeholder functions for lifecycle methods (can't provide pl…
Nov 2, 2017
35eb911
Merge pull request #285 from Robert-Frampton/lifecycle
jbalsas Nov 2, 2017
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
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["env"]
}
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ jdk:

language: java

script: gulp test:saucelabs
script:
- gulp test:saucelabs
- npm run test:isomorphic
20 changes: 16 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ metal.registerTasks({
base: 'SauceLabs',
browserName: 'chrome'
},
sl_safari: {
sl_safari_8: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.10'
},
sl_safari_10: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.12',
version: '10'
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox'
Expand All @@ -72,11 +78,11 @@ metal.registerTasks({
platform: 'Windows 8.1',
version: '11'
},
sl_edge_13: {
sl_edge_15: {
base: 'SauceLabs',
browserName: 'microsoftedge',
platform: 'Windows 10',
version: '13'
version: '15'
},
sl_android_4: {
base: 'SauceLabs',
Expand All @@ -102,6 +108,12 @@ gulp.task('soy', function() {
.pipe(gulp.dest('packages/metal-soy/test'));
});

gulp.task('soy:isomorphic', function() {
return gulp.src('packages/metal-isomorphic/test/**/*.soy')
.pipe(compileSoy())
.pipe(gulp.dest('packages/metal-isomorphic/test'));
});

gulp.task('build:cjs', ['soy'], function() {
return compileToLib('packages/metal*/src/**/*.js');
});
Expand Down Expand Up @@ -142,7 +154,7 @@ function calcDestDir(file) {
function compileToLib(src) {
return gulp.src(src)
.pipe(babel({
presets: ['es2015']
presets: ['env']
}))
.pipe(gulp.dest(calcDestDir));
}
26 changes: 21 additions & 5 deletions karma-coverage.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,23 @@ module.exports = function(config) {
served: true
},
{
pattern: 'packages/metal-soy/node_modules/html2incdom/lib/*.js',
pattern: 'packages/metal-web-component/node_modules/babel-polyfill/dist/polyfill.min.js',
watched: false,
included: true,
served: true
},
{
pattern: 'packages/metal-web-component/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js',
watched: false,
included: false,
served: true
},
{
pattern: 'packages/metal-web-component/webcomponents_polyfill.js',
watched: false,
included: true,
served: true
},

{
pattern: 'packages/metal*/test/**/*.js',
watched: false,
Expand All @@ -48,11 +59,12 @@ module.exports = function(config) {
}
],

exclude: ['packages/metal-isomorphic/**/*.js'],

preprocessors: {
'packages/metal-incremental-dom/src/incremental-dom.js': ['browserify'],
'packages/metal-incremental-dom/lib/incremental-dom.js': ['browserify'],
'packages/metal-soy-bundle/lib/bundle.js': ['browserify'],
'packages/metal-soy/node_modules/html2incdom/lib/*.js': ['browserify'],
'packages/metal*/test/**/*.js': ['browserify']
},

Expand All @@ -64,8 +76,12 @@ module.exports = function(config) {
[
'babelify',
{
plugins: ['istanbul'],
presets: ['es2015']
plugins: [
'istanbul'
],
presets: [
'env'
]
}
]
],
Expand Down
27 changes: 23 additions & 4 deletions karma-sauce.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,23 @@ module.exports = function(config) {
served: true
},
{
pattern: 'packages/metal-soy/node_modules/html2incdom/lib/*.js',
pattern: 'packages/metal-web-component/node_modules/babel-polyfill/dist/polyfill.min.js',
watched: false,
included: true,
served: true
},
{
pattern: 'packages/metal-web-component/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js',
watched: false,
included: false,
served: true
},
{
pattern: 'packages/metal-web-component/webcomponents_polyfill.js',
watched: false,
included: true,
served: true
},

{
pattern: 'packages/metal*/test/**/*.js',
watched: false,
Expand All @@ -48,11 +59,12 @@ module.exports = function(config) {
}
],

exclude: ['packages/metal-isomorphic/**/*.js'],

preprocessors: {
'packages/metal-incremental-dom/src/incremental-dom.js': ['browserify'],
'packages/metal-incremental-dom/lib/incremental-dom.js': ['browserify'],
'packages/metal-soy/node_modules/metal-soy-bundle/lib/bundle.js': ['browserify'],
'packages/metal-soy/node_modules/html2incdom/lib/*.js': ['browserify'],
'packages/metal*/test/**/*.js': ['browserify']
},

Expand All @@ -61,7 +73,14 @@ module.exports = function(config) {
browserify: {
debug: true,
transform: [
['babelify', {presets: ['es2015']}]
[
'babelify',
{
presets: [
'env'
]
}
]
],
insertGlobalVars: {
METAL_VERSION: function() {
Expand Down
Loading