easy-cms 0.49.0 → 0.61.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/dist/bin.js
CHANGED
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
createEasyCMS as createEasyCMS2,
|
|
11
11
|
EasyCMSError,
|
|
12
12
|
loadConfig,
|
|
13
|
-
ValidationError
|
|
13
|
+
ValidationError,
|
|
14
|
+
warnDeprecated
|
|
14
15
|
} from "@easy-cms/core";
|
|
15
16
|
import { copyDatabase, generateTypes, writeBackupFile } from "@easy-cms/core/internal";
|
|
16
17
|
|
|
@@ -280,6 +281,11 @@ async function run(argv, io = defaultIO) {
|
|
|
280
281
|
});
|
|
281
282
|
const [named, ...looseRest] = loose.positionals;
|
|
282
283
|
const command = named === void 0 ? void 0 : RENAMED_COMMANDS[named] ?? named;
|
|
284
|
+
if (named !== void 0 && RENAMED_COMMANDS[named])
|
|
285
|
+
warnDeprecated(
|
|
286
|
+
named === "create-admin" ? "EASY_CMS_DEP004" : "EASY_CMS_DEP005",
|
|
287
|
+
`\`easy-cms ${named}\` is now \`easy-cms ${command}\`; the old name works through 1.x.`
|
|
288
|
+
);
|
|
283
289
|
if (command && !(command in COMMAND_HELP))
|
|
284
290
|
return await pluginCommand(command, looseRest, loose.values, io);
|
|
285
291
|
let parsed;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-cms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
4
4
|
"description": "Command line tool for Easy CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"node": ">=22.12"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@easy-cms/core": "^0.
|
|
25
|
-
"@easy-cms/admin": "^0.
|
|
24
|
+
"@easy-cms/core": "^0.61.0",
|
|
25
|
+
"@easy-cms/admin": "^0.61.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@easy-cms/db-sqlite": "^0.
|
|
28
|
+
"@easy-cms/db-sqlite": "^0.61.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|