@push.rocks/smartdaemon 2.0.3 → 2.0.4
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/dist_ts/00_commitinfo_data.js +3 -3
- package/dist_ts/smartdaemon.paths.js +1 -1
- package/dist_ts/smartdaemon.plugins.d.ts +9 -9
- package/dist_ts/smartdaemon.plugins.js +10 -10
- package/npmextra.json +2 -2
- package/package.json +11 -11
- package/readme.md +14 -16
- package/ts/00_commitinfo_data.ts +2 -2
- package/ts/smartdaemon.paths.ts +4 -1
- package/ts/smartdaemon.plugins.ts +18 -9
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* autocreated commitinfo by @pushrocks/commitinfo
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
|
-
name: '@
|
|
6
|
-
version: '2.0.
|
|
5
|
+
name: '@push.rocks/smartdaemon',
|
|
6
|
+
version: '2.0.4',
|
|
7
7
|
description: 'start scripts as long running daemons and manage them'
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx5QkFBeUI7SUFDL0IsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVEQUF1RDtDQUNyRSxDQUFBIn0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as plugins from './smartdaemon.plugins.js';
|
|
2
2
|
export const packageDir = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '../');
|
|
3
3
|
export const systemdDir = plugins.path.join('/lib/systemd/system/');
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRkYWVtb24ucGF0aHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydGRhZW1vbi5wYXRocy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLDBCQUEwQixDQUFDO0FBRXBELE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FDekMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsd0JBQXdCLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFDL0QsS0FBSyxDQUNOLENBQUM7QUFDRixNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsc0JBQXNCLENBQUMsQ0FBQyJ9
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as path from 'path';
|
|
2
2
|
export { path };
|
|
3
|
-
import * as lik from '@
|
|
4
|
-
import * as smartfile from '@
|
|
5
|
-
import * as smartfm from '@
|
|
6
|
-
import * as smartlog from '@
|
|
7
|
-
import * as smartlogDestinationLocal from '@
|
|
8
|
-
import * as smartpath from '@
|
|
9
|
-
import * as smartshell from '@
|
|
10
|
-
import * as smartsystem from '@
|
|
11
|
-
export { lik, smartfile, smartfm, smartlog, smartlogDestinationLocal, smartpath, smartshell, smartsystem };
|
|
3
|
+
import * as lik from '@push.rocks/lik';
|
|
4
|
+
import * as smartfile from '@push.rocks/smartfile';
|
|
5
|
+
import * as smartfm from '@push.rocks/smartfm';
|
|
6
|
+
import * as smartlog from '@push.rocks/smartlog';
|
|
7
|
+
import * as smartlogDestinationLocal from '@push.rocks/smartlog-destination-local';
|
|
8
|
+
import * as smartpath from '@push.rocks/smartpath';
|
|
9
|
+
import * as smartshell from '@push.rocks/smartshell';
|
|
10
|
+
import * as smartsystem from '@push.rocks/smartsystem';
|
|
11
|
+
export { lik, smartfile, smartfm, smartlog, smartlogDestinationLocal, smartpath, smartshell, smartsystem, };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import * as path from 'path';
|
|
3
3
|
export { path };
|
|
4
4
|
// @pushrocks scope
|
|
5
|
-
import * as lik from '@
|
|
6
|
-
import * as smartfile from '@
|
|
7
|
-
import * as smartfm from '@
|
|
8
|
-
import * as smartlog from '@
|
|
9
|
-
import * as smartlogDestinationLocal from '@
|
|
10
|
-
import * as smartpath from '@
|
|
11
|
-
import * as smartshell from '@
|
|
12
|
-
import * as smartsystem from '@
|
|
13
|
-
export { lik, smartfile, smartfm, smartlog, smartlogDestinationLocal, smartpath, smartshell, smartsystem };
|
|
5
|
+
import * as lik from '@push.rocks/lik';
|
|
6
|
+
import * as smartfile from '@push.rocks/smartfile';
|
|
7
|
+
import * as smartfm from '@push.rocks/smartfm';
|
|
8
|
+
import * as smartlog from '@push.rocks/smartlog';
|
|
9
|
+
import * as smartlogDestinationLocal from '@push.rocks/smartlog-destination-local';
|
|
10
|
+
import * as smartpath from '@push.rocks/smartpath';
|
|
11
|
+
import * as smartshell from '@push.rocks/smartshell';
|
|
12
|
+
import * as smartsystem from '@push.rocks/smartsystem';
|
|
13
|
+
export { lik, smartfile, smartfm, smartlog, smartlogDestinationLocal, smartpath, smartshell, smartsystem, };
|
|
14
14
|
// third party
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRkYWVtb24ucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0ZGFlbW9uLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLE9BQU8sS0FBSyxJQUFJLE1BQU0sTUFBTSxDQUFDO0FBRTdCLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUVoQixtQkFBbUI7QUFDbkIsT0FBTyxLQUFLLEdBQUcsTUFBTSxpQkFBaUIsQ0FBQztBQUN2QyxPQUFPLEtBQUssU0FBUyxNQUFNLHVCQUF1QixDQUFDO0FBQ25ELE9BQU8sS0FBSyxPQUFPLE1BQU0scUJBQXFCLENBQUM7QUFDL0MsT0FBTyxLQUFLLFFBQVEsTUFBTSxzQkFBc0IsQ0FBQztBQUNqRCxPQUFPLEtBQUssd0JBQXdCLE1BQU0sd0NBQXdDLENBQUM7QUFDbkYsT0FBTyxLQUFLLFNBQVMsTUFBTSx1QkFBdUIsQ0FBQztBQUNuRCxPQUFPLEtBQUssVUFBVSxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sS0FBSyxXQUFXLE1BQU0seUJBQXlCLENBQUM7QUFFdkQsT0FBTyxFQUNMLEdBQUcsRUFDSCxTQUFTLEVBQ1QsT0FBTyxFQUNQLFFBQVEsRUFDUix3QkFBd0IsRUFDeEIsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEdBQ1osQ0FBQztBQUVGLGNBQWMifQ==
|
package/npmextra.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"projectType": "npm",
|
|
4
4
|
"module": {
|
|
5
5
|
"githost": "gitlab.com",
|
|
6
|
-
"gitscope": "
|
|
6
|
+
"gitscope": "push.rocks",
|
|
7
7
|
"gitrepo": "smartdaemon",
|
|
8
8
|
"description": "start scripts as long running daemons and manage them",
|
|
9
|
-
"npmPackagename": "@
|
|
9
|
+
"npmPackagename": "@push.rocks/smartdaemon",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"projectDomain": "push.rocks"
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartdaemon",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "start scripts as long running daemons and manage them",
|
|
6
6
|
"main": "dist_ts/index.js",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"@gitzone/tsbuild": "^2.1.25",
|
|
17
17
|
"@gitzone/tsrun": "^1.2.38",
|
|
18
18
|
"@gitzone/tstest": "^1.0.52",
|
|
19
|
-
"@
|
|
19
|
+
"@push.rocks/tapbundle": "^5.0.4",
|
|
20
20
|
"@types/node": "^18.11.2"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
23
|
+
"@push.rocks/lik": "^6.0.0",
|
|
24
|
+
"@push.rocks/smartfile": "^10.0.5",
|
|
25
|
+
"@push.rocks/smartfm": "^2.0.4",
|
|
26
|
+
"@push.rocks/smartlog": "^3.0.1",
|
|
27
|
+
"@push.rocks/smartlog-destination-local": "^9.0.1",
|
|
28
|
+
"@push.rocks/smartpath": "^5.0.5",
|
|
29
|
+
"@push.rocks/smartshell": "^3.0.3",
|
|
30
|
+
"@push.rocks/smartsystem": "^3.0.1"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"ts/**/*",
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"last 1 chrome versions"
|
|
46
46
|
],
|
|
47
47
|
"type": "module"
|
|
48
|
-
}
|
|
48
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @push.rocks/smartdaemon
|
|
2
2
|
start scripts as long running daemons and manage them
|
|
3
3
|
|
|
4
4
|
## Availabililty and Links
|
|
5
|
-
* [npmjs.org (npm package)](https://www.npmjs.com/package/@
|
|
6
|
-
* [gitlab.com (source)](https://gitlab.com/
|
|
7
|
-
* [github.com (source mirror)](https://github.com/
|
|
8
|
-
* [docs (typedoc)](https://
|
|
5
|
+
* [npmjs.org (npm package)](https://www.npmjs.com/package/@push.rocks/smartdaemon)
|
|
6
|
+
* [gitlab.com (source)](https://gitlab.com/push.rocks/smartdaemon)
|
|
7
|
+
* [github.com (source mirror)](https://github.com/push.rocks/smartdaemon)
|
|
8
|
+
* [docs (typedoc)](https://push.rocks.gitlab.io/smartdaemon/)
|
|
9
9
|
|
|
10
10
|
## Status for master
|
|
11
11
|
|
|
12
12
|
Status Category | Status Badge
|
|
13
13
|
-- | --
|
|
14
|
-
GitLab Pipelines | [](https://lossless.cloud)
|
|
15
|
+
GitLab Pipline Test Coverage | [](https://lossless.cloud)
|
|
16
|
+
npm | [](https://lossless.cloud)
|
|
17
|
+
Snyk | [](https://lossless.cloud)
|
|
18
18
|
TypeScript Support | [](https://lossless.cloud)
|
|
19
19
|
node Support | [](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
20
20
|
Code Style | [](https://lossless.cloud)
|
|
21
|
-
PackagePhobia (total standalone install weight) | [ | [ | [](https://lossless.cloud) [](https://lossless.cloud)
|
|
21
|
+
PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
|
|
22
|
+
PackagePhobia (package size on registry) | [](https://lossless.cloud)
|
|
23
|
+
BundlePhobia (total size when bundled) | [](https://lossless.cloud)
|
|
25
24
|
|
|
26
25
|
## Usage
|
|
27
26
|
|
|
@@ -35,7 +34,6 @@ We are always happy for code contributions. If you are not the code contributing
|
|
|
35
34
|
|
|
36
35
|
For further information read the linked docs at the top of this readme.
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
## Legal
|
|
38
|
+
> MIT licensed | **©** [Task Venture Capital GmbH](https://task.vc)
|
|
39
39
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
|
40
|
-
|
|
41
|
-
[](https://maintainedby.lossless.com)
|
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* autocreated commitinfo by @pushrocks/commitinfo
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
|
-
name: '@
|
|
6
|
-
version: '2.0.
|
|
5
|
+
name: '@push.rocks/smartdaemon',
|
|
6
|
+
version: '2.0.4',
|
|
7
7
|
description: 'start scripts as long running daemons and manage them'
|
|
8
8
|
}
|
package/ts/smartdaemon.paths.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as plugins from './smartdaemon.plugins.js';
|
|
2
2
|
|
|
3
|
-
export const packageDir = plugins.path.join(
|
|
3
|
+
export const packageDir = plugins.path.join(
|
|
4
|
+
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
5
|
+
'../'
|
|
6
|
+
);
|
|
4
7
|
export const systemdDir = plugins.path.join('/lib/systemd/system/');
|
|
@@ -4,15 +4,24 @@ import * as path from 'path';
|
|
|
4
4
|
export { path };
|
|
5
5
|
|
|
6
6
|
// @pushrocks scope
|
|
7
|
-
import * as lik from '@
|
|
8
|
-
import * as smartfile from '@
|
|
9
|
-
import * as smartfm from '@
|
|
10
|
-
import * as smartlog from '@
|
|
11
|
-
import * as smartlogDestinationLocal from '@
|
|
12
|
-
import * as smartpath from '@
|
|
13
|
-
import * as smartshell from '@
|
|
14
|
-
import * as smartsystem from '@
|
|
7
|
+
import * as lik from '@push.rocks/lik';
|
|
8
|
+
import * as smartfile from '@push.rocks/smartfile';
|
|
9
|
+
import * as smartfm from '@push.rocks/smartfm';
|
|
10
|
+
import * as smartlog from '@push.rocks/smartlog';
|
|
11
|
+
import * as smartlogDestinationLocal from '@push.rocks/smartlog-destination-local';
|
|
12
|
+
import * as smartpath from '@push.rocks/smartpath';
|
|
13
|
+
import * as smartshell from '@push.rocks/smartshell';
|
|
14
|
+
import * as smartsystem from '@push.rocks/smartsystem';
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export {
|
|
17
|
+
lik,
|
|
18
|
+
smartfile,
|
|
19
|
+
smartfm,
|
|
20
|
+
smartlog,
|
|
21
|
+
smartlogDestinationLocal,
|
|
22
|
+
smartpath,
|
|
23
|
+
smartshell,
|
|
24
|
+
smartsystem,
|
|
25
|
+
};
|
|
17
26
|
|
|
18
27
|
// third party
|