Code Monkey home page Code Monkey logo

Comments (26)

odahcam avatar odahcam commented on August 10, 2024 2

I've done. I fixed zxing-typescript build in my fork and published it, now ngx-zxing is using the fixed version instead of the original.

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024 1

All right, I will try then. 🙂

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024 1

Well, I managed to build the project with zxing-typescript as a dependency. Also, I've updated the code to the Angular 5 patterns.

Unfortunatelly zxing-ts has a problem too, it's packaged with TS files, wich is a bad thing to build systems + packages, if it was packaged as a JavaScript module, none of us would have build problems. More about: aleris/zxing-typescript#8

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024 1

Awesome!! You wanna make a PR to merge your changes back here? What about zxing-ts, are you maintaining the fork or will aleris accept a PR?

from ngx-scanner.

aleris avatar aleris commented on August 10, 2024 1

I would greatly appreciate a PR, would be great if would be focused and manageable to merge. Thanks!

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024 1

Changes of ngx-zxing look fine for me.

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

I actually tried that in the first place but can't import zxing-typescript with .forRoot() or anything since it is not a proper lib/module.
It's my first angular library, feel free to make a PR 🙂

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Okay so what are we gonna do?

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

I'm trying to fix zxing-typescript package here right now. Any help is appreciated.

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Cool, what can I do? Will probably have some time during the holidays

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

Nice, I've successful installed the package dependencies only today, 'cause I had a problem with one of them (sharp who has some peculiar dependencies).

Also, I can already create a bundle of the project, but I need to test if it will work with ngx-zxing.

If you want to make any improvements in the code or help with tests or getting ngx-zxing to work with the package would me awesome. Basically I don't know what you can do, but I would appreciate.

When we finish we can try to merge my fork back here.

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

Thanks! Well, lets try to merge ngx-zxing back here! About zxing-ts, I don't think @aleris will accept that quantity of changes in a single take, so I will keep the fork for a while until we decide what happens to it.

I just think that my ngx-zxing fork is not ready for a PR, there's still things I have to fix. I've done the dependency task, but I changed the project structure and messed up with the component, I pretend to fix it up today and then make the PR.

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

Can you take a look in my fork and give some feedback to us? :)

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

I made progress with both packages. We can start thinking in the future of both and if the PRs are gonna happen.

Here is an example of everything (I bet/hope) working: https://stackblitz.com/edit/ngx-zxing-2-exemple

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

@odahcam Whats your idea for the project? Do you want to push the changes you made back here or are you gonna maintain your fork?

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

Well, at this time I need to be able to publish versions everytime I need them, I can't be forced to wait cause I need some features for like yesterday. 😆

If I my need can be satisfied here, I can make a PR today, if it does not I will have to wait a little more to PR my changes back.

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Sure thing, not a problem, just wanted to know 😉
I just had the feeling that some to the issues that arouse here, could potentially already be fixed in your code base.

By the way, thanks for the great work, I really appreciate it!

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

You're welcome! Sure something I got fixed, but that issues I created today are still a problem in my branch that I'll try to fix week. Also I'm planing to create another demo with angular/material and more user interactions.

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

@werthdavid what you think about publishing the package under a npm-scope?

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

sure, what did you think of?

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

About the scope name or the idea?

Scope could be @zxing/ngx-scanner or anything else, I really did not think about what could be a good name, so much so that I put a random name (@barn/ngx-zxing) in my published package just to have it published.

About the idea it is cool because the scope owner can manage who can publish in that package, so you could set publish permissions for both of us. That would make things easier and bring more flexibility for me.

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Both sounds good 😉

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

I created zxing org. on NPM (I can't believe it was not created yet), so tell me if you wanna to go ahead with this and lets see what we can do. 😀

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

I'm good 2 go, lets do it!

from ngx-scanner.

odahcam avatar odahcam commented on August 10, 2024

Nice! So now we need to start to deprecate our own packages and point to the zxing scope publish and, obviously, publish something under the scope too, hehe. I can do something with my repo tonight and also finish the PR #20 .

from ngx-scanner.

lock avatar lock commented on August 10, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from ngx-scanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.