jangada-ai 0.0.0-stage → 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Neri
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,19 @@
1
- # Temporary Holding Version
1
+ # jangada (JS/TS)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Camada fina e adaptável sobre os SDKs de LLM, em TypeScript. Troque provider,
4
+ modelo e chave sem mudar o resto do código.
5
+
6
+ Port da lib Python [`jangada-ai`](https://pypi.org/project/jangada-ai/).
7
+ Documentação: [docs.jangada.dev.br](https://docs.jangada.dev.br).
8
+
9
+ > Em desenvolvimento. A primeira versão publicada será a `0.1.0`.
10
+
11
+ ```bash
12
+ npm install jangada-ai
13
+ ```
14
+
15
+ Roda em Node 22+, Bun, Deno e runtimes edge (Cloudflare Workers, Vercel Edge).
16
+
17
+ ## Licença
18
+
19
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,5 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ // src/version.ts
3
+ /** Versão do pacote `jangada-ai` (npm). Atualizada a cada release junto do `package.json`. */
4
+ const VERSION = "0.0.0";
5
+ exports.VERSION = VERSION;
@@ -0,0 +1,2 @@
1
+ /** Versão do pacote `jangada-ai` (npm). Atualizada a cada release junto do `package.json`. */
2
+ export declare const VERSION: string;
@@ -0,0 +1,2 @@
1
+ /** Versão do pacote `jangada-ai` (npm). Atualizada a cada release junto do `package.json`. */
2
+ export declare const VERSION: string;
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ /** Versão do pacote `jangada-ai` (npm). Atualizada a cada release junto do `package.json`. */
3
+ const VERSION = "0.0.0";
4
+ export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "jangada-ai",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.0",
4
+ "description": "Camada fina e adaptável sobre SDKs de LLM em TypeScript: troque provider, modelo e chave sem mudar o resto do código",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Neri <neri@lizardti.com>",
8
+ "homepage": "https://jangada.dev.br",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/nerigleston/jangada-js.git"
12
+ },
13
+ "bugs": "https://github.com/nerigleston/jangada-js/issues",
14
+ "keywords": [
15
+ "llm",
16
+ "ai",
17
+ "anthropic",
18
+ "openai",
19
+ "gemini",
20
+ "groq",
21
+ "claude",
22
+ "structured-output",
23
+ "fallback",
24
+ "typescript"
25
+ ],
26
+ "engines": {
27
+ "node": ">=22"
28
+ },
29
+ "sideEffects": false,
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "main": "./dist/index.cjs",
34
+ "module": "./dist/index.js",
35
+ "types": "./dist/index.d.cts",
36
+ "exports": {
37
+ ".": {
38
+ "import": "./dist/index.js",
39
+ "require": "./dist/index.cjs"
40
+ },
41
+ "./package.json": "./package.json"
42
+ },
43
+ "scripts": {
44
+ "build": "tsdown",
45
+ "typecheck": "tsc --noEmit",
46
+ "lint": "biome check .",
47
+ "format": "biome check --write .",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "check": "npm run lint && npm run typecheck && npm test && npm run build",
51
+ "conformance": "python3 ../jangada/scripts/export-conformance.py --saida conformance"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public",
55
+ "provenance": true
56
+ },
57
+ "devDependencies": {
58
+ "@arethetypeswrong/cli": "^0.18.5",
59
+ "@biomejs/biome": "^2.6.4",
60
+ "@types/node": "^22.20.5",
61
+ "publint": "^0.3.25",
62
+ "tsdown": "^0.23.4",
63
+ "typescript": "^7.0.2",
64
+ "vitest": "^5.1.0"
65
+ },
66
+ "allowScripts": {
67
+ "fsevents": false
68
+ }
69
+ }