@sapphire-caitlyn/schema-kit-ng 0.0.1 → 0.0.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/README.md +12 -7
- package/fesm2022/{schema-kit-ng-helm.mjs → sapphire-caitlyn-schema-kit-ng-helm.mjs} +1156 -1156
- package/fesm2022/sapphire-caitlyn-schema-kit-ng-helm.mjs.map +1 -0
- package/fesm2022/{schema-kit-ng.mjs → sapphire-caitlyn-schema-kit-ng.mjs} +151 -151
- package/fesm2022/sapphire-caitlyn-schema-kit-ng.mjs.map +1 -0
- package/package.json +7 -8
- package/types/sapphire-caitlyn-schema-kit-ng-helm-rolldown-runtime-3qf6kE1h.d.ts +1 -0
- package/types/{schema-kit-ng-helm.d.ts → sapphire-caitlyn-schema-kit-ng-helm.d.ts} +1 -1
- package/types/{schema-kit-ng.d.ts → sapphire-caitlyn-schema-kit-ng.d.ts} +1 -1
- package/fesm2022/schema-kit-ng-helm.mjs.map +0 -1
- package/fesm2022/schema-kit-ng.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
# schema-kit (`@schema-kit
|
|
1
|
+
# schema-kit (`@sapphire-caitlyn/schema-kit-ng`)
|
|
2
2
|
|
|
3
3
|
Lib de CRUD do backoffice: um `SchemaService` descreve a entidade, o `<schema-table>` faz a listagem e o
|
|
4
4
|
`<schema-view>` faz o criar/editar. Cada componente tem um README ao lado do código, em `src/lib/components/`.
|
|
5
5
|
|
|
6
6
|
## Entry points
|
|
7
7
|
|
|
8
|
-
| Import
|
|
9
|
-
|
|
|
10
|
-
| `@schema-kit
|
|
11
|
-
| `@schema-kit
|
|
8
|
+
| Import | Conteúdo |
|
|
9
|
+
| -------------------------------------- | ------------------------------------------------------------- |
|
|
10
|
+
| `@sapphire-caitlyn/schema-kit-ng` | A lib (`src/public-api.ts`) |
|
|
11
|
+
| `@sapphire-caitlyn/schema-kit-ng/helm` | Componentes Spartan (helm) embutidos na lib (`helm/index.ts`) |
|
|
12
12
|
|
|
13
|
-
No `front-backoffice` a app não usa o pacote: importa o código-fonte pelos aliases do `tsconfig.json`
|
|
14
|
-
e `@schema-kit
|
|
13
|
+
No `front-backoffice` a app não usa o pacote: importa o código-fonte pelos aliases do `tsconfig.json`
|
|
14
|
+
(`@schema-kit` e `@sapphire-caitlyn/schema-kit-ng/helm`), o que mantém o hot reload.
|
|
15
|
+
|
|
16
|
+
> **Não edite o `dist/schema-kit/package.json`.** A lib importa o helm por `<name>/helm`, e esse texto
|
|
17
|
+
> vai literal para o bundle. Renomear só no `dist` publica um pacote que importa o nome antigo
|
|
18
|
+
> (`Failed to resolve import` em quem instala). Para renomear, troque o `name` aqui e o import do helm
|
|
19
|
+
> em todo o código (lib, app, `tsconfig.json`, `components.json`, `helm-sync.mjs`) e gere o build.
|
|
15
20
|
|
|
16
21
|
## Build e publicação
|
|
17
22
|
|