coatue-oss / ngcomponent Goto Github PK
View Code? Open in Web Editor NEWA clean React-like abstraction for rendering non-Angular components within an Angular app.
License: Other
A clean React-like abstraction for rendering non-Angular components within an Angular app.
License: Other
Branch | Build failing π¨ |
---|---|
Dependency | tslint |
Current Version | 5.4.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As tslint is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
Editor's note: This release features an important bugfix for overlapping fixes when using --project
and --fix
(#2864).
completed-docs
: Add enum-members
option (#2911)no-this-reassignment
(#2931)encoding
closes files correctly (#2958)whitespace
fix whitespace "check-module"
to properly lint and fix errors (#2401) (#2825)whitespace
: now correctly handles dynamic imports introduced in [email protected] (#2924)switch-final-break
: don't fail if break jumps to a label outside of the switch (#2914)no-shadowed-variable
: exempt this
parameter (#2598)prefer-for-of
correctly handles variable scopes and other unrelated identifiers (#2984)no-unused-variable
autofix removes whole import (#2901)-v
option (#2926)no-empty
(#2886)prefer-const
: handle destructuring in for-of loop initializer as if {"destructuring": "all"}
was specified (#2904)no-shadowed-variable
: added checks for other shadowing declarations, e.g. interfaces, classes, type parameters, imports, etc. (#2598)no-shadowed-variable
no longer fails for declarations in the same scope, e.g. var foo; var foo;
. Use the rule no-duplicate-variable
to find such errors. (#2598)Thanks to our contributors!
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | @types/angular |
Current Version | 1.6.21 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/angular is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
https://github.com/coatue-oss/ngcomponent/blob/master/index.ts#L1, while tidier than individually importing each routine, results in a whopper of an import, and pollutes window._
, particularly bad for us since we're using underscore.
Hi,
Per your existing Circle build, the current published build is broken in tsc 2.5.3
. (via https://circleci.com/gh/coatue-oss/ngcomponent/217):
index.ts(24,52): error TS2345: Argument of type '"currentValue"' is not assignable to parameter of type 'ObjectIterator<{}, Props>'.
I might be able to find some time to work on this this weekend if you don't have time to address this right now.
Thanks,
Brekk
Same thing here now (with ngimport 0.7.2)
> [email protected] pretest /home/tlv/dev/ngcomponent
> npm run build
> [email protected] build /home/tlv/dev/ngcomponent
> npm run clean && tsc -d -m es2015 && mv ./index.js ./index.es2015.js && tsc -m commonjs -t es5
> [email protected] clean /home/tlv/dev/ngcomponent
> rm -f index.d.ts
test.ts(326,13): error TS2554: Expected 1 arguments, but got 0.
Branch | Build failing π¨ |
---|---|
Dependency | typescript |
Current Version | 2.4.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As typescript is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
For release notes, check out the release announcement
For new features, check out the What's new in TypeScript 2.4.
For breaking changes, check out the Breaking changes in TypeScript 2.4 page.
For the complete list of fixed issues, check out the fixed issues query for Typescript 2.4.
Download:
The new version differs by 141 commits.
8b2fe13
Update LKG.
14d95ed
Test:Block-scoped definition of Promise works
a8846bf
Skip block scope check with no error location
44f2336
Merge pull request #16633 from Microsoft/release-2.4_fixIncrementalParsing
4875a27
Add tests
15ef20d
Set the structureReused to be safemoudles when dynamic import change
6d33083
Add tests
11b9f6e
Wip-fix incremental parsing
2721fd4
In TypeScript code, never bind JSDoc normally, just set parent pointers (#16555) (#16561)
0968ed9
Revert string enum changes (#16569)
096f8cc
Update LKG
9241175
Allow running in strict mode (#16557)
f49b007
Update LKG
f1b0f59
Update version to 2.4.1
ed9cde9
Update LKG
There are 141 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
But passes great locally
Expected: It should be called with (nextProps, nextState)
, and inside the method this.props
and this.state
should refer to the current props and state.
Actual: It is called with (nextProps, nextProps)
, and inside the method this.props
refers to the same nextProps
.
Branch | Build failing π¨ |
---|---|
Dependency | angular |
Current Version | 1.6.4 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
angular is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
We should add a $watch on this.state
, and fire render()
when it changes to be more in line with React's API.
Branch | Build failing π¨ |
---|---|
Dependency | @types/jasmine |
Current Version | 2.5.53 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As @types/jasmine is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
it installs xvfb every time which takes a decent chunk of time
also use circle features like caching to speed up installs
Branch | Build failing π¨ |
---|---|
Dependency | ngimport |
Current Version | 0.7.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ngimport is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
requires factoring code out of $onChanges
notes:
As far as I understood, when no $onChanges function is invoked (i.e. when the component has no props), no this.render() is run
What if add this.render inside the $postLink?
> [email protected] build /home/tlv/dev/ngcomponent
> npm run clean && tsc -d -m es2015 && mv ./index.js ./index.es2015.js && tsc -m commonjs -t es5
> [email protected] clean /home/tlv/dev/ngcomponent
> rm -f index.d.ts
> [email protected] test /home/tlv/dev/ngcomponent
> xvfb-maybe karma start --single-run
START:
test.js.tmp (2:17) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
test.js.tmp (2:25) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
12 07 2017 22:24:35.054:ERROR [framework.browserify]: bundle error
12 07 2017 22:24:35.056:ERROR [framework.browserify]: Error: Cannot find module 'lodash' from '/home/tlv/dev/ngcomponent'
12 07 2017 22:24:35.094:ERROR [framework.browserify]: bundle error
12 07 2017 22:24:35.095:ERROR [framework.browserify]: Error: Cannot find module 'lodash' from '/home/tlv/dev/ngcomponent'
Electron 1.6.11 (Linux 0.0.0) ERROR
Uncaught Error: bundle error (see logs)
at /tmp/248b4a3a4011140db4a69f28d1e6ca3b.browserify:1
Finished in 0.085 secs / 0 secs @ 22:24:35 GMT+0100 (BST)
SUMMARY:
β 0 tests completed
Failed with exit code: 1
Output:
npm ERR! Test failed. See above for more details.
So tests that fail are using the DOM with renderComponent.
Since the other tests pass, presumably karma is able to start with a browser, so unsure as to why tests are failing. Any ideas?
Should be given nextProps, not newProps
https://facebook.github.io/react/docs/react-component.html#componentwillreceiveprops
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.