mseemann / js-restful-express Goto Github PK
View Code? Open in Web Editor NEWCreate a RESTful service with ES7 decorators for your express based node.js application.
License: MIT License
Create a RESTful service with ES7 decorators for your express based node.js application.
License: MIT License
Branch | Build failing π¨ |
---|---|
Dependency | ts-node |
Current Version | 3.0.4 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ts-node 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 πͺ
The new version differs by 7 commits.
c18331a
3.0.5
5cf97b1
Add --inspect-brk
to known flags (#343)
7dfb3e3
Pin node tests at 6.x
(#340)
633d537
chore(package): update chai to version 4.0.1 (#337)
b751a56
Define exports
and improve getTypeInfo
help (#332)
d018300
Update yn
default option
cc3bf22
Expose _
bin file for consumers to use
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Branch | Build failing π¨ |
---|---|
Dependency | pug |
Current Version | 2.0.0-beta7 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As pug 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 π΄
Hi,
Thanks for this library. I've been trying to integrate it to my personnal project, but I've got some error while launching tsc
command:
node_modules/js-restful-express/src/express/registry.ts(5,27): error TS2307: Cannot find module 'winston'.
node_modules/js-restful-express/src/express/registry.ts(154,56): error TS2304: Cannot find name 'Reflect'.
node_modules/js-restful-express/src/express/registry.ts(173,26): error TS2304: Cannot find name 'Reflect'.
node_modules/js-restful-express/src/express/renderers.ts(60,13): error TS2304: Cannot find name 'Reflect'.
node_modules/js-restful-express/src/express/renderers.ts(62,28): error TS2304: Cannot find name 'Reflect'.
node_modules/js-restful/src/core/decorator-parser.ts(10,21): error TS2304: Cannot find name 'Reflect'.
I'm aware that your code is probably not the source of the problem, but if you have time to help me figure out what the problem is, that would be really appreciated. core-js
is one of the dependencies, but I'm not sure of what you expect when saying 'Make sure you have a shim for es7 reflect'...
tsconfig.json
used:
{
"compilerOptions": {
"types": [],
"experimentalDecorators": true
},
"include": [
"/**/*.ts"
]
}
Code in app.ts:
import * as express from 'express';
import { ExpressServiceRegistry } from 'js-restful-express/src/express/service-registry';
const app: express.Application = express();
...
// api routes
ExpressServiceRegistry.registerService(app, new PingRouter());
Code in ping.router.ts:
import { Request, Response, NextFunction } from 'express';
import { GET, Path } from 'js-restful';
@Path('/api/v1')
export class PingRouter {
@GET()
public getApiStatus(req: Request, res: Response, next: NextFunction) {
res.json({
message: 'Api working!'
});
}
}
Thanks a lot for your help!
Branch | Build failing π¨ |
---|---|
Dependency | @types/chai |
Current Version | 3.5.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As @types/chai 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 π΄
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.