-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
refactor: Add reusable frontend composables
package
#13077
refactor: Add reusable frontend composables
package
#13077
Conversation
@@ -0,0 +1,18 @@ | |||
{ | |||
"name": "@n8n/frontend-typescript-config", |
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.
maybe we should create a new package for all tsconfigs, that backend and nodes packages can also benefit from?
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 like that. Are you ok with doing this change for the backend in a separate PR?
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 think we should do that and the eslint changes in a separate PR.
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.
Created follow up ticket here: https://linear.app/n8n/issue/CAT-623/create-reusable-eslint-and-tsconfig-config-packages
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.
Very nice to see this starting to take shape 🙌 Couple comments
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
LGTM 🎉 Maybe we could include this new package to the dev:fe
script in root package.json
? Let's do that as a followup to get this in first
✅ All Cypress E2E specs passed |
n8n
|
Project |
n8n
|
Branch Review |
cat-621-create-reusable-frontend-composables-package
|
Run status |
|
Run duration | 04m 25s |
Commit |
|
Committer | Alex Grozav |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
1
|
|
5
|
|
0
|
|
433
|
View all changes introduced in this branch ↗︎ |
Got released with |
composables
packagecomposables
package
Summary
As part of the Frontend restructuring initiative, we're adding a separate
@n8n/frontend-composables
package that will contain all standalone composables. This PR also provides individual tooling packages.Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/CAT-621/create-reusable-frontend-composables-package
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)