This commit is contained in:
Luiz Silva 2025-08-09 08:59:41 -03:00
parent e8abe4d284
commit d53450b686
4 changed files with 73 additions and 74 deletions

View file

@ -1,7 +1,5 @@
{ {
"[javascript]": { "editor.codeActionsOnSave": {
"editor.defaultFormatter": "biomejs.biome"
}, "editor.codeActionsOnSave": {
"source.organizeImports.biome": "always", "source.organizeImports.biome": "always",
"source.fixAll.biome": "always" "source.fixAll.biome": "always"
} }

View file

@ -1,7 +1,7 @@
{ {
"$schema": "node_modules/@biomejs/biome/configuration_schema.json", "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [ "extends": ["./node_modules/p-comuns/Documentos/biome.json"],
"node_modules/p-comuns/Documentos/biome.json" "files": {
], "includes": ["src/**/*.{js,ts,jsx,tsx}"]
"files": {} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "p-autenticacao-drive", "name": "p-autenticacao-drive",
"version": "1.36.0", "version": "1.37.0",
"description": "", "description": "",
"main": "./src/index.ts", "main": "./src/index.ts",
"exports": { "exports": {
@ -14,7 +14,7 @@
"scripts": { "scripts": {
"at": "pnpm up @biomejs/biome typescript", "at": "pnpm up @biomejs/biome typescript",
"build": "pnpm run check && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && npm --no-git-tag-version version minor", "build": "pnpm run check && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && npm --no-git-tag-version version minor",
"biome": "biome check --write ./src && biome check --write ./package.json", "biome": "pnpm exec biome check --write",
"nodev": "check-node-version --node '>= 20'", "nodev": "check-node-version --node '>= 20'",
"check": "pnpm run biome && tsc --noEmit" "check": "pnpm run biome && tsc --noEmit"
}, },
@ -25,11 +25,11 @@
"uuid": "11.1.0" "uuid": "11.1.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "2.0.6", "@biomejs/biome": "2.1.4",
"@types/node": "^20.19.9", "@types/node": "^20.19.10",
"check-node-version": "^4.2.1", "check-node-version": "^4.2.1",
"tsup": "8.5.0", "tsup": "8.5.0",
"typescript": "5.5.4" "typescript": "~5.9.2"
}, },
"keywords": [], "keywords": [],
"author": { "author": {

123
pnpm-lock.yaml generated
View file

@ -13,81 +13,81 @@ importers:
version: 4.1.0 version: 4.1.0
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#2dafba786d4174b638660017f42a3f09be5396bd version: git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7
p-respostas: p-respostas:
specifier: git+https://git2.idz.one/publico/_respostas.git specifier: git+https://git2.idz.one/publico/_respostas.git
version: git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5 version: git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418
uuid: uuid:
specifier: 11.1.0 specifier: 11.1.0
version: 11.1.0 version: 11.1.0
devDependencies: devDependencies:
'@biomejs/biome': '@biomejs/biome':
specifier: 2.0.6 specifier: 2.1.4
version: 2.0.6 version: 2.1.4
'@types/node': '@types/node':
specifier: ^20.19.9 specifier: ^20.19.10
version: 20.19.9 version: 20.19.10
check-node-version: check-node-version:
specifier: ^4.2.1 specifier: ^4.2.1
version: 4.2.1 version: 4.2.1
tsup: tsup:
specifier: 8.5.0 specifier: 8.5.0
version: 8.5.0(typescript@5.5.4) version: 8.5.0(typescript@5.9.2)
typescript: typescript:
specifier: 5.5.4 specifier: ~5.9.2
version: 5.5.4 version: 5.9.2
packages: packages:
'@biomejs/biome@2.0.6': '@biomejs/biome@2.1.4':
resolution: {integrity: sha512-RRP+9cdh5qwe2t0gORwXaa27oTOiQRQvrFf49x2PA1tnpsyU7FIHX4ZOFMtBC4QNtyWsN7Dqkf5EDbg4X+9iqA==} resolution: {integrity: sha512-QWlrqyxsU0FCebuMnkvBIkxvPqH89afiJzjMl+z67ybutse590jgeaFdDurE9XYtzpjRGTI1tlUZPGWmbKsElA==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
hasBin: true hasBin: true
'@biomejs/cli-darwin-arm64@2.0.6': '@biomejs/cli-darwin-arm64@2.1.4':
resolution: {integrity: sha512-AzdiNNjNzsE6LfqWyBvcL29uWoIuZUkndu+wwlXW13EKcBHbbKjNQEZIJKYDc6IL+p7bmWGx3v9ZtcRyIoIz5A==} resolution: {integrity: sha512-sCrNENE74I9MV090Wq/9Dg7EhPudx3+5OiSoQOkIe3DLPzFARuL1dOwCWhKCpA3I5RHmbrsbNSRfZwCabwd8Qg==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@biomejs/cli-darwin-x64@2.0.6': '@biomejs/cli-darwin-x64@2.1.4':
resolution: {integrity: sha512-wJjjP4E7bO4WJmiQaLnsdXMa516dbtC6542qeRkyJg0MqMXP0fvs4gdsHhZ7p9XWTAmGIjZHFKXdsjBvKGIJJQ==} resolution: {integrity: sha512-gOEICJbTCy6iruBywBDcG4X5rHMbqCPs3clh3UQ+hRKlgvJTk4NHWQAyHOXvaLe+AxD1/TNX1jbZeffBJzcrOw==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
'@biomejs/cli-linux-arm64-musl@2.0.6': '@biomejs/cli-linux-arm64-musl@2.1.4':
resolution: {integrity: sha512-CVPEMlin3bW49sBqLBg2x016Pws7eUXA27XYDFlEtponD0luYjg2zQaMJ2nOqlkKG9fqzzkamdYxHdMDc2gZFw==} resolution: {integrity: sha512-nYr7H0CyAJPaLupFE2cH16KZmRC5Z9PEftiA2vWxk+CsFkPZQ6dBRdcC6RuS+zJlPc/JOd8xw3uCCt9Pv41WvQ==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@biomejs/cli-linux-arm64@2.0.6': '@biomejs/cli-linux-arm64@2.1.4':
resolution: {integrity: sha512-ZSVf6TYo5rNMUHIW1tww+rs/krol7U5A1Is/yzWyHVZguuB0lBnIodqyFuwCNqG9aJGyk7xIMS8HG0qGUPz0SA==} resolution: {integrity: sha512-juhEkdkKR4nbUi5k/KRp1ocGPNWLgFRD4NrHZSveYrD6i98pyvuzmS9yFYgOZa5JhaVqo0HPnci0+YuzSwT2fw==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@biomejs/cli-linux-x64-musl@2.0.6': '@biomejs/cli-linux-x64-musl@2.1.4':
resolution: {integrity: sha512-mKHE/e954hR/hSnAcJSjkf4xGqZc/53Kh39HVW1EgO5iFi0JutTN07TSjEMg616julRtfSNJi0KNyxvc30Y4rQ==} resolution: {integrity: sha512-lvwvb2SQQHctHUKvBKptR6PLFCM7JfRjpCCrDaTmvB7EeZ5/dQJPhTYBf36BE/B4CRWR2ZiBLRYhK7hhXBCZAg==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@biomejs/cli-linux-x64@2.0.6': '@biomejs/cli-linux-x64@2.1.4':
resolution: {integrity: sha512-geM1MkHTV1Kh2Cs/Xzot9BOF3WBacihw6bkEmxkz4nSga8B9/hWy5BDiOG3gHDGIBa8WxT0nzsJs2f/hPqQIQw==} resolution: {integrity: sha512-Eoy9ycbhpJVYuR+LskV9s3uyaIkp89+qqgqhGQsWnp/I02Uqg2fXFblHJOpGZR8AxdB9ADy87oFVxn9MpFKUrw==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@biomejs/cli-win32-arm64@2.0.6': '@biomejs/cli-win32-arm64@2.1.4':
resolution: {integrity: sha512-290V4oSFoKaprKE1zkYVsDfAdn0An5DowZ+GIABgjoq1ndhvNxkJcpxPsiYtT7slbVe3xmlT0ncdfOsN7KruzA==} resolution: {integrity: sha512-3WRYte7orvyi6TRfIZkDN9Jzoogbv+gSvR+b9VOXUg1We1XrjBg6WljADeVEaKTvOcpVdH0a90TwyOQ6ue4fGw==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
'@biomejs/cli-win32-x64@2.0.6': '@biomejs/cli-win32-x64@2.1.4':
resolution: {integrity: sha512-bfM1Bce0d69Ao7pjTjUS+AWSZ02+5UHdiAP85Th8e9yV5xzw6JrHXbL5YWlcEKQ84FIZMdDc7ncuti1wd2sdbw==} resolution: {integrity: sha512-tBc+W7anBPSFXGAoQW+f/+svkpt8/uXfRwDzN1DvnatkRMt16KIYpEi/iw8u9GahJlFv98kgHcIrSsZHZTR0sw==}
engines: {node: '>=14.21.3'} engines: {node: '>=14.21.3'}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
@ -372,8 +372,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.9': '@types/node@20.19.10':
resolution: {integrity: sha512-cuVNgarYWZqxRJDQHEB58GEONhOK79QVR/qYx4S7kcUObQvUwvFnYxJuuHUKm2aieN9X3yZB4LZsuYNU1Qphsw==} resolution: {integrity: sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==}
acorn@8.15.0: acorn@8.15.0:
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
@ -580,13 +580,13 @@ packages:
object-filter@1.0.2: object-filter@1.0.2:
resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==} resolution: {integrity: sha512-NahvP2vZcy1ZiiYah30CEPw0FpDcSkSePJBMpzl5EQgCmISijiGuJm3SPYp7U+Lf2TljyaIw3E5EgkEx/TNEVA==}
p-comuns@git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd: p-comuns@git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7:
resolution: {commit: 2dafba786d4174b638660017f42a3f09be5396bd, repo: https://git2.idz.one/publico/_comuns.git, type: git} resolution: {commit: 0dc2d7a0df5ba478f7474eb907c3381719bec5f7, repo: https://git2.idz.one/publico/_comuns.git, type: git}
version: 0.206.0 version: 0.211.0
p-respostas@git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5: p-respostas@git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418:
resolution: {commit: 3d95862ebbb1f722166105c2ec388c198f9136c5, repo: https://git2.idz.one/publico/_respostas.git, type: git} resolution: {commit: d9c575d615f771a32cb80dc29d2a13611ced3418, repo: https://git2.idz.one/publico/_respostas.git, type: git}
version: 0.46.0 version: 0.47.0
package-json-from-dist@1.0.1: package-json-from-dist@1.0.1:
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
@ -749,8 +749,8 @@ packages:
typescript: typescript:
optional: true optional: true
typescript@5.5.4: typescript@5.9.2:
resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==}
engines: {node: '>=14.17'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
@ -794,39 +794,39 @@ packages:
snapshots: snapshots:
'@biomejs/biome@2.0.6': '@biomejs/biome@2.1.4':
optionalDependencies: optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.0.6 '@biomejs/cli-darwin-arm64': 2.1.4
'@biomejs/cli-darwin-x64': 2.0.6 '@biomejs/cli-darwin-x64': 2.1.4
'@biomejs/cli-linux-arm64': 2.0.6 '@biomejs/cli-linux-arm64': 2.1.4
'@biomejs/cli-linux-arm64-musl': 2.0.6 '@biomejs/cli-linux-arm64-musl': 2.1.4
'@biomejs/cli-linux-x64': 2.0.6 '@biomejs/cli-linux-x64': 2.1.4
'@biomejs/cli-linux-x64-musl': 2.0.6 '@biomejs/cli-linux-x64-musl': 2.1.4
'@biomejs/cli-win32-arm64': 2.0.6 '@biomejs/cli-win32-arm64': 2.1.4
'@biomejs/cli-win32-x64': 2.0.6 '@biomejs/cli-win32-x64': 2.1.4
'@biomejs/cli-darwin-arm64@2.0.6': '@biomejs/cli-darwin-arm64@2.1.4':
optional: true optional: true
'@biomejs/cli-darwin-x64@2.0.6': '@biomejs/cli-darwin-x64@2.1.4':
optional: true optional: true
'@biomejs/cli-linux-arm64-musl@2.0.6': '@biomejs/cli-linux-arm64-musl@2.1.4':
optional: true optional: true
'@biomejs/cli-linux-arm64@2.0.6': '@biomejs/cli-linux-arm64@2.1.4':
optional: true optional: true
'@biomejs/cli-linux-x64-musl@2.0.6': '@biomejs/cli-linux-x64-musl@2.1.4':
optional: true optional: true
'@biomejs/cli-linux-x64@2.0.6': '@biomejs/cli-linux-x64@2.1.4':
optional: true optional: true
'@biomejs/cli-win32-arm64@2.0.6': '@biomejs/cli-win32-arm64@2.1.4':
optional: true optional: true
'@biomejs/cli-win32-x64@2.0.6': '@biomejs/cli-win32-x64@2.1.4':
optional: true optional: true
'@esbuild/aix-ppc64@0.25.8': '@esbuild/aix-ppc64@0.25.8':
@ -995,7 +995,7 @@ snapshots:
'@types/estree@1.0.8': {} '@types/estree@1.0.8': {}
'@types/node@20.19.9': '@types/node@20.19.10':
dependencies: dependencies:
undici-types: 6.21.0 undici-types: 6.21.0
@ -1197,17 +1197,18 @@ snapshots:
object-filter@1.0.2: {} object-filter@1.0.2: {}
p-comuns@git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd: p-comuns@git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7:
dependencies: dependencies:
cross-fetch: 4.1.0 cross-fetch: 4.1.0
dayjs: 1.11.13 dayjs: 1.11.13
uuid: 11.1.0
zod: 3.24.1 zod: 3.24.1
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
p-respostas@git+https://git2.idz.one/publico/_respostas.git#3d95862ebbb1f722166105c2ec388c198f9136c5: p-respostas@git+https://git2.idz.one/publico/_respostas.git#d9c575d615f771a32cb80dc29d2a13611ced3418:
dependencies: dependencies:
p-comuns: git+https://git2.idz.one/publico/_comuns.git#2dafba786d4174b638660017f42a3f09be5396bd p-comuns: git+https://git2.idz.one/publico/_comuns.git#0dc2d7a0df5ba478f7474eb907c3381719bec5f7
zod: 3.24.1 zod: 3.24.1
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
@ -1350,7 +1351,7 @@ snapshots:
ts-interface-checker@0.1.13: {} ts-interface-checker@0.1.13: {}
tsup@8.5.0(typescript@5.5.4): tsup@8.5.0(typescript@5.9.2):
dependencies: dependencies:
bundle-require: 5.1.0(esbuild@0.25.8) bundle-require: 5.1.0(esbuild@0.25.8)
cac: 6.7.14 cac: 6.7.14
@ -1370,14 +1371,14 @@ snapshots:
tinyglobby: 0.2.14 tinyglobby: 0.2.14
tree-kill: 1.2.2 tree-kill: 1.2.2
optionalDependencies: optionalDependencies:
typescript: 5.5.4 typescript: 5.9.2
transitivePeerDependencies: transitivePeerDependencies:
- jiti - jiti
- supports-color - supports-color
- tsx - tsx
- yaml - yaml
typescript@5.5.4: {} typescript@5.9.2: {}
ufo@1.6.1: {} ufo@1.6.1: {}