-
Notifications
You must be signed in to change notification settings - Fork 2
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
init #1
init #1
Conversation
# - name: Run unit tests | ||
# working-directory: ./core | ||
# run: yarn test |
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.
Should this be uncommented or is this because there currently are not tests??
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.
Because there aren't currently tests, next dev day perhaps
core/README.md
Outdated
**Middleware** | ||
|
||
```ts | ||
export const i18NextPDFGenerator = pdfMiddlewareBuilder( |
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.
I would maybe call i18NextPDFGenerator
i18NextPDFMiddleware
to make it clear that this returns an express compatible middleware.
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.
hm good point
"homepage": "https://github.com/AES-Outreach/express-react-pdf#readme", | ||
"dependencies": { | ||
"@react-pdf/renderer": "^3.0.0", | ||
"express": "^4.18.1", |
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.
Regarding express potentially not needing to be a dependency, we could take a look at other packages that supply express compatible middleware and see if they have express as a dependency in any way. I wouldn't use a single example to make the decision but if we can find a few packages that might give us an idea.
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.
So looking at this: microsoft/types-publisher#81
I think they are supposed to be in dependencies?
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.
But honestly i'm still not totally sure. Most of the express middleware packages I found are not typescript and don't seem to have it in dependencies
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.
i was redirected to accept changes
could you please clarify? |
No description provided.