@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/index.js CHANGED
@@ -14,7 +14,7 @@ var init_package = __esm({
14
14
  "package.json"() {
15
15
  package_default = {
16
16
  name: "@gzl10/nexus-backend",
17
- version: "0.16.0",
17
+ version: "0.16.2",
18
18
  description: "Backend as a Service (BaaS) with Express 5, Knex and CASL",
19
19
  type: "module",
20
20
  main: "./dist/index.js",
@@ -1010,7 +1010,9 @@ import { exec } from "child_process";
1010
1010
  import { promisify } from "util";
1011
1011
  function normalizePluginName(name) {
1012
1012
  if (name.startsWith("@gzl10/nexus-plugin-")) return name;
1013
+ if (name.startsWith("@gzl10/nexus-")) return name.replace("@gzl10/nexus-", PLUGIN_PREFIX);
1013
1014
  if (name.startsWith("nexus-plugin-")) return `@gzl10/${name}`;
1015
+ if (name.startsWith("nexus-")) return `${PLUGIN_PREFIX}${name.replace("nexus-", "")}`;
1014
1016
  return `${PLUGIN_PREFIX}${name}`;
1015
1017
  }
1016
1018
  function shortPluginName(name) {
@@ -12296,7 +12298,8 @@ var init_users_entity = __esm({
12296
12298
  { value: "en", label: { en: "English", es: "Ingl\xE9s" } }
12297
12299
  ],
12298
12300
  nullable: true,
12299
- meta: { sortable: true }
12301
+ meta: { sortable: true },
12302
+ defaultValue: "es"
12300
12303
  }),
12301
12304
  timezone: useSelectField9({
12302
12305
  label: { en: "Timezone", es: "Zona horaria" },