[Pkg-javascript-commits] [Git][js-team/node-rimraf][master] Add compat for types

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Sat Dec 13 17:51:40 GMT 2025



Bastien Roucariès pushed to branch master at Debian JavaScript Maintainers / node-rimraf


Commits:
5c3eae56 by Bastien Roucariès at 2025-12-13T18:50:38+01:00
Add compat for types

- - - - -


4 changed files:

- debian/control
- + debian/nodejs/install
- + debian/patches/add-compat-types.patch
- debian/patches/series


Changes:

=====================================
debian/control
=====================================
@@ -23,6 +23,7 @@ Depends: ${misc:Depends}
  , nodejs:any
 Recommends: node-graceful-fs
 Provides: ${nodejs:Provides}
+ , node-types-rimraf (= ${source:Version})
 Description: Deep deletion (like rm -rf) module for Node.js
  node-rimraf is a Node.js module that provides asynchronous deep-deletion
  of files and directories.


=====================================
debian/nodejs/install
=====================================
@@ -0,0 +1,3 @@
+dist/ rimraf/
+package.json rimraf/
+ at types/rimraf @types


=====================================
debian/patches/add-compat-types.patch
=====================================
@@ -0,0 +1,40 @@
+From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca at debian.org>
+Date: Sat, 13 Dec 2025 18:47:04 +0100
+Subject: Add compatibilty types
+
+forwarded: not-needed
+---
+ @types/rimraf/index.d.ts   |  2 ++
+ @types/rimraf/package.json | 14 ++++++++++++++
+ 2 files changed, 16 insertions(+)
+ create mode 100644 @types/rimraf/index.d.ts
+ create mode 100644 @types/rimraf/package.json
+
+diff --git a/@types/rimraf/index.d.ts b/@types/rimraf/index.d.ts
+new file mode 100644
+index 0000000..6cac542
+--- /dev/null
++++ b/@types/rimraf/index.d.ts
+@@ -0,0 +1,2 @@
++export * from "rimraf";
++export { default } from "rimraf";
+diff --git a/@types/rimraf/package.json b/@types/rimraf/package.json
+new file mode 100644
+index 0000000..ed5b026
+--- /dev/null
++++ b/@types/rimraf/package.json
+@@ -0,0 +1,14 @@
++{
++  "name": "@types/glob",
++  "version": "4.4.1",
++  "description": "Stub type definition for package because it includes its own types.",
++  "types": "index.d.ts",
++  "license": "MIT",
++  "repository": {
++    "type": "git",
++    "url": "https://salsa.debian.org/js-team/node-rimraf"
++  },
++  "dependencies": {
++    "rimraf": "*"
++  }
++}


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 2001_rename_nodejs.patch
+add-compat-types.patch



View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/5c3eae56cecd2a8fa903d70019cac152d232e19d

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-rimraf/-/commit/5c3eae56cecd2a8fa903d70019cac152d232e19d
You're receiving this email because of your account on salsa.debian.org.


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


More information about the Pkg-javascript-commits mailing list