@gzl10/nexus-backend 0.16.0 → 0.16.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/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +5 -2
- package/dist/main.js.map +1 -1
- package/package.json +18 -18
package/dist/main.js
CHANGED
|
@@ -106,7 +106,7 @@ var init_package = __esm({
|
|
|
106
106
|
"package.json"() {
|
|
107
107
|
package_default = {
|
|
108
108
|
name: "@gzl10/nexus-backend",
|
|
109
|
-
version: "0.16.
|
|
109
|
+
version: "0.16.2",
|
|
110
110
|
description: "Backend as a Service (BaaS) with Express 5, Knex and CASL",
|
|
111
111
|
type: "module",
|
|
112
112
|
main: "./dist/index.js",
|
|
@@ -1102,7 +1102,9 @@ import { exec } from "child_process";
|
|
|
1102
1102
|
import { promisify } from "util";
|
|
1103
1103
|
function normalizePluginName(name) {
|
|
1104
1104
|
if (name.startsWith("@gzl10/nexus-plugin-")) return name;
|
|
1105
|
+
if (name.startsWith("@gzl10/nexus-")) return name.replace("@gzl10/nexus-", PLUGIN_PREFIX);
|
|
1105
1106
|
if (name.startsWith("nexus-plugin-")) return `@gzl10/${name}`;
|
|
1107
|
+
if (name.startsWith("nexus-")) return `${PLUGIN_PREFIX}${name.replace("nexus-", "")}`;
|
|
1106
1108
|
return `${PLUGIN_PREFIX}${name}`;
|
|
1107
1109
|
}
|
|
1108
1110
|
function shortPluginName(name) {
|
|
@@ -12366,7 +12368,8 @@ var init_users_entity = __esm({
|
|
|
12366
12368
|
{ value: "en", label: { en: "English", es: "Ingl\xE9s" } }
|
|
12367
12369
|
],
|
|
12368
12370
|
nullable: true,
|
|
12369
|
-
meta: { sortable: true }
|
|
12371
|
+
meta: { sortable: true },
|
|
12372
|
+
defaultValue: "es"
|
|
12370
12373
|
}),
|
|
12371
12374
|
timezone: useSelectField9({
|
|
12372
12375
|
label: { en: "Timezone", es: "Zona horaria" },
|