Skip to content

Commit 017f721

Browse files
committed
Rename tools and commands
The reason for renaming is to reflect the difference between a "module" and a "package". A module is a single file which exports one or more values. A package is a collection of one or more modules intended to be used for a related purpose. Hence, as the tools list "packages" rather than modules, renaming seemed appropriate.
1 parent 6263c74 commit 017f721

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+477
-155
lines changed

TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,8 @@ TODO
11521152
11531153
220. [gcc-explorer](https://github.com/mattgodbolt/gcc-explorer)
11541154
1155+
221. password datasets [1](https://github.com/skyzyx/bad-passwords) and [2](https://github.com/danielmiessler/SecLists)
1156+
11551157
11561158
11571159

bin/commands.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"ls": "./tools/ls/module-names/bin/cli",
2+
"ls": "./tools/ls/pkg-names/bin/cli",
33
"repl": "./lib/node_modules/@stdlib/repl/bin/cli"
44
}

bin/usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Options:
88
Commands:
99

1010
help [command] Print a help message.
11-
ls List module names.
11+
ls List package names.
1212
repl Start a REPL.
1313

etc/.makie.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ plugins[ 'lint-javascript' ] = path.join( prefix, 'makie-lint-javascript' );
3232
plugins[ 'lint-markdown' ] = path.join( prefix, 'makie-lint-markdown' );
3333
plugins[ 'complexity' ] = path.join( prefix, 'makie-complexity' );
3434
plugins[ 'view-complexity' ] = path.join( prefix, 'makie-view-complexity' );
35-
plugins[ 'list-modules' ] = path.join( prefix, 'makie-list-modules' );
36-
plugins[ 'list-module-names' ] = path.join( prefix, 'makie-list-module-names' );
35+
plugins[ 'list-pkgs' ] = path.join( prefix, 'makie-list-pkgs' );
36+
plugins[ 'list-pkgs-names' ] = path.join( prefix, 'makie-list-pkgs-names' );
3737

3838

3939
// EXPORTS //

tools/ls/pkgs/README.md renamed to tools/ls/installed-pkgs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Usage
1414

1515
``` javascript
16-
var pkgs = require( '/path/to/stdlib/tools/ls/pkgs' );
16+
var pkgs = require( '/path/to/stdlib/tools/ls/installed-pkgs' );
1717
```
1818

1919
#### pkgs( \[options\], clbk )
@@ -96,7 +96,7 @@ function onPkgs( error, list ) {
9696
### Usage
9797

9898
``` bash
99-
Usage: pkgs [options]
99+
Usage: installed-pkgs [options]
100100

101101
Options:
102102

@@ -115,7 +115,7 @@ Options:
115115
### Examples
116116

117117
``` bash
118-
$ DEBUG=* pkgs
118+
$ DEBUG=* installed-pkgs
119119
# => '...'
120120
# => '...'
121121
# => '...'
File renamed without changes.
File renamed without changes.

tools/ls/pkgs/bin/usage.txt renamed to tools/ls/installed-pkgs/bin/usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Usage: pkgs [options]
2+
Usage: installed-pkgs [options]
33

44
Options:
55

0 commit comments

Comments
 (0)