@digigov/cli 0.6.1-alpha → 0.6.2
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 -3
- 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.2 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.2/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);
|
|
@@ -52,7 +51,6 @@ function resolveProject(dir) {
|
|
|
52
51
|
|
|
53
52
|
const isNodeLib = !isLib && !isApp && !isWorkspace && !isDocs;
|
|
54
53
|
|
|
55
|
-
|
|
56
54
|
let ignore = path.resolve(root, '.gitignore');
|
|
57
55
|
if (!fs.existsSync(ignore)) {
|
|
58
56
|
ignore = path.resolve(workspace.root, '.gitignore');
|
|
@@ -125,7 +123,6 @@ function makeConfig(file, cfg) {
|
|
|
125
123
|
}
|
|
126
124
|
}
|
|
127
125
|
|
|
128
|
-
|
|
129
126
|
function resolveWorkspace(dir) {
|
|
130
127
|
try {
|
|
131
128
|
const rushConfiguration = rushLib.RushConfiguration.loadFromDefaultLocation({
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.
|
|
1
|
+
{"version":"0.6.2","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.2",
|
|
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",
|