Compare commits

..

No commits in common. "8684840a05b48e98f6bdbdc5b3aae0b1c883c2cf" and "1767c5d39e7da1e9aa8463626adc218ed62e8546" have entirely different histories.

5 changed files with 84 additions and 83 deletions

View file

@ -1,45 +1,46 @@
{
"name": "p-comuns",
"version": "0.332.0",
"description": "",
"main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs",
"types": "./dist-front/index.d.mts",
"exports": {
".": {
"types": "./dist-front/index.d.mts",
"import": "./dist-front/index.mjs",
"require": "./dist-back/index.js"
}
},
"scripts": {
"biome": "pnpm exec biome check --write",
"check": "pnpm run biome && npx tsc --noEmit",
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
},
"author": {
"name": "AZTECA SOFTWARE LTDA",
"email": "ti@e-licencie.com.br",
"url": "https://e-licencie.com.br"
},
"license": "ISC",
"dependencies": {},
"devDependencies": {
"uuid": "^11.1.0",
"zod": "4.3.6",
"dayjs": "^1.11.18",
"@biomejs/biome": "2.4.12",
"@types/node": "^22",
"tsup": "8.5.1",
"typescript": "^6",
"unbuild": "^3.6.1",
"vitest": "^3.2.4"
},
"peerDependencies": {
"dayjs": "^1.11.18",
"uuid": "^11.1.0",
"zod": "4.3.6"
}
"name": "p-comuns",
"version": "0.322.0",
"description": "",
"main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs",
"types": "./dist-front/index.d.mts",
"exports": {
".": {
"types": "./dist-front/index.d.mts",
"import": "./dist-front/index.mjs",
"require": "./dist-back/index.js"
}
},
"scripts": {
"biome": "pnpm exec biome check --write",
"check": "pnpm run biome && npx tsc --noEmit",
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
},
"author": {
"name": "AZTECA SOFTWARE LTDA",
"email": "ti@e-licencie.com.br",
"url": "https://e-licencie.com.br"
},
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "2.4.0",
"@types/node": "^20.19.39",
"cross-fetch": "4.1.0",
"dayjs": "^1.11.20",
"tsup": "8.5.0",
"typescript": "~5.9.3",
"unbuild": "^3.6.1",
"uuid": "^11.1.0",
"vitest": "^3.2.4",
"zod": "4.1.4"
},
"peerDependencies": {
"cross-fetch": "4.1.0",
"dayjs": "^1.11.18",
"uuid": "^11.1.0",
"zod": "4.1.4"
}
}

Binary file not shown.

74
pnpm-lock.yaml generated
View file

@ -9,8 +9,8 @@ importers:
.:
devDependencies:
'@biomejs/biome':
specifier: 2.4.12
version: 2.4.12
specifier: 2.4.0
version: 2.4.0
'@types/node':
specifier: ^20.19.39
version: 20.19.39
@ -49,55 +49,55 @@ packages:
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
'@biomejs/biome@2.4.12':
resolution: {integrity: sha512-Rro7adQl3NLq/zJCIL98eElXKI8eEiBtoeu5TbXF/U3qbjuSc7Jb5rjUbeHHcquDWeSf3HnGP7XI5qGrlRk/pA==}
'@biomejs/biome@2.4.0':
resolution: {integrity: sha512-iluT61cORUDIC5i/y42ljyQraCemmmcgbMLLCnYO+yh+2hjTmcMFcwY8G0zTzWCsPb3t3AyKc+0t/VuhPZULUg==}
engines: {node: '>=14.21.3'}
hasBin: true
'@biomejs/cli-darwin-arm64@2.4.12':
resolution: {integrity: sha512-BnMU4Pc3ciEVteVpZ0BK33MLr7X57F5w1dwDLDn+/iy/yTrA4Q/N2yftidFtsA4vrDh0FMXDpacNV/Tl3fbmng==}
'@biomejs/cli-darwin-arm64@2.4.0':
resolution: {integrity: sha512-L+YpOtPSuU0etomfvFTPWRsa7+8ejaJL3yaROEoT/96HDJbR6OsvZQk0C8JUYou+XFdP+JcGxqZknkp4n934RA==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
'@biomejs/cli-darwin-x64@2.4.12':
resolution: {integrity: sha512-x9uJ0bI1rJsWICp3VH8w/5PnAVD3A7SqzDpbrfoUQX1QyWrK5jSU4fRLo/wSgGeplCivbxBRKmt5Xq4/nWvq8A==}
'@biomejs/cli-darwin-x64@2.4.0':
resolution: {integrity: sha512-Aq+S7ffpb5ynTyLgtnEjG+W6xuTd2F7FdC7J6ShpvRhZwJhjzwITGF9vrqoOnw0sv1XWkt2Q1Rpg+hleg/Xg7Q==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
'@biomejs/cli-linux-arm64-musl@2.4.12':
resolution: {integrity: sha512-FhfpkAAlKL6kwvcVap0Hgp4AhZmtd3YImg0kK1jd7C/aSoh4SfsB2f++yG1rU0lr8Y5MCFJrcSkmssiL9Xnnig==}
'@biomejs/cli-linux-arm64-musl@2.4.0':
resolution: {integrity: sha512-1rhDUq8sf7xX3tg7vbnU3WVfanKCKi40OXc4VleBMzRStmQHdeBY46aFP6VdwEomcVjyNiu+Zcr3LZtAdrZrjQ==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
'@biomejs/cli-linux-arm64@2.4.12':
resolution: {integrity: sha512-tOwuCuZZtKi1jVzbk/5nXmIsziOB6yqN8c9r9QM0EJYPU6DpQWf11uBOSCfFKKM4H3d9ZoarvlgMfbcuD051Pw==}
'@biomejs/cli-linux-arm64@2.4.0':
resolution: {integrity: sha512-u2p54IhvNAWB+h7+rxCZe3reNfQYFK+ppDw+q0yegrGclFYnDPZAntv/PqgUacpC3uxTeuWFgWW7RFe3lHuxOA==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
'@biomejs/cli-linux-x64-musl@2.4.12':
resolution: {integrity: sha512-dwTIgZrGutzhkQCuvHynCkyW6hJxUuyZqKKO0YNfaS2GUoRO+tOvxXZqZB6SkWAOdfZTzwaw8IEdUnIkHKHoew==}
'@biomejs/cli-linux-x64-musl@2.4.0':
resolution: {integrity: sha512-Omo0xhl63z47X+CrE5viEWKJhejJyndl577VoXg763U/aoATrK3r5+8DPh02GokWPeODX1Hek00OtjjooGan9w==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
'@biomejs/cli-linux-x64@2.4.12':
resolution: {integrity: sha512-8pFeAnLU9QdW9jCIslB/v82bI0lhBmz2ZAKc8pVMFPO0t0wAHsoEkrUQUbMkIorTRIjbqyNZHA3lEXavsPWYSw==}
'@biomejs/cli-linux-x64@2.4.0':
resolution: {integrity: sha512-WVFOhsnzhrbMGOSIcB9yFdRV2oG2KkRRhIZiunI9gJqSU3ax9ErdnTxRfJUxZUI9NbzVxC60OCXNcu+mXfF/Tw==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
'@biomejs/cli-win32-arm64@2.4.12':
resolution: {integrity: sha512-B0DLnx0vA9ya/3v7XyCaP+/lCpnbWbMOfUFFve+xb5OxyYvdHaS55YsSddr228Y+JAFk58agCuZTsqNiw2a6ig==}
'@biomejs/cli-win32-arm64@2.4.0':
resolution: {integrity: sha512-aqRwW0LJLV1v1NzyLvLWQhdLmDSAV1vUh+OBdYJaa8f28XBn5BZavo+WTfqgEzALZxlNfBmu6NGO6Al3MbCULw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
'@biomejs/cli-win32-x64@2.4.12':
resolution: {integrity: sha512-yMckRzTyZ83hkk8iDFWswqSdU8tvZxspJKnYNh7JZr/zhZNOlzH13k4ecboU6MurKExCe2HUkH75pGI/O2JwGA==}
'@biomejs/cli-win32-x64@2.4.0':
resolution: {integrity: sha512-g47s+V+OqsGxbSZN3lpav6WYOk0PIc3aCBAq+p6dwSynL3K5MA6Cg6nkzDOlu28GEHwbakW+BllzHCJCxnfK5Q==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@ -1531,39 +1531,39 @@ snapshots:
'@babel/helper-validator-identifier@7.28.5':
optional: true
'@biomejs/biome@2.4.12':
'@biomejs/biome@2.4.0':
optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.4.12
'@biomejs/cli-darwin-x64': 2.4.12
'@biomejs/cli-linux-arm64': 2.4.12
'@biomejs/cli-linux-arm64-musl': 2.4.12
'@biomejs/cli-linux-x64': 2.4.12
'@biomejs/cli-linux-x64-musl': 2.4.12
'@biomejs/cli-win32-arm64': 2.4.12
'@biomejs/cli-win32-x64': 2.4.12
'@biomejs/cli-darwin-arm64': 2.4.0
'@biomejs/cli-darwin-x64': 2.4.0
'@biomejs/cli-linux-arm64': 2.4.0
'@biomejs/cli-linux-arm64-musl': 2.4.0
'@biomejs/cli-linux-x64': 2.4.0
'@biomejs/cli-linux-x64-musl': 2.4.0
'@biomejs/cli-win32-arm64': 2.4.0
'@biomejs/cli-win32-x64': 2.4.0
'@biomejs/cli-darwin-arm64@2.4.12':
'@biomejs/cli-darwin-arm64@2.4.0':
optional: true
'@biomejs/cli-darwin-x64@2.4.12':
'@biomejs/cli-darwin-x64@2.4.0':
optional: true
'@biomejs/cli-linux-arm64-musl@2.4.12':
'@biomejs/cli-linux-arm64-musl@2.4.0':
optional: true
'@biomejs/cli-linux-arm64@2.4.12':
'@biomejs/cli-linux-arm64@2.4.0':
optional: true
'@biomejs/cli-linux-x64-musl@2.4.12':
'@biomejs/cli-linux-x64-musl@2.4.0':
optional: true
'@biomejs/cli-linux-x64@2.4.12':
'@biomejs/cli-linux-x64@2.4.0':
optional: true
'@biomejs/cli-win32-arm64@2.4.12':
'@biomejs/cli-win32-arm64@2.4.0':
optional: true
'@biomejs/cli-win32-x64@2.4.12':
'@biomejs/cli-win32-x64@2.4.0':
optional: true
'@colordx/core@5.0.3': {}

View file

@ -102,5 +102,6 @@ const defineDayjsBr = ({
return dayjs
}
export type { Dayjs }
export { defineDayjsBr }
export type { Dayjs }

View file

@ -25,8 +25,7 @@
/* Verificação de Tipos */
"strict": true /* Habilita todas as opções de verificação estrita de tipos. */,
"skipLibCheck": true /* Ignora a verificação de tipos em arquivos de declaração de bibliotecas. */,
"ignoreDeprecations": "6.0"
"skipLibCheck": true /* Ignora a verificação de tipos em arquivos de declaração de bibliotecas. */
},
"include": [
"src/**/*"