New Upstream Snapshot - node-argv
Ready changes
Summary
Merged new upstream version: 0.0.2+git20140203.1.aaec51e (was: 0.0.2).
Resulting package
Built on 2022-11-07T19:09 (took 12m2s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-snapshots node-argv
Lintian Result
Diff
diff --git a/.nodelint.json b/.nlint.json
similarity index 54%
rename from .nodelint.json
rename to .nlint.json
index d91a693..aee77b6 100644
--- a/.nodelint.json
+++ b/.nlint.json
@@ -1,10 +1,13 @@
{
"ignore": [
+ ".git/",
"node_modules/"
],
"linters": {
"jshint": {
- "boss": true
+ "node": true,
+ "boss": true,
+ "undef": true
}
}
}
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index ed69402..0000000
--- a/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules/
-build/results/
diff --git a/README.md b/README.md
index af4ae08..ed5bfca 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,9 @@
argv is a nodejs module that does command line argument parsing.
-[![Build Status](https://travis-ci.org/codenothing/argv.png?branch=master)](https://travis-ci.org/codenothing/argv)
+[![NPM version](https://badge.fury.io/js/argv.png)](http://badge.fury.io/js/argv)
+[![Build Status](https://travis-ci.org/codenothing/argv.png?branch=master)](https://travis-ci.org/codenothing/argv)
+[![Code Climate](https://codeclimate.com/github/codenothing/argv.png)](https://codeclimate.com/github/codenothing/argv)
### Installation
@@ -68,9 +70,9 @@ Types convert option values to useful js objects. They are defined along with ea
* **string**: Ensure values are strings
* **path**: Converts value into a fully resolved path.
-* **int**: Converts value into an integer
+* **integer | int**: Converts value into an integer
* **float**: Converts value into a float number
-* **boolean**: Converts value into a boolean object. 'true' and '1' are converted to true, everything else is false.
+* **boolean | bool**: Converts value into a boolean object. 'true' and '1' are converted to true, everything else is false.
* **csv**: Converts value into an array by splitting on comma's.
* **list**: Allows for option to be defined multiple times, and each value added to an array
* **[list|csv],[type]**: Combo type that allows you to create a list or csv and convert each individual value into a type.
diff --git a/build/test.js b/build/test.js
index 674033e..904597a 100644
--- a/build/test.js
+++ b/build/test.js
@@ -1,5 +1,4 @@
-global.munit = require( 'munit' );
-global.argv = require( '../' );
+var munit = global.munit = require( 'munit' );
// Only stop test suite when running make test
if ( ! process.env.NODE_TEST_NO_SKIP ) {
@@ -8,6 +7,5 @@ if ( ! process.env.NODE_TEST_NO_SKIP ) {
// Render all tests
munit.render( __dirname + '/../test/', {
- junit: __dirname + '/results/',
- junitPrefix: process.version.replace( /\./g, '_' )
+ results: __dirname + '/results/'
});
diff --git a/debian/changelog b/debian/changelog
index 5d74240..6fad25c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-argv (0.0.2+git20140203.1.aaec51e-1) UNRELEASED; urgency=low
+
+ * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk> Mon, 07 Nov 2022 19:03:30 -0000
+
node-argv (0.0.2-7) unstable; urgency=medium
* Remove depends on nodejs as policy
diff --git a/package.json b/package.json
index e2281f3..61c2d51 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"url": "http://codenothing.github.com/argv/",
"keywords": [ "cli", "argv", "options" ],
"author": "Corey Hart <corey@codenothing.com>",
- "version": "0.0.2",
+ "version": "0.0.3pre",
"main": "./index.js",
"engines": {
"node": ">=0.6.10"
@@ -15,7 +15,7 @@
"dependencies": {
},
"devDependencies": {
- "nlint": "0.0.4",
- "munit": "0.0.5"
+ "nlint": "0.0.6",
+ "munit": "0.0.7"
}
}
diff --git a/test/.nlint.json b/test/.nlint.json
new file mode 100644
index 0000000..194d476
--- /dev/null
+++ b/test/.nlint.json
@@ -0,0 +1,10 @@
+{
+ "linters": {
+ "jshint": {
+ "predef": {
+ "munit": false,
+ "argv": false
+ }
+ }
+ }
+}
diff --git a/test/munit.js b/test/munit.js
new file mode 100644
index 0000000..28e2fff
--- /dev/null
+++ b/test/munit.js
@@ -0,0 +1 @@
+global.argv = require( '../' );
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files