-
-
Notifications
You must be signed in to change notification settings - Fork 48
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: angular integration #129
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@nartc is attempting to deploy a commit to the Purus Projects Team on Vercel. A member of the Team first needs to authorize it. |
d87d441
to
724193e
Compare
Here are the steps to run the test locally and the final result:
I hope this helps! Let me know if you have any further questions. |
@PuruVJ is there a strategy you have in mind for including the angular integration now in terms of release version/changeset? |
It's a bit tricky. it should go out as 0.x release first. Then as it gains more attractions within a month, releasing 2.0.0 feels fine. I know skipping over 1.0.0 is weird, but I dont think angular users would mind, considering the whole thing with skipping angular 3 and updating other deps directly v4 as well. I haven't given this much time yet. It seems the docs site is also breaking due to old version of something and that'll need fixing before this can be merged. I'm on a bit of a limited bandwidth for next few days due to some urgent bugs in svelte REPL and sites. Once that's done, I'll give this PR a full review along with updated docs site. |
@PuruVJ can you please look into this PR and merge it. I'm waiting for this support |
Hi! I am able to work on this finally!! Thanks a lot for this @nartc. Ill be going through the changes and asking questions to understand it. However, I dont really understand angular deeply, so I'll be going forward with the assumption that you took care of the edge cases. I have full confidence in you, considering your background and experience 🔥😁 Once again, thanks a lot for this! |
I have one question: Is ng-packagr necessary? Can't we compile the decorators down to their plain JS version with tsup and ship it? |
I'll check it out later today. Thanks @PuruVJ for taking a look. |
@PuruVJ I've updated the PR. There are some changes that I want to point out:
|
Re: minification - Other versions also ship unminified version, but the sizes are calculated from dist/min/index.js, which is minified, but isn't used directly, unless someone explicitly uses its path. Is it possible to have that for Angular integration too? Just for reporting the size? |
@PuruVJ, It is possible to run a script to minify Angular's output, but it wouldn't seem fair either since the other |
Wait what?! That doesn't seem right. @neodrag/core's functionality should be bundled inside the package. Is that possible? |
It shouldn't since Angular bundles external packages and optimizes them for end users. Libraries' dependencies are either implicit deps (e:g: |
Aha! Is it possible to make a separate minified file with decorators intact, but entirety of @neodrag/core included, and then minified? I'd still like the users to get an idea of how big this is gonna be |
I can figure something out |
This PR adds neodrag integration with Angular
NeoDraggable
directiveWould love some help to set up changesets for publishing.
Closes #106