semmet-angular 0.35.0 → 0.36.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/README.en.md +4 -2
- package/README.md +4 -2
- package/README.pt-BR.md +4 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -24,7 +24,7 @@ ng generate semmet-angular:docker
|
|
|
24
24
|
ng generate semmet-angular:deploy
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
`ng add semmet-angular` installs the package and configures the delivery workflow once for the target application, including Playwright e2e support and npm
|
|
27
|
+
`ng add semmet-angular` installs the package and configures the delivery workflow once for the target application, including Playwright e2e support, npm scripts, and `npm run verify`. Each generated component is dropped into your project exactly like `ng generate component` would (respecting your `angular.json` project, source root, and selector prefix), and has **zero runtime dependency** on this package — `semmet-angular` is only needed at generation time.
|
|
28
28
|
|
|
29
29
|
## Generated tests
|
|
30
30
|
|
|
@@ -56,7 +56,9 @@ npm run e2e:ui
|
|
|
56
56
|
ng generate semmet-angular:ci
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
This command generates `.github/workflows/ci.yml` using the package scripts that already exist in `package.json`. The workflow detects the package manager by lockfile (`package-lock.json`, `pnpm-lock.yaml`, or `yarn.lock`), installs dependencies, and runs `verify` when available. If `verify` does not exist yet, it runs `build`, `test`, and `e2e` when those scripts exist.
|
|
59
|
+
This command generates `.github/workflows/ci.yml` using the package scripts that already exist in `package.json`. The workflow uses Node 24, detects the package manager by lockfile (`package-lock.json`, `pnpm-lock.yaml`, or `yarn.lock`), installs dependencies, and runs `verify` when available. If `verify` does not exist yet, it runs `build`, `test`, and `e2e` when those scripts exist.
|
|
60
|
+
|
|
61
|
+
When the project uses Playwright, the CI also installs Chromium with `playwright install --with-deps chromium` and caches `~/.cache/ms-playwright` with `actions/cache`, reducing follow-up run times.
|
|
60
62
|
|
|
61
63
|
By default, the schematic does not overwrite an existing workflow. Use `--force` when you want to replace `.github/workflows/ci.yml`.
|
|
62
64
|
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ ng generate semmet-angular:docker
|
|
|
24
24
|
ng generate semmet-angular:deploy
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
`ng add semmet-angular` instala o pacote e configura uma vez o fluxo de entrega da aplicação alvo, incluindo suporte a e2e com Playwright
|
|
27
|
+
`ng add semmet-angular` instala o pacote e configura uma vez o fluxo de entrega da aplicação alvo, incluindo suporte a e2e com Playwright, scripts npm e `npm run verify`. Cada componente gerado entra no seu projeto do mesmo jeito que entraria com `ng generate component` (respeitando `angular.json`, `sourceRoot` e prefixo de seletor), e tem **zero dependência em tempo de execução** deste pacote — `semmet-angular` só é necessário na geração.
|
|
28
28
|
|
|
29
29
|
## Fluxo de Entrega
|
|
30
30
|
|
|
@@ -56,7 +56,9 @@ npm run lint
|
|
|
56
56
|
ng generate semmet-angular:ci
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Esse comando gera `.github/workflows/ci.yml` usando os scripts já existentes no `package.json`. O workflow detecta o gerenciador de pacotes por lockfile (`package-lock.json`, `pnpm-lock.yaml` ou `yarn.lock`), instala dependências e executa `verify` quando disponível. Se `verify` ainda não existir, ele roda `build`, `test` e `e2e` conforme esses scripts existirem.
|
|
59
|
+
Esse comando gera `.github/workflows/ci.yml` usando os scripts já existentes no `package.json`. O workflow usa Node 24, detecta o gerenciador de pacotes por lockfile (`package-lock.json`, `pnpm-lock.yaml` ou `yarn.lock`), instala dependências e executa `verify` quando disponível. Se `verify` ainda não existir, ele roda `build`, `test` e `e2e` conforme esses scripts existirem.
|
|
60
|
+
|
|
61
|
+
Quando o projeto usa Playwright, o CI também instala o Chromium com `playwright install --with-deps chromium` e cacheia `~/.cache/ms-playwright` com `actions/cache`, reduzindo o tempo das execuções seguintes.
|
|
60
62
|
|
|
61
63
|
Por padrão, o schematic não sobrescreve um workflow existente. Use `--force` quando quiser substituir `.github/workflows/ci.yml`.
|
|
62
64
|
|
package/README.pt-BR.md
CHANGED
|
@@ -22,7 +22,7 @@ ng generate semmet-angular:docker
|
|
|
22
22
|
ng generate semmet-angular:deploy
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
`ng add semmet-angular` instala o pacote e configura uma vez o fluxo de entrega da aplicação alvo, incluindo suporte a e2e com Playwright
|
|
25
|
+
`ng add semmet-angular` instala o pacote e configura uma vez o fluxo de entrega da aplicação alvo, incluindo suporte a e2e com Playwright, scripts npm e `npm run verify`. Cada componente gerado entra no seu projeto do mesmo jeito que entraria com `ng generate component` (respeitando `angular.json`, `sourceRoot` e prefixo de seletor), e tem **zero dependência em tempo de execução** deste pacote — `semmet-angular` só é necessário na geração.
|
|
26
26
|
|
|
27
27
|
## Fluxo de Entrega
|
|
28
28
|
|
|
@@ -54,7 +54,9 @@ npm run lint
|
|
|
54
54
|
ng generate semmet-angular:ci
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Esse comando gera `.github/workflows/ci.yml` usando os scripts já existentes no `package.json`. O workflow detecta o gerenciador de pacotes por lockfile (`package-lock.json`, `pnpm-lock.yaml` ou `yarn.lock`), instala dependências e executa `verify` quando disponível. Se `verify` ainda não existir, ele roda `build`, `test` e `e2e` conforme esses scripts existirem.
|
|
57
|
+
Esse comando gera `.github/workflows/ci.yml` usando os scripts já existentes no `package.json`. O workflow usa Node 24, detecta o gerenciador de pacotes por lockfile (`package-lock.json`, `pnpm-lock.yaml` ou `yarn.lock`), instala dependências e executa `verify` quando disponível. Se `verify` ainda não existir, ele roda `build`, `test` e `e2e` conforme esses scripts existirem.
|
|
58
|
+
|
|
59
|
+
Quando o projeto usa Playwright, o CI também instala o Chromium com `playwright install --with-deps chromium` e cacheia `~/.cache/ms-playwright` com `actions/cache`, reduzindo o tempo das execuções seguintes.
|
|
58
60
|
|
|
59
61
|
Por padrão, o schematic não sobrescreve um workflow existente. Use `--force` quando quiser substituir `.github/workflows/ci.yml`.
|
|
60
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semmet-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Accessible UI Delivery Kit for Angular: schematics that generate ARIA-conformant standalone components with styling, keyboard behavior, unit tests, and Playwright e2e smoke tests.",
|
|
5
5
|
"publisher": "danilodevsilva",
|
|
6
6
|
"license": "MIT",
|