@digigov/cli 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib.js +0 -4
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ $ npm install -g @digigov/cli
|
|
|
19
19
|
$ digigov COMMAND
|
|
20
20
|
running command...
|
|
21
21
|
$ digigov (-v|--version|version)
|
|
22
|
-
@digigov/cli/0.6.
|
|
22
|
+
@digigov/cli/0.6.3 darwin-arm64 node-v16.14.2
|
|
23
23
|
$ digigov --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
25
|
$ digigov COMMAND
|
|
@@ -44,7 +44,7 @@ EXAMPLE
|
|
|
44
44
|
hello world from ./src/hello.ts!
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
_See code: [src/commands/hello.ts](https://github.com/tooling/cli/blob/v0.6.
|
|
47
|
+
_See code: [src/commands/hello.ts](https://github.com/tooling/cli/blob/v0.6.3/src/commands/hello.ts)_
|
|
48
48
|
|
|
49
49
|
## `digigov help [COMMAND]`
|
|
50
50
|
|
package/lib.js
CHANGED
|
@@ -7,7 +7,6 @@ const glob = require('glob');
|
|
|
7
7
|
const { Command } = require('@oclif/command');
|
|
8
8
|
const rushLib = require('@microsoft/rush-lib');
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
function resolveProject(dir) {
|
|
12
11
|
const pkg = pkgUp.sync({ cwd: dir || process.cwd() });
|
|
13
12
|
const root = path.dirname(pkg);
|
|
@@ -18,7 +17,6 @@ function resolveProject(dir) {
|
|
|
18
17
|
src = '.';
|
|
19
18
|
distDir = '.';
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
// project type heuristics
|
|
23
21
|
let isLib = false;
|
|
24
22
|
let isWorkspace = false;
|
|
@@ -52,7 +50,6 @@ function resolveProject(dir) {
|
|
|
52
50
|
|
|
53
51
|
const isNodeLib = !isLib && !isApp && !isWorkspace && !isDocs;
|
|
54
52
|
|
|
55
|
-
|
|
56
53
|
let ignore = path.resolve(root, '.gitignore');
|
|
57
54
|
if (!fs.existsSync(ignore)) {
|
|
58
55
|
ignore = path.resolve(workspace.root, '.gitignore');
|
|
@@ -125,7 +122,6 @@ function makeConfig(file, cfg) {
|
|
|
125
122
|
}
|
|
126
123
|
}
|
|
127
124
|
|
|
128
|
-
|
|
129
125
|
function resolveWorkspace(dir) {
|
|
130
126
|
try {
|
|
131
127
|
const rushConfiguration = rushLib.RushConfiguration.loadFromDefaultLocation({
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.3","commands":{"hello":{"id":"hello","description":"describe the command here","pluginName":"@digigov/cli","pluginType":"core","aliases":[],"examples":["$ digigov hello\nhello world from ./src/hello.ts!\n"],"flags":{},"args":[{"name":"file"}]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/cli",
|
|
3
3
|
"description": "CLI for Digigov apps and libs with plugin support",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.3",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"digigov": "./bin/run"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"execa": "5.0.0",
|
|
20
20
|
"rimraf": "3.0.2",
|
|
21
21
|
"glob": "7.1.6",
|
|
22
|
-
"@microsoft/rush-lib": "5.
|
|
22
|
+
"@microsoft/rush-lib": "5.83.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@oclif/dev-cli": "1",
|