Giter VIP home page Giter VIP logo

Comments (7)

modos189 avatar modos189 commented on May 20, 2024

I think that if not now, then in the future we will still be forced to use nodejs in the project. And if so, then let's add it now. Can you connect nodejs, babel and eslint to our build system? You seem to have more experience with this than I do.

from ingress-intel-total-conversion.

johnd0e avatar johnd0e commented on May 20, 2024

And if so, then let's add it now.

Why not. But in fact it is beyond of scope of this issue: here we need very minor change to build script (I can make PR).


P.S
Yes, in the end it's about nodejs-dependent tools, but at first we need to be able to use them locally.
Later (but only after we have all the sources prepared) we also could include linting/prettying in our CI pipeline.

Currently we also need node.js+babel in our build process in order to resolve #47 keeping backward compatibility, but is is separate issue.

You seem to have more experience with this than I do.

Actually I do not. But it seems not hard, so let's try)

from ingress-intel-total-conversion.

angel93ayora avatar angel93ayora commented on May 20, 2024

I've been building plugins with gulp and linting with eslint for a while, y simply inject code this way:
/* inject: ./src/folder/file.js */
or for html strings
someHTMLElement.html(`/* inject ./src/html/file.html */`)

i can send you the gulpfile and eslint files

from ingress-intel-total-conversion.

johnd0e avatar johnd0e commented on May 20, 2024

i can send you the gulpfile and eslint files

I'd like to see some samples, thanks in advance.

from ingress-intel-total-conversion.

angel93ayora avatar angel93ayora commented on May 20, 2024

i upload them here
build-files.zip

take a look

from ingress-intel-total-conversion.

angel93ayora avatar angel93ayora commented on May 20, 2024

The gulpfile and eslint files would need to be changed to match folders, also gulpfile will need changes to build plugins separatedly and IITC.

from ingress-intel-total-conversion.

johnd0e avatar johnd0e commented on May 20, 2024

@angel93ayora, thank you for samples.
I suppose we will transfer all our build system from python to node at some point.

As for this PR: I have new idea how we could completely get rid of all @@METAINFO/PLUGINSTART/PLUGINEND...
But it will be another PR.

from ingress-intel-total-conversion.

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.