Sparnatural icon indicating copy to clipboard operation
Sparnatural copied to clipboard

Using Sparnatural in webpack environment

Open semanticfire opened this issue 4 years ago • 2 comments

Hi,

I've tried to use Sparnatural in a NPM/WebPack environment by installing it from git with npm install. However that turns out to require a lot of modifications and configuration updates.

It would be nice if Sparnatural would also work from an import directive with webpack.

semanticfire avatar Feb 04 '21 18:02 semanticfire

Le jeu. 4 févr. 2021 à 19:33, Bart van Leeuwen [email protected] a écrit :

Hi,

I've tried to use Sparnatural in a NPM/WebPack environment by installing it from git with npm install.

Don't try this at home :-)

However that turns out to require a lot of modifications and configuration updates.

It would be nice if Sparnatural would also work from an import directive with webpack.

This was not an intended use-case. I learned webpack packaging with this project, and really don't master all the possibilities. This raises the question of dependencies, too (especially to JQuery).

Do you know what it would take to make your life easier with an import directive ? Don't hesitate to propose pull requests, as I really don't have the knowledge to help you on this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sparna-git/Sparnatural/issues/194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU2H4PH3IQMGNFMDQS4USTS5LSBLANCNFSM4XDKURGA .

--

Thomas Francart -* SPARNA* Web de données | Architecture de l'information | Accès aux connaissances blog : blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart tel : +33 (0)6.71.11.25.97, skype : francartthomas

tfrancart avatar Feb 05 '21 08:02 tfrancart

See current port to Typescript : https://github.com/SteinerPascal/sparnatural-port

tfrancart avatar Sep 20 '22 14:09 tfrancart

I just noticed this, the repo will be archived according to an issue, what is the status now?

semanticfire avatar Nov 30 '22 08:11 semanticfire

Hello @semanticfire The repo at https://github.com/SteinerPascal/sparnatural-port will be archived. This repo here at https://github.com/sparna-git/Sparnatural is alive and well, and will continue to exist. The current Typescript version is currently in branch (issue-298-TS)[https://github.com/sparna-git/Sparnatural/tree/issue-298-TS] and will ultimately be merged on master.

We will continue to make evolutions in Sparnatural in 2023.

I hope this clarifies the status, don't hesitate if you need more clarifications.

tfrancart avatar Nov 30 '22 10:11 tfrancart

And how about my original question? sparnatural in webpack

semanticfire avatar Nov 30 '22 11:11 semanticfire

Is this related to the package being available on NPM ? Then please follow this other issue #367 - this is TODO, that will be adressed once the Typescript version will be released (early 2023)

tfrancart avatar Nov 30 '22 11:11 tfrancart

Yes exactly, I'd like to npm install it into my application, I'll close this.

semanticfire avatar Nov 30 '22 16:11 semanticfire