@thecodecodex/tools 0.1.3 → 0.1.5
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 +1 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@ setMarketData(data) // { fetchedAt, source, series: { cdi, ipca12m, savingsMonth
|
|
|
31
31
|
## Desenvolvimento
|
|
32
32
|
|
|
33
33
|
- `pnpm check`: tipos, lint e testes (Vitest, ao lado do código em `src/**/*.test.ts`)
|
|
34
|
+
- `pnpm verify`: tudo o que o GitHub Actions roda
|
|
34
35
|
- Skills de IA ficam em `skills/<nome>/` (formato [Agent Skills](https://agentskills.io/specification)); depois de
|
|
35
36
|
editar, rode `pnpm skills:build` para regenerar `src/skills.json` (um teste falha se ficar desatualizado)
|
|
36
37
|
- Nova ferramenta: a lógica e o comando de terminal (`src/cli/tools.ts`, com os mesmos parâmetros da URL no site)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thecodecodex/tools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Lógica das ferramentas do thecodecodex.com (finanças BR, CPF/CNPJ, PDF, regex, JWT e mais) e o script de terminal cli.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Douglas Capeletti",
|
|
@@ -26,11 +26,14 @@
|
|
|
26
26
|
"!src/test-setup.ts"
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
|
-
"check": "
|
|
29
|
+
"check": "pnpm typecheck && pnpm lint && pnpm test",
|
|
30
30
|
"test": "vitest run",
|
|
31
31
|
"lint": "eslint",
|
|
32
32
|
"skills:build": "node scripts/build-skills.mjs",
|
|
33
|
-
"prepublishOnly": "pnpm check"
|
|
33
|
+
"prepublishOnly": "pnpm check",
|
|
34
|
+
"typecheck": "tsc",
|
|
35
|
+
"lint:fix": "eslint --fix",
|
|
36
|
+
"verify": "pnpm check"
|
|
34
37
|
},
|
|
35
38
|
"dependencies": {
|
|
36
39
|
"pdf-lib": "^1.17.1"
|