@devstroupe/devkit-cli 1.2.0-beta.2 → 1.2.0-beta.3

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.
@@ -7,6 +7,7 @@ const strict_1 = __importDefault(require("node:assert/strict"));
7
7
  const node_test_1 = require("node:test");
8
8
  const nest_1 = require("./nest");
9
9
  const functional_module_templates_1 = require("./nest/functional-module.templates");
10
+ const playground_template_1 = require("./ui/playground.template");
10
11
  (0, node_test_1.describe)('backend generator characterization', () => {
11
12
  (0, node_test_1.it)('keeps the monolith HTTP and Nest module contracts explicit', () => {
12
13
  const controller = (0, nest_1.nestControllerTemplate)('order-item');
@@ -39,4 +40,9 @@ const functional_module_templates_1 = require("./nest/functional-module.template
39
40
  strict_1.default.doesNotMatch(repository, /x-tenant-id/);
40
41
  strict_1.default.doesNotMatch(repository, /REQUEST/);
41
42
  });
43
+ (0, node_test_1.it)('creates playground dialogs through Spartan portals', () => {
44
+ const playground = (0, playground_template_1.devkitPlaygroundComponentTemplate)();
45
+ strict_1.default.match(playground.html, /<hlm-dialog-content \*hlmDialogPortal>/);
46
+ strict_1.default.match(playground.html, /<hlm-alert-dialog-content \*hlmAlertDialogPortal>/);
47
+ });
42
48
  });
@@ -499,7 +499,7 @@ export class PlaygroundComponent implements OnInit {
499
499
  <div class="rounded-xl border border-border bg-card p-6 flex flex-wrap gap-4">
500
500
  <hlm-dialog>
501
501
  <button hlmBtn hlmDialogTrigger>Abrir Dialog Padrão</button>
502
- <hlm-dialog-content>
502
+ <hlm-dialog-content *hlmDialogPortal>
503
503
  <hlm-dialog-header>
504
504
  <h3 hlmDialogTitle>Editar Perfil</h3>
505
505
  <p hlmDialogDescription>Faça alterações nas informações do seu perfil. Clique em salvar quando terminar.</p>
@@ -517,7 +517,7 @@ export class PlaygroundComponent implements OnInit {
517
517
 
518
518
  <hlm-alert-dialog>
519
519
  <button hlmBtn variant="secondary" hlmAlertDialogTrigger>Abrir Alert Dialog Crítico</button>
520
- <hlm-alert-dialog-content>
520
+ <hlm-alert-dialog-content *hlmAlertDialogPortal>
521
521
  <hlm-alert-dialog-header>
522
522
  <h3 hlmAlertDialogTitle>Você tem certeza absoluta?</h3>
523
523
  <p hlmAlertDialogDescription>Esta ação não pode ser desfeita. Isso excluirá permanentemente sua conta e removerá seus dados de nossos servidores.</p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devstroupe/devkit-cli",
3
- "version": "1.2.0-beta.2",
3
+ "version": "1.2.0-beta.3",
4
4
  "description": "DevsTroupe Development Kit CLI — scaffold NestJS+Angular projects, inject Spartan UI, generate CRUDs and audit architectural governance",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "commander": "^12.0.0",
38
38
  "fs-extra": "^11.2.0",
39
- "@devstroupe/devkit-core": "1.2.0-beta.2"
39
+ "@devstroupe/devkit-core": "1.2.0-beta.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/fs-extra": "^11.0.4",