Merge branch 'master-biome'

This commit is contained in:
Luiz Silva 2026-04-15 09:40:31 -03:00
commit d029faf8f0
3 changed files with 81 additions and 83 deletions

View file

@ -1,46 +1,45 @@
{ {
"name": "p-comuns", "name": "p-comuns",
"version": "0.322.0", "version": "0.329.0",
"description": "", "description": "",
"main": "./dist-front/index.mjs", "main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs", "module": "./dist-front/index.mjs",
"types": "./dist-front/index.d.mts", "types": "./dist-front/index.d.mts",
"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"
} }
}, },
"scripts": { "scripts": {
"biome": "pnpm exec biome check --write", "biome": "pnpm exec biome check --write",
"check": "pnpm run biome && npx tsc --noEmit", "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", "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", "teste": "npx vitest run src/testes/TipagemRotas.test.ts",
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz" "pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
}, },
"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",
"devDependencies": { "dependencies": {},
"@biomejs/biome": "2.4.0", "devDependencies": {
"@types/node": "^20.19.39", "uuid": "^11.1.0",
"cross-fetch": "4.1.0", "zod": "4.3.6",
"dayjs": "^1.11.20", "dayjs": "^1.11.18",
"tsup": "8.5.0", "@biomejs/biome": "2.4.12",
"typescript": "~5.9.3", "@types/node": "^22",
"unbuild": "^3.6.1", "tsup": "8.5.1",
"uuid": "^11.1.0", "typescript": "^6",
"vitest": "^3.2.4", "unbuild": "^3.6.1",
"zod": "4.1.4" "vitest": "^3.2.4"
}, },
"peerDependencies": { "peerDependencies": {
"cross-fetch": "4.1.0", "dayjs": "^1.11.18",
"dayjs": "^1.11.18", "uuid": "^11.1.0",
"uuid": "^11.1.0", "zod": "4.3.6"
"zod": "4.1.4" }
}
} }

74
pnpm-lock.yaml generated
View file

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

View file

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