@digigov/cli 0.6.6 → 1.0.0-00643e1d
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 +1 -3
- package/lib.js +5 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -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.
|
|
22
|
+
@digigov/cli/1.0.0-00643e1d linux-x64 node-v16.17.1
|
|
23
23
|
$ digigov --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
25
|
$ digigov COMMAND
|
|
@@ -44,8 +44,6 @@ 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.6/src/commands/hello.ts)_
|
|
48
|
-
|
|
49
47
|
## `digigov help [COMMAND]`
|
|
50
48
|
|
|
51
49
|
display help for digigov
|
package/lib.js
CHANGED
|
@@ -10,6 +10,10 @@ const rushLib = require('@microsoft/rush-lib');
|
|
|
10
10
|
function resolveProject(dir) {
|
|
11
11
|
const pkg = pkgUp.sync({ cwd: dir || process.cwd() });
|
|
12
12
|
const root = path.dirname(pkg);
|
|
13
|
+
let externalLockFile = false;
|
|
14
|
+
if (fs.existsSync(path.join(root, 'yarn.lock')) || fs.existsSync(path.join(root, 'package-lock.json'))) {
|
|
15
|
+
externalLockFile = true;
|
|
16
|
+
}
|
|
13
17
|
let distDir = 'dist';
|
|
14
18
|
let src = 'src';
|
|
15
19
|
let workspace = {}
|
|
@@ -95,6 +99,7 @@ function resolveProject(dir) {
|
|
|
95
99
|
workspace,
|
|
96
100
|
ignore,
|
|
97
101
|
digigov,
|
|
102
|
+
externalLockFile,
|
|
98
103
|
};
|
|
99
104
|
}
|
|
100
105
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.
|
|
1
|
+
{"version":"1.0.0-00643e1d","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.
|
|
4
|
+
"version": "1.0.0-00643e1d",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"digigov": "./bin/run"
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"init": "./lib/hooks/init/addcommand"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"repository": "tooling/cli",
|
|
65
64
|
"scripts": {
|
|
66
65
|
"publint": "publint",
|
|
67
66
|
"lint": "echo 'no lint needed (yet)'",
|