-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat!: add GraphQL subscriptions support #141
feat!: add GraphQL subscriptions support #141
Conversation
package.json and the committed lockfile is out of sync
The downside is now we have to sync them manually. But, the major advantage is that we can now use templating logic inside the TS template. Following commits will utilize that.
drop support for deprecated q/app
it turned out it was previously coming from q/app, but we removed q/app so it's no longer there
the next step is making the deps optional
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.
Seems mostly fine, I left some low priority comments to improve it
src/templates/.eslintrc.js
Outdated
|
||
extends: [ | ||
'eslint:recommended', | ||
'plugin:lodash-template/recommended-with-script' |
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.
It seems like you're not adding this into any plugins
array, may this be the problem
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.
It's not needed as the config adds the plugin automatically:
https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/d1e00964657a8b67ebfdd8269a74628d078d3f3c/lib/configs/base.js#L7
Co-authored-by: Paolo Caleffi <[email protected]>
Co-authored-by: Paolo Caleffi <[email protected]>
…encies Co-authored-by: Paolo Caleffi <[email protected]>
Resolves #104.
Breaking Change: Dropped support for
@quasar/app
v3. Dropping it made it easier to apply some fixes and it's deprecated:Previously, we used TS files as the source for the template files, then built it to create JS versions of the templates. However, this makes it harder to use Lodash templating inside code. We would need first to render the template, and then build the JS files off of the generated TS file. I updated the structure to eliminate the TS build step. We now have JS and TS templates separately, so they need to be synced manually if needed. We use this approach in Quasar core code and in testing AEs as well.
I also improved the linting setup. There are some limitations/problems, which probably need to be resolved at https://github.com/ota-meshi/eslint-plugin-lodash-template. I will report those problems later.