This commit is contained in:
Luiz Silva 2026-03-23 18:16:02 -03:00
parent 2361c08bfb
commit df0fb40b2f
2 changed files with 56 additions and 56 deletions

View file

@ -1,45 +1,45 @@
{ {
"name": "p-respostas", "name": "p-respostas",
"version": "0.62.0", "version": "0.62.0",
"description": "Contrato simples de respostas (sucesso/erro) para APIs e serviços.", "description": "Contrato simples de respostas (sucesso/erro) para APIs e serviços.",
"main": "./dist-back/index.js", "main": "./dist-back/index.js",
"module": "./dist-front/index.mjs", "module": "./dist-front/index.mjs",
"exports": { "exports": {
".": { ".": {
"types": "./dist-front/index.d.mts", "types": "./dist-front/index.d.mts",
"import": "./dist-front/index.mjs", "import": "./dist-front/index.mjs",
"require": "./dist-back/index.js" "require": "./dist-back/index.js"
} }
}, },
"types": "./dist-front/index.d.mts", "types": "./dist-front/index.d.mts",
"engines": { "engines": {
"node": ">=20" "node": ">=20"
}, },
"sideEffects": false, "sideEffects": false,
"scripts": { "scripts": {
"biome": "npx @biomejs/biome check --write ./src", "biome": "npx @biomejs/biome check --write ./src",
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && pnpm run pacote", "build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && pnpm run pacote",
"nodev": "check-node-version --node '>= 20'", "nodev": "check-node-version --node '= 22'",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz" "pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
}, },
"peerDependencies": { "peerDependencies": {
"p-comuns": "git+https://git2.idz.one/publico/_comuns.git", "p-comuns": "git+https://git2.idz.one/publico/_comuns.git",
"zod": "4.1.4" "zod": "4.3.6"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "2.4.0", "@biomejs/biome": "2.4.0",
"@types/node": "^20.19.23", "@types/node": "^22",
"check-node-version": "^4.2.1", "check-node-version": "^4.2.1",
"p-comuns": "git+https://git2.idz.one/publico/_comuns.git", "p-comuns": "git+https://git2.idz.one/publico/_comuns.git",
"tsup": "^8.5.0", "tsup": "^8.5.0",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"zod": "4.1.4" "zod": "4.3.6"
}, },
"keywords": [], "keywords": [],
"author": { "author": {
"name": "AZTECA SOFTWARE LTDA", "name": "AZTECA SOFTWARE LTDA",
"email": "ti@e-licencie.com.br", "email": "ti@e-licencie.com.br",
"url": "https://e-licencie.com.br" "url": "https://e-licencie.com.br"
}, },
"license": "ISC" "license": "ISC"
} }

26
pnpm-lock.yaml generated
View file

@ -12,14 +12,14 @@ importers:
specifier: 2.4.0 specifier: 2.4.0
version: 2.4.0 version: 2.4.0
'@types/node': '@types/node':
specifier: ^20.19.23 specifier: ^22
version: 20.19.23 version: 22.19.15
check-node-version: check-node-version:
specifier: ^4.2.1 specifier: ^4.2.1
version: 4.2.1 version: 4.2.1
p-comuns: p-comuns:
specifier: git+https://git2.idz.one/publico/_comuns.git specifier: git+https://git2.idz.one/publico/_comuns.git
version: git+https://git2.idz.one/publico/_comuns.git#4ed3d82bb2a8d140e71a16a91628e7920ab0843c(cross-fetch@4.1.0)(dayjs@1.11.18)(uuid@11.1.0)(zod@4.1.4) version: git+https://git2.idz.one/publico/_comuns.git#4ed3d82bb2a8d140e71a16a91628e7920ab0843c(cross-fetch@4.1.0)(dayjs@1.11.18)(uuid@11.1.0)(zod@4.3.6)
tsup: tsup:
specifier: ^8.5.0 specifier: ^8.5.0
version: 8.5.0(typescript@5.9.3) version: 8.5.0(typescript@5.9.3)
@ -27,8 +27,8 @@ importers:
specifier: ~5.9.3 specifier: ~5.9.3
version: 5.9.3 version: 5.9.3
zod: zod:
specifier: 4.1.4 specifier: 4.3.6
version: 4.1.4 version: 4.3.6
packages: packages:
@ -375,8 +375,8 @@ packages:
'@types/estree@1.0.8': '@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
'@types/node@20.19.23': '@types/node@22.19.15':
resolution: {integrity: sha512-yIdlVVVHXpmqRhtyovZAcSy0MiPcYWGkoO4CGe/+jpP0hmNuihm4XhHbADpK++MsiLHP5MVlv+bcgdF99kSiFQ==} resolution: {integrity: sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==}
acorn@8.15.0: acorn@8.15.0:
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
@ -794,8 +794,8 @@ packages:
resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
zod@4.1.4: zod@4.3.6:
resolution: {integrity: sha512-2YqJuWkU6IIK9qcE4k1lLLhyZ6zFw7XVRdQGpV97jEIZwTrscUw+DY31Xczd8nwaoksyJUIxCojZXwckJovWxA==} resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==}
snapshots: snapshots:
@ -1006,7 +1006,7 @@ snapshots:
'@types/estree@1.0.8': {} '@types/estree@1.0.8': {}
'@types/node@20.19.23': '@types/node@22.19.15':
dependencies: dependencies:
undici-types: 6.21.0 undici-types: 6.21.0
@ -1208,12 +1208,12 @@ snapshots:
object-filter@1.0.2: {} object-filter@1.0.2: {}
p-comuns@git+https://git2.idz.one/publico/_comuns.git#4ed3d82bb2a8d140e71a16a91628e7920ab0843c(cross-fetch@4.1.0)(dayjs@1.11.18)(uuid@11.1.0)(zod@4.1.4): p-comuns@git+https://git2.idz.one/publico/_comuns.git#4ed3d82bb2a8d140e71a16a91628e7920ab0843c(cross-fetch@4.1.0)(dayjs@1.11.18)(uuid@11.1.0)(zod@4.3.6):
dependencies: dependencies:
cross-fetch: 4.1.0 cross-fetch: 4.1.0
dayjs: 1.11.18 dayjs: 1.11.18
uuid: 11.1.0 uuid: 11.1.0
zod: 4.1.4 zod: 4.3.6
package-json-from-dist@1.0.1: {} package-json-from-dist@1.0.1: {}
@ -1421,4 +1421,4 @@ snapshots:
string-width: 5.1.2 string-width: 5.1.2
strip-ansi: 7.1.2 strip-ansi: 7.1.2
zod@4.1.4: {} zod@4.3.6: {}