Files
nextcloud-server-mirror/package.json
John Molakvoæ d9427f1d9e feat(files): refresh the files list from notify_push file changes
When notify_push is available, the files list listens to the ids of
changed files and updates the current folder in place. Only the
changed children, new files and the folder itself are fetched, by id
through the nodes API, scoped to the current folder. When the parent of
the current folder changes, the folder is checked: if it moved the list
follows it, if it was deleted the list goes to the closest remaining
ancestor. A light listing of file ids and etags is compared instead
when more than 200 children changed, when only the folder changed, or
when shares changed in the root folder.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
2026-10-16 17:53:13 +02:00

123 lines
4.3 KiB
JSON

{
"name": "nextcloud",
"version": "1.0.0",
"private": true,
"description": "Nextcloud Server",
"keywords": [
"nextcloud"
],
"repository": {
"type": "git",
"url": "https://github.com/nextcloud/server.git"
},
"license": "AGPL-3.0-or-later",
"author": "Nextcloud GmbH and Nextcloud contributors",
"type": "module",
"scripts": {
"build": "build/demi.sh build",
"postbuild": "build/npm-post-build.sh",
"dev": "build/demi.sh dev",
"postinstall": "build/demi.sh ci",
"lint": "eslint --suppressions-location build/eslint-baseline.json --no-error-on-unmatched-pattern ./tests/playwright",
"postlint": "build/demi.sh lint",
"lint:fix": "concurrently 'npm run lint -- --fix' 'build/demi.sh lint:fix'",
"playwright": "playwright test --project=default --project=admin-settings",
"playwright:install": "playwright install chromium",
"playwright:setup": "playwright test --project=setup",
"sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
"sass:icons": "node build/icons.mjs",
"sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
"stylelint": "stylelint $(for appdir in $(ls apps); do if ! $(git check-ignore -q \"apps/$appdir\"); then printf \"'apps/$appdir/**/*.{scss,vue}' \"; fi; done) 'core/**/*.{scss,vue}'",
"stylelint:fix": "npm run stylelint -- --fix",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:update-snapshots": "vitest run --update",
"test:watch": "vitest watch",
"watch": "build/demi.sh --parallel watch"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"overrides": {
"@nextcloud/files": "$@nextcloud/files"
},
"dependencies": {
"@chenfengyuan/vue-qrcode": "^2.0.0",
"@mdi/js": "^7.4.47",
"@mdi/svg": "^7.4.47",
"@nextcloud/auth": "^2.6.0",
"@nextcloud/axios": "^2.5.2",
"@nextcloud/browser-storage": "^0.5.0",
"@nextcloud/calendar-availability-vue": "^3.0.0",
"@nextcloud/capabilities": "^1.2.1",
"@nextcloud/dialogs": "^7.5.0",
"@nextcloud/event-bus": "^3.3.3",
"@nextcloud/files": "^4.1.0",
"@nextcloud/initial-state": "^3.0.0",
"@nextcloud/l10n": "^3.4.1",
"@nextcloud/logger": "^3.0.3",
"@nextcloud/notify_push": "^1.4.0",
"@nextcloud/password-confirmation": "^6.1.0",
"@nextcloud/paths": "^3.1.0",
"@nextcloud/router": "^3.2.0",
"@nextcloud/sharing": "^1.0.0-beta.4",
"@nextcloud/viewer": "^2.0.0-beta.15",
"@nextcloud/vue": "^9.12.0",
"@simplewebauthn/browser": "^14.0.0",
"@vueuse/core": "^15.0.0",
"@vueuse/integrations": "^15.0.0",
"browserslist-useragent-regexp": "^4.1.4",
"color": "^5.0.3",
"core-js": "^3.50.0",
"debounce": "^3.0.0",
"dompurify": "^3.4.16",
"escape-html": "^1.0.3",
"focus-trap": "^8.2.2",
"marked": "^18.1.0",
"moment": "^2.31.0",
"p-queue": "^9.3.3",
"pinia": "^4.0.3",
"qrcode": "^1.5.4",
"sortablejs": "^1.15.7",
"vue": "^3.5.43",
"vue-router": "^5.0.6",
"vuedraggable": "4.1.0",
"vuex": "^4.1.0",
"webdav": "^5.11.0"
},
"devDependencies": {
"@nextcloud/browserslist-config": "^3.1.2",
"@nextcloud/e2e-test-server": "^0.6.1",
"@nextcloud/eslint-config": "^9.0.1",
"@nextcloud/stylelint-config": "^3.2.2",
"@nextcloud/typings": "^1.10.0",
"@nextcloud/vite-config": "^2.5.2",
"@pinia/testing": "^2.0.1",
"@playwright/test": "^1.63.0",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/vue": "^8.1.0",
"@types/dockerode": "^4.0.1",
"@vitest/coverage-v8": "^5.0.3",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.9.0",
"@zip.js/zip.js": "^2.23.0",
"axe-core": "^4.14.0",
"concurrently": "^10.0.5",
"eslint": "^10.12.0",
"eslint-plugin-no-only-tests": "^3.4.0",
"is-svg": "^6.1.0",
"jsdom": "^30.1.2",
"jsdom-testing-mocks": "^1.16.0",
"mime": "^4.1.0",
"msw": "^2.15.0",
"sass": "^1.105.1",
"stylelint": "^17.15.0",
"vite": "^7.3.6",
"vitest": "^5.0.0"
},
"engines": {
"node": "^24.0.0",
"npm": "^11.3.0"
}
}