@quatronic/qore 0.5.0-rc.6 → 0.5.0-rc.8

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38c248bd-8a58-507a-9332-8b7167190e5d")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fdf8ddca-c1bb-5549-9d3b-a2a664c8a79c")}catch(e){}}();
4
4
  import { createRequire as __qoreCreateRequire } from "node:module"; const require = __qoreCreateRequire(import.meta.url);
5
5
  import {
6
6
  addSecretValues,
@@ -8471,7 +8471,7 @@ async function extractRoles(source) {
8471
8471
 
8472
8472
  // src/core/roles/read.ts
8473
8473
  var PERMISSIONS_FILE = "src/lib/permissions.ts";
8474
- var SLUG = /^[a-z0-9][a-z0-9_-]*$/;
8474
+ var SLUG = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
8475
8475
  var MAX_SLUG = 64;
8476
8476
  var MAX_ROLES = 100;
8477
8477
  async function readCodeRoles(repoRoot) {
@@ -8490,7 +8490,7 @@ async function readCodeRoles(repoRoot) {
8490
8490
  const invalid4 = roles.filter((r) => !SLUG.test(r.slug) || r.slug.length > MAX_SLUG).map((r) => r.slug);
8491
8491
  if (invalid4.length) {
8492
8492
  throw new QoreError("QORE_CONTEXT_INVALID", `The portal refuses these role names: ${invalid4.join(", ")}`, {
8493
- hint: `Use lowercase letters, digits, - and _, starting with a letter or digit, at most ${MAX_SLUG} characters.`,
8493
+ hint: `Use letters, digits, - and _, starting with a letter or digit, at most ${MAX_SLUG} characters.`,
8494
8494
  details: { invalid: invalid4 }
8495
8495
  });
8496
8496
  }
@@ -9924,4 +9924,4 @@ if (!drained) {
9924
9924
  process.exit();
9925
9925
  }
9926
9926
  //# sourceMappingURL=cli.js.map
9927
- //# debugId=38c248bd-8a58-507a-9332-8b7167190e5d
9927
+ //# debugId=fdf8ddca-c1bb-5549-9d3b-a2a664c8a79c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatronic/qore",
3
- "version": "0.5.0-rc.6",
3
+ "version": "0.5.0-rc.8",
4
4
  "description": "Qore developer CLI",
5
5
  "type": "module",
6
6
  "bin": {