From: Wojtek Kosior via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: Jelle Licht <jlicht@fsfe.org>
Cc: Nicolas Graves <ngraves@ngraves.fr>,
Timothy Sample <samplet@ngyro.com>,
guix-devel@gnu.org
Subject: Re: Non-bootstrappable NPM packages
Date: Tue, 20 Feb 2024 20:17:18 +0100 [thread overview]
Message-ID: <20240220201718.0ac8c656.koszko@koszko.org> (raw)
In-Reply-To: <87sf1nyn26.fsf@fsfe.org>
[-- Attachment #1: Type: text/plain, Size: 2763 bytes --]
Hi there
not sure if this was mentioned here but in case it wasn't — there was a
proof of concept packaging of sucrase and jQuery as early as in 2022.
You can see the relevant thread here[1].
So, yes, it's definitely easier than it seems (and easier than some
used to describe it) — the only problem is that nobody seems to have
picked up that work done by zamfofex ¯\_(ツ)_/¯
Wojtek
[1] https://lists.gnu.org/archive/html/guix-devel/2022-11/msg00191.html
-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile
♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)
On Tue, 20 Feb 2024 20:04:33 +0100 Jelle Licht <jlicht@fsfe.org> wrote:
> Nicolas Graves <ngraves@ngraves.fr> writes:
>
> > On 2019-07-24 15:41, Jelle Licht wrote:
> >
> >> Timothy Sample <samplet@ngyro.com> writes:
> >>
> >> [snip]
> >>
> >>> I’ve come to think that bootstrapping JavaScript might be easier than it
> >>> looks. As time goes on, Node gets better at the newer JavaScript
> >>> features. This removes the need for things like Babel or Rollup, since
> >>> with some care, Node can run the source directly with out any
> >>> transformations or bundling. That being said, TypeScript looks to be a
> >>> major issue, as it is used in many fundamental JavaScript packages and
> >>> it is not bootstrappable.
> >>
> >> Very recently (IE about 94 minutes ago), I found out something
> >> interesting that might be helpful; Sucrase[0] is, among other things, a
> >> typescript transpiler that does not do any type checking, and it only
> >> has some runtime dependencies.
> >>
> >> I created some “fiio”-packages as well [1] , and I have confirmed that
> >> it actually works! My next step was of course to compile TypeScript
> >> proper, and this worked with one tiny snag that I reported at [2]. After
> >> manually fixing these problems in the TypeScript source tree, I was able
> >> to transpile the TypeScript sources using guix-packaged
> >> `node-sucrase-bootstrap'.
> >
> > Hi Jelle!
> >
> > Did someone made some progress on the build-system since that to allow
> > for this to be taken into account? If you still have it, could you share
> > your "fiio" packages once again? The paste link is expired. Thanks!
>
> I don't have them anymore, but I could re-generate them.
> Are you still interested, or am I too slow in responding, and are your
> other node-related emails more relevant by now?
>
> KR,
> - Jelle
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-02-20 19:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 13:23 Non-bootstrappable NPM packages Timothy Sample
2019-07-24 13:41 ` Jelle Licht
2019-07-24 17:06 ` Timothy Sample
2024-02-08 0:44 ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2024-02-08 2:11 ` Timothy Sample
2024-02-20 19:04 ` Jelle Licht
2024-02-20 19:17 ` Wojtek Kosior via Development of GNU Guix and the GNU System distribution. [this message]
2024-02-20 23:25 ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240220201718.0ac8c656.koszko@koszko.org \
--to=guix-devel@gnu.org \
--cc=jlicht@fsfe.org \
--cc=koszko@koszko.org \
--cc=ngraves@ngraves.fr \
--cc=samplet@ngyro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.