Comments (13)
@drewjbartlett, @yihou I would start fixing these errors
from rapid.js.
https://github.com/mgred/rapid.js/tree/rapid.js-41
from rapid.js.
I refactored so far to get rid of the typings
directory.
from rapid.js.
@mgred you are the man thank you! Sorry for the delay. Just got back from a trip. Will have a look at this asap!
from rapid.js.
@mgred I know it has been forever since I have followed up with this -- finally had a moment to dive in here and honestly I am just a little lost on how I can get my tests to start passing. Do you have any thoughts?
from rapid.js.
@mgred That is the test file, that is the output. As soon as I add the line for Core, it stops working. This is what is holding me up from finishing this :(
from rapid.js.
@drewjbartlett I'm on a trip currently and will have look this evening.
from rapid.js.
@mgred no worrries/rush at all :D
from rapid.js.
@drewjbartlett I switched to my branch rapidjs-41
where I made some refactorings. The test passes more or less but the promise seems not be handled correctly.
I still don't know why it's not working on our main refactoring branch v2-refactor
, but I will investigate. Maybe It's just some setting in the tsconfig.json
which also used by Jest.
from rapid.js.
ah that would make sense! That's good news you can get it working partially! I really appreciate all the help @mgred
from rapid.js.
@mgred I have been thinking a bit and I need to be able to easily test this. TS is not allowing me to do this easily. If I can't get this figured out soon the reality is that v2 will not happen. I am feeling a little discouraged at committing fully to TS before fully understanding it and getting a solid workflow in place.
I appreciate all the work everyone is putting in but I just can't get caught up in the build tools, etc. Lemme know if you have any suggestions :)
from rapid.js.
@drewjbartlett I still try to figure out why the tests are not running on the main refactoring branch, I updated the tsconfig.json
to be like the one on my branch rapid.js-41
{
"module" : "commonjs",
"noEmit": false
}
but still it shows the same error. I will give you the MR for this issue/branch. You can then continue with a working build and test environment as far as I can say
from rapid.js.
from rapid.js.
Related Issues (20)
- Cannot find module './core/rapid' HOT 2
- [Question]: How do imports work? HOT 2
- Add typescript definitions HOT 4
- Return data instead of response HOT 15
- POST polluted with params from previous GET HOT 4
- import statement for AxiosInstance is missing in definition file HOT 1
- Extract debugger to separate repo
- Incorrect types for setters in Core
- any guide how to write tests? HOT 2
- custom route for delete with data. Is it possible? HOT 9
- Version 2 HOT 12
- Expose axios interceptor api HOT 3
- Fix tests for v2 HOT 3
- Version 2 Checklist HOT 4
- Start Using Releases on Github HOT 1
- Add a gitter chatroom HOT 2
- response on catch?
- CLI tool or generator
- save, update not work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapid.js.