fix: update build scripts and change vue-sync-engine dependency to link

This commit is contained in:
2026-08-07 14:21:16 +07:00
parent 844cb066ab
commit 92ade53212
2 changed files with 5 additions and 57 deletions
+3 -2
View File
@@ -6,7 +6,8 @@
"description": "Локальный дневник питания: калории, БЖУ, вес. Vue Vapor + vue-sync-engine + IndexedDB, без бэкенда.",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:engine": "pnpm --dir ../vue-sync-engine install --frozen-lockfile && pnpm --dir ../vue-sync-engine build:lib",
"build": "pnpm run build:engine && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "vitest run",
@@ -23,7 +24,7 @@
"date-fns": "^4.4.0",
"lucide": "^1.28.0",
"vue": "3.6.0-rc.2",
"vue-sync-engine": "file:../vue-sync-engine/lib"
"vue-sync-engine": "link:../vue-sync-engine/lib"
},
"devDependencies": {
"@robonen/eslint": "^0.0.1",
+2 -55
View File
@@ -33,8 +33,8 @@ importers:
specifier: 3.6.0-rc.2
version: 3.6.0-rc.2(typescript@6.0.3)
vue-sync-engine:
specifier: file:../vue-sync-engine/lib
version: file:../vue-sync-engine/lib(vite@8.2.1(@types/node@25.9.5)(jiti@2.7.0))(vue@3.6.0-rc.2(typescript@6.0.3))
specifier: link:../vue-sync-engine/lib
version: link:../vue-sync-engine/lib
devDependencies:
'@robonen/eslint':
specifier: ^0.0.1
@@ -776,15 +776,6 @@ packages:
'@vue/compiler-vapor@3.6.0-rc.2':
resolution: {integrity: sha512-QbrA01pbj9xemF2McgBopyaOwj3kQGN0W1GW5EdFXORIT4fQQJpmUOj40h99S3bk09gLs5bFTRS4YE+Oyw/F9w==}
'@vue/devtools-api@8.2.1':
resolution: {integrity: sha512-6u4vXBlIBAC1wMplIZgpyPn7uh/s4Bf6F5bMzvLv+EdJ0aHs/+4B7Ygv864EStQSjRbsRzTko/kUG1A1IejQ3A==}
'@vue/devtools-kit@8.2.1':
resolution: {integrity: sha512-FIGIuq3AWReEpbAHY/cRGeHDfI0qOb8OCQ3YjbEAX04uaxIDbGc9rhkbVcG7rnfHPXE3RsU5KrWOu9V/okd8AQ==}
'@vue/devtools-shared@8.2.1':
resolution: {integrity: sha512-Fkac7lUdGReh6pVOi3AYPRGe82LQqRmAfThW7RRligOAP0ZA/Z1z9XLHDM9dv34pV2HRc79DK8uKPeG2fLnA/g==}
'@vue/reactivity@3.6.0-rc.2':
resolution: {integrity: sha512-B01EoSTcaVQiJwZDoSoeKYClVgj60BHN43oHEcxXhPVLdxsXI0SOiQuskUskQDZn2ma08llICKJohL60o+UamA==}
@@ -834,9 +825,6 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
birpc@2.9.0:
resolution: {integrity: sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==}
boolbase@1.0.0:
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -1138,9 +1126,6 @@ packages:
hash-sum@2.0.0:
resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
hookable@5.5.3:
resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==}
ignore@5.3.2:
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'}
@@ -1416,9 +1401,6 @@ packages:
pathe@2.0.3:
resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
perfect-debounce@2.1.0:
resolution: {integrity: sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==}
picocolors@1.1.1:
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
@@ -1727,15 +1709,6 @@ packages:
webpack:
optional: true
vue-sync-engine@file:../vue-sync-engine/lib:
resolution: {directory: ../vue-sync-engine/lib, type: directory}
peerDependencies:
vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
vue: ^3.5.0
peerDependenciesMeta:
vite:
optional: true
vue@3.6.0-rc.2:
resolution: {integrity: sha512-pBgoISqETcufJ1e92vVW2/D5MEbCm2XHlC/5dq3hWq8s17tx9v5BEdYv4hojJ0yEEDidYxUL7itS+vV32wfZrw==}
peerDependencies:
@@ -2403,19 +2376,6 @@ snapshots:
estree-walker: 2.0.2
source-map-js: 1.2.1
'@vue/devtools-api@8.2.1':
dependencies:
'@vue/devtools-kit': 8.2.1
'@vue/devtools-kit@8.2.1':
dependencies:
'@vue/devtools-shared': 8.2.1
birpc: 2.9.0
hookable: 5.5.3
perfect-debounce: 2.1.0
'@vue/devtools-shared@8.2.1': {}
'@vue/reactivity@3.6.0-rc.2':
dependencies:
'@vue/shared': 3.6.0-rc.2
@@ -2467,8 +2427,6 @@ snapshots:
baseline-browser-mapping@2.11.12: {}
birpc@2.9.0: {}
boolbase@1.0.0: {}
brace-expansion@5.0.9:
@@ -2769,8 +2727,6 @@ snapshots:
hash-sum@2.0.0: {}
hookable@5.5.3: {}
ignore@5.3.2: {}
ignore@7.0.6: {}
@@ -2965,8 +2921,6 @@ snapshots:
pathe@2.0.3: {}
perfect-debounce@2.1.0: {}
picocolors@1.1.1: {}
picomatch@4.0.5: {}
@@ -3224,13 +3178,6 @@ snapshots:
- rolldown
- unloader
vue-sync-engine@file:../vue-sync-engine/lib(vite@8.2.1(@types/node@25.9.5)(jiti@2.7.0))(vue@3.6.0-rc.2(typescript@6.0.3)):
dependencies:
'@vue/devtools-api': 8.2.1
vue: 3.6.0-rc.2(typescript@6.0.3)
optionalDependencies:
vite: 8.2.1(@types/node@25.9.5)(jiti@2.7.0)
vue@3.6.0-rc.2(typescript@6.0.3):
dependencies:
'@vue/compiler-dom': 3.6.0-rc.2