uncommitted - node-type-check

Ready changes

Summary

Import uploads missing from VCS:

Diff

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..273d5bc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.swp
+node_modules
+coverage
+*.t
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c7b016c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,3 @@
+language: node_js
+node_js:
+  - 12
diff --git a/debian/changelog b/debian/changelog
index 660441c..d04ee71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+node-type-check (0.4.0+dfsg-3) unstable; urgency=medium
+
+  * Team upload
+  * Improve description
+  * Depends on newer pkg-js-tools avoiding to rebuild package.json
+    using % rules
+  * Reuse pkg-js-tools testing
+
+ -- Bastien Roucariès <rouca@debian.org>  Mon, 04 Oct 2021 08:09:29 +0000
+
 node-type-check (0.4.0+dfsg-2) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/control b/debian/control
index 80ca845..ca5a191 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends:
  , livescript
  , mocha <!nocheck>
  , node-prelude-ls <!nocheck>
- , dh-sequence-nodejs
+ , dh-sequence-nodejs (>= 0.9.71~)
 Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/js-team/node-type-check
 Vcs-Git: https://salsa.debian.org/js-team/node-type-check.git
@@ -22,7 +22,8 @@ Depends:
  ${misc:Depends}
  , node-prelude-ls
 Multi-Arch: foreign
-Description: allows you to check the types of JavaScript values at runtime
- It comes with a Haskell like type syntax.
+Description: Check the types of JavaScript values at runtime
+ This library allows one to run unit test using a Haskell like type
+ syntax using Node.js.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/nodejs/name b/debian/nodejs/name
new file mode 100644
index 0000000..fd81399
--- /dev/null
+++ b/debian/nodejs/name
@@ -0,0 +1 @@
+type-check
diff --git a/debian/rules b/debian/rules
index 3294c6c..32275e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-package.json: package.json.ls
-	$(MAKE) -f Makefile $@
-
-%: package.json
+%:
 	dh $@
 
 override_dh_auto_build:
 	$(MAKE) build
-
-override_dh_auto_test:
-	$(MAKE) test
-
diff --git a/debian/tests/pkg-js/test b/debian/tests/pkg-js/test
new file mode 100644
index 0000000..b87c6ed
--- /dev/null
+++ b/debian/tests/pkg-js/test
@@ -0,0 +1 @@
+mocha --ui tdd --require livescript "test/*.ls"

Debdiff

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)

  • Description: allows you to check Check the types of JavaScript values at runtime
     It comes with
     This library allows one to run unit test using a Haskell like type syntax.
     syntax using Node.js.

Run locally

More details

Full run details