[Pkg-javascript-commits] [Git][js-team/node-marked][master] 2 commits: Build typescript declarations

Yadd (@yadd) gitlab at salsa.debian.org
Sun Jun 21 19:53:52 BST 2026



Yadd pushed to branch master at Debian JavaScript Maintainers / node-marked


Commits:
abf843de by Xavier Guimard at 2026-06-21T20:51:59+02:00
Build typescript declarations

Closes: #1140500

- - - - -
f3b811d9 by Xavier Guimard at 2026-06-21T20:53:35+02:00
releasing package node-marked version 18.0.5+~cs7.2.17-2

- - - - -


2 changed files:

- debian/changelog
- debian/nodejs/build


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+node-marked (18.0.5+~cs7.2.17-2) unstable; urgency=medium
+
+  * Team upload
+  * Build typescript declarations (Closes: #1140500)
+
+ -- Xavier Guimard <yadd at debian.org>  Sun, 21 Jun 2026 20:52:03 +0200
+
 node-marked (18.0.5+~cs7.2.17-1) unstable; urgency=medium
 
   * Team upload


=====================================
debian/nodejs/build
=====================================
@@ -7,6 +7,8 @@ esbuild src/marked.ts --bundle --format=esm --outfile=lib/marked.esm.js
 esbuild src/marked.ts --bundle --format=iife --global-name=marked --outfile=lib/marked.umd.js
 esbuild src/marked.ts --bundle --format=iife --global-name=marked --minify --outfile=lib/marked.umd.min.js
 
-# Upstream generates the man page from man/marked.1.md with marked-man
-# (honours SOURCE_DATE_EPOCH, so the build stays reproducible).
+# Generate the TypeScript declarations
+tsc --declaration --emitDeclarationOnly --noEmit false --outDir lib --project tsconfig.json
+sed -i "s/\.ts'/.js'/g" lib/*.d.ts
+
 marked-man man/marked.1.md > man/marked.1



View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/compare/53d03a29e8a32615388670b5d7edb6f8c77ff57d...f3b811d90d29c06721f286613562a8ae5d700f09

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-marked/-/compare/53d03a29e8a32615388670b5d7edb6f8c77ff57d...f3b811d90d29c06721f286613562a8ae5d700f09
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20260621/b4276d47/attachment-0001.htm>


More information about the Pkg-javascript-commits mailing list