-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix: Bring Your Own Express #4220
base: master
Are you sure you want to change the base?
Conversation
dont assign app until initExpress does its thing pass in customApp into initExpressApp and start
The test failed but didn't have anything to do with what I've been working on so I'm not sure what to do:
|
bump |
Cool. I was having the same problem ... if I just install jade without saving it in package.json ( |
This fixes the tests locally keystonejs/keystone#4346 |
bump |
Any updates here? Was really hoping to use v4 of keystone, but hoping to use it within some of our existing express stuff. Would love to get custom express working again! |
FYI @jcreamer898 it's still doable just not pretty: see https://github.com/ExchangeJS/exchangejs.com/blob/master/app.js#L78 for an example how I've got it set up. |
lol thanks @CAYdenberg |
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "keystone", | |||
"version": "4.0.0-beta.5", | |||
"name": "@peterpme/keystone", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be just keystone
while being merged to keystonejs:master
?
"name": "keystone", | ||
"version": "4.0.0-beta.5", | ||
"name": "@peterpme/keystone", | ||
"version": "4.0.0-beta.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be change the version to next beta?
Description of changes
Reintroduce BYO (bring-your-own) express to Keystone by:
customApp
withininitExpressApp
customApp
it intocreateApp
Testing
npm run test-all
ran successfully**Caveat:
Cannot find module jade
takes place on both master and my own branch. The first couple hundred tests pass, but I get snagged on the error below. I will look into this on my end as well but I wanted to open up the PR regardless