@yakuzaa/jade 0.1.8 → 0.1.9

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/README.md +41 -20
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,34 +1,55 @@
1
1
  # @yakuzaa/jade
2
2
 
3
- Instalação completa da linguagem **JADE**compilador + runtime em um único pacote.
3
+ Compilador, runtime e CLI da **Jade DSL** — linguagem empresarial em português que compila para WebAssembly.
4
+
5
+ ## Criar um projeto
4
6
 
5
7
  ```bash
6
- npm install @yakuzaa/jade
8
+ npm create jade@latest meu-projeto
9
+ cd meu-projeto
10
+ npm run compilar
7
11
  ```
8
12
 
9
- Após a instalação, o VS Code recomendará automaticamente a extensão **JADE Language** com syntax highlighting, autocomplete e diagnósticos em tempo real.
10
-
11
- ## O que é instalado
12
-
13
- | Pacote | Função |
14
- |--------|--------|
15
- | `@yakuzaa/jade-compiler` | Compila arquivos `.jd` para WebAssembly |
16
- | `@yakuzaa/jade-runtime` | Executa o WebAssembly gerado (stdlib, APIs, UI engine) |
17
-
18
- ## Instalação individual
19
-
20
- Se precisar apenas de uma parte:
21
-
22
- ```bash
23
- npm install @yakuzaa/jade-compiler # só o compilador
24
- npm install @yakuzaa/jade-runtime # só o runtime
13
+ Isso é tudo. O projeto vem com estrutura completa, exemplos funcionais e dependências instaladas.
14
+
15
+ ## Comandos disponíveis no projeto
16
+
17
+ | Comando | O que faz |
18
+ |---------|-----------|
19
+ | `npm run compilar` | Compila `src/app.jd` `dist/` |
20
+ | `npm run verificar` | Verifica erros sem gerar arquivos |
21
+ | `npm run formatar` | Formata o código automaticamente |
22
+ | `npm run lint` | Analisa estilo e boas práticas |
23
+ | `npm run servir` | Servidor local para testar no browser |
24
+
25
+ ## Exemplo de código
26
+
27
+ ```jd
28
+ entidade Produto
29
+ id: id
30
+ nome: texto
31
+ preco: moeda
32
+ estoque: numero
33
+ fim
34
+
35
+ tela ListaProdutos "Produtos"
36
+ tabela Produtos
37
+ entidade: Produto
38
+ filtravel: verdadeiro
39
+ ordenavel: verdadeiro
40
+ paginacao: 20
41
+ fim
42
+ fim
25
43
  ```
26
44
 
27
45
  ## Extensão VS Code
28
46
 
29
- Instale manualmente pelo marketplace: `yakuzaa.jade-lang-vscode`
47
+ Syntax highlighting, autocomplete e diagnósticos em tempo real:
30
48
 
31
- Ou via linha de comando:
32
49
  ```bash
33
50
  code --install-extension yakuzaa.jade-lang-vscode
34
51
  ```
52
+
53
+ ## Documentação completa
54
+
55
+ → https://gabrielsymb.github.io/jade-language
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yakuzaa/jade",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Jade DSL — linguagem empresarial em português compilada para WebAssembly. Instala compilador + runtime + CLI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "postinstall": "node postinstall.js"
18
18
  },
19
19
  "dependencies": {
20
- "@yakuzaa/jade-compiler": "^0.1.11",
20
+ "@yakuzaa/jade-compiler": "^0.1.12",
21
21
  "@yakuzaa/jade-runtime": "^0.1.8"
22
22
  },
23
23
  "keywords": [