cloudcmd 16.1.1 → 16.2.0
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/ChangeLog +8 -0
- package/HELP.md +2 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/bin/cloudcmd.mjs +13 -12
- package/dist/cloudcmd.common.js +2 -2
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/cloudcmd.js +1 -1
- package/dist/cloudcmd.js.map +1 -1
- package/dist/modules/cloud.js +1 -1
- package/dist/modules/cloud.js.map +1 -1
- package/dist/modules/config.js +1 -1
- package/dist/modules/edit.js +1 -1
- package/dist/modules/edit.js.map +1 -1
- package/dist/modules/markdown.js +1 -1
- package/dist/modules/markdown.js.map +1 -1
- package/dist/modules/menu.js +1 -1
- package/dist/modules/operation.js +1 -1
- package/dist/modules/operation.js.map +1 -1
- package/dist/modules/terminal-run.js +1 -1
- package/dist/modules/upload.js +1 -1
- package/dist/modules/user-menu.js +1 -1
- package/dist/modules/view.js +1 -1
- package/dist/sw.js +1 -1
- package/dist-dev/cloudcmd.common.js +2 -2
- package/dist-dev/cloudcmd.js +5 -5
- package/dist-dev/modules/cloud.js +1 -1
- package/dist-dev/modules/edit.js +1 -1
- package/dist-dev/modules/markdown.js +1 -1
- package/dist-dev/modules/operation.js +1 -1
- package/dist-dev/sw.js +1 -1
- package/package.json +3 -3
- package/server/cloudcmd.js +5 -5
- package/server/config.js +4 -4
- package/server/distribute/import.js +2 -2
- package/server/markdown/index.js +2 -2
- package/server/route.js +6 -6
- package/server/{server.js → server.mjs} +19 -22
- package/tmpl/config.hbs +2 -2
package/ChangeLog
CHANGED
package/HELP.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cloud Commander v16.
|
|
1
|
+
# Cloud Commander v16.2.0
|
|
2
2
|
|
|
3
3
|
### [Main][MainURL] [Blog][BlogURL]
|
|
4
4
|
|
|
@@ -1082,6 +1082,7 @@ There are a lot of ways to be involved in `Cloud Commander` development:
|
|
|
1082
1082
|
|
|
1083
1083
|
## Version history
|
|
1084
1084
|
|
|
1085
|
+
- *2022.06.17*, **[v16.2.0](//github.com/coderaiser/cloudcmd/releases/tag/v16.2.0)**
|
|
1085
1086
|
- *2022.05.12*, **[v16.1.1](//github.com/coderaiser/cloudcmd/releases/tag/v16.1.1)**
|
|
1086
1087
|
- *2022.04.23*, **[v16.1.0](//github.com/coderaiser/cloudcmd/releases/tag/v16.1.0)**
|
|
1087
1088
|
- *2022.04.22*, **[v16.0.1](//github.com/coderaiser/cloudcmd/releases/tag/v16.0.1)**
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(The MIT License)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2012-
|
|
3
|
+
Copyright (c) 2012-2022 Coderaiser <mnemonic.enemy@gmail.com>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Cloud Commander v16.
|
|
1
|
+
# Cloud Commander v16.2.0 [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL]
|
|
2
2
|
|
|
3
3
|
### [Main][MainURL] [Blog][BlogURL]
|
|
4
4
|
|
package/bin/cloudcmd.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const DIR_SERVER = '../server/';
|
|
4
|
-
|
|
5
3
|
import {createRequire} from 'module';
|
|
6
4
|
import {promisify} from 'util';
|
|
7
5
|
import tryToCatch from 'try-to-catch';
|
|
@@ -14,13 +12,17 @@ import {
|
|
|
14
12
|
configPath,
|
|
15
13
|
} from '../server/config.js';
|
|
16
14
|
|
|
17
|
-
const config = createConfig({
|
|
18
|
-
configPath,
|
|
19
|
-
});
|
|
20
|
-
|
|
21
15
|
import env from '../server/env.js';
|
|
22
16
|
import prefixer from '../server/prefixer.js';
|
|
23
17
|
|
|
18
|
+
process.on('unhandledRejection', exit);
|
|
19
|
+
|
|
20
|
+
const require = createRequire(import.meta.url);
|
|
21
|
+
|
|
22
|
+
const Info = require('../package.json');
|
|
23
|
+
|
|
24
|
+
const simport = createSimport(import.meta.url);
|
|
25
|
+
|
|
24
26
|
const choose = (a, b) => {
|
|
25
27
|
if (a === undefined)
|
|
26
28
|
return b;
|
|
@@ -28,12 +30,11 @@ const choose = (a, b) => {
|
|
|
28
30
|
return a;
|
|
29
31
|
};
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const require = createRequire(import.meta.url);
|
|
33
|
+
const config = createConfig({
|
|
34
|
+
configPath,
|
|
35
|
+
});
|
|
35
36
|
|
|
36
|
-
const
|
|
37
|
+
const DIR_SERVER = '../server/';
|
|
37
38
|
|
|
38
39
|
const maybeRoot = (a) => {
|
|
39
40
|
if (a === '.')
|
|
@@ -268,7 +269,7 @@ function version() {
|
|
|
268
269
|
}
|
|
269
270
|
|
|
270
271
|
async function start(options, config) {
|
|
271
|
-
const SERVER = DIR_SERVER + 'server.
|
|
272
|
+
const SERVER = DIR_SERVER + 'server.mjs';
|
|
272
273
|
|
|
273
274
|
if (!args.server)
|
|
274
275
|
return;
|