feat: habilitar provisionamento desktop e rotas CORS

This commit is contained in:
Esdras Renan 2025-10-08 23:07:49 -03:00
parent 7569986ffc
commit 152550a9a0
19 changed files with 1806 additions and 211 deletions

100
pnpm-lock.yaml generated
View file

@ -195,6 +195,9 @@ importers:
eslint-config-next:
specifier: 15.5.4
version: 15.5.4(eslint@9.37.0(jiti@2.6.1))(typescript@5.9.3)
eslint-plugin-react-hooks:
specifier: ^5.0.0
version: 5.2.0(eslint@9.37.0(jiti@2.6.1))
prisma:
specifier: ^6.16.2
version: 6.16.3(typescript@5.9.3)
@ -211,6 +214,28 @@ importers:
specifier: ^2.1.4
version: 2.1.9(@types/node@20.19.19)(lightningcss@1.30.1)
apps/desktop:
dependencies:
'@tauri-apps/api':
specifier: ^2
version: 2.8.0
'@tauri-apps/plugin-opener':
specifier: ^2
version: 2.5.0
'@tauri-apps/plugin-store':
specifier: ^2
version: 2.4.0
devDependencies:
'@tauri-apps/cli':
specifier: ^2
version: 2.8.4
typescript:
specifier: ~5.6.2
version: 5.6.3
vite:
specifier: ^6.0.3
version: 6.3.6(@types/node@20.19.19)(jiti@2.6.1)(lightningcss@1.30.1)
packages:
'@alloc/quick-lru@5.2.0':
@ -1728,6 +1753,12 @@ packages:
engines: {node: '>= 10'}
hasBin: true
'@tauri-apps/plugin-opener@2.5.0':
resolution: {integrity: sha512-B0LShOYae4CZjN8leiNDbnfjSrTwoZakqKaWpfoH6nXiJwt6Rgj6RnVIffG3DoJiKsffRhMkjmBV9VeilSb4TA==}
'@tauri-apps/plugin-store@2.4.0':
resolution: {integrity: sha512-PjBnlnH6jyI71MGhrPaxUUCsOzc7WO1mbc4gRhME0m2oxLgCqbksw6JyeKQimuzv4ysdpNO3YbmaY2haf82a3A==}
'@tiptap/core@3.6.5':
resolution: {integrity: sha512-CgXuhevQbBcPfxaXzGZgIY9+aVMSAd68Q21g3EONz1iZBw026QgiaLhGK6jgGTErZL4GoNL/P+gC5nFCvN7+cA==}
peerDependencies:
@ -3938,6 +3969,11 @@ packages:
resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
engines: {node: '>= 0.4'}
typescript@5.6.3:
resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==}
engines: {node: '>=14.17'}
hasBin: true
typescript@5.9.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
@ -4049,6 +4085,46 @@ packages:
terser:
optional: true
vite@6.3.6:
resolution: {integrity: sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
jiti: '>=1.21.0'
less: '*'
lightningcss: ^1.21.0
sass: '*'
sass-embedded: '*'
stylus: '*'
sugarss: '*'
terser: ^5.16.0
tsx: ^4.8.1
yaml: ^2.4.2
peerDependenciesMeta:
'@types/node':
optional: true
jiti:
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
sass-embedded:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
tsx:
optional: true
yaml:
optional: true
vitest@2.1.9:
resolution: {integrity: sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==}
engines: {node: ^18.0.0 || >=20.0.0}
@ -5432,6 +5508,14 @@ snapshots:
'@tauri-apps/cli-win32-ia32-msvc': 2.8.4
'@tauri-apps/cli-win32-x64-msvc': 2.8.4
'@tauri-apps/plugin-opener@2.5.0':
dependencies:
'@tauri-apps/api': 2.8.0
'@tauri-apps/plugin-store@2.4.0':
dependencies:
'@tauri-apps/api': 2.8.0
'@tiptap/core@3.6.5(@tiptap/pm@3.6.5)':
dependencies:
'@tiptap/pm': 3.6.5
@ -7982,6 +8066,8 @@ snapshots:
possible-typed-array-names: 1.1.0
reflect.getprototypeof: 1.0.10
typescript@5.6.3: {}
typescript@5.9.3: {}
uc.micro@2.1.0: {}
@ -8115,6 +8201,20 @@ snapshots:
fsevents: 2.3.3
lightningcss: 1.30.1
vite@6.3.6(@types/node@20.19.19)(jiti@2.6.1)(lightningcss@1.30.1):
dependencies:
esbuild: 0.25.4
fdir: 6.5.0(picomatch@4.0.3)
picomatch: 4.0.3
postcss: 8.5.6
rollup: 4.52.4
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 20.19.19
fsevents: 2.3.3
jiti: 2.6.1
lightningcss: 1.30.1
vitest@2.1.9(@types/node@20.19.19)(lightningcss@1.30.1):
dependencies:
'@vitest/expect': 2.1.9