fix: remove unnecessary vendor files from build

This commit is contained in:
2025-12-18 01:17:24 +02:00
parent 8fbdaa75d5
commit 2b9b102526
7 changed files with 50 additions and 43 deletions

View File

@@ -179,6 +179,9 @@ appstore:
--exclude="*.log" \ --exclude="*.log" \
--exclude="phpunit*xml" \ --exclude="phpunit*xml" \
--exclude="composer.*" \ --exclude="composer.*" \
--exclude="composer" \
--exclude="vendor" \
--exclude="vendor-bin" \
--exclude="node_modules" \ --exclude="node_modules" \
--exclude="dist/js/node_modules" \ --exclude="dist/js/node_modules" \
--exclude="dist/js/tests" \ --exclude="dist/js/tests" \

View File

@@ -29,11 +29,11 @@
"openapi": "generate-spec" "openapi": "generate-spec"
}, },
"require": { "require": {
"bamarni/composer-bin-plugin": "^1.8",
"php": "^8.1" "php": "^8.1"
}, },
"require-dev": { "require-dev": {
"nextcloud/ocp": "dev-stable29", "bamarni/composer-bin-plugin": "^1.8",
"nextcloud/ocp": "dev-stable32",
"phpunit/phpunit": "^10.5", "phpunit/phpunit": "^10.5",
"roave/security-advisories": "dev-latest" "roave/security-advisories": "dev-latest"
}, },

46
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "3078d3752adeffd0bb702a3ca2e8888d", "content-hash": "11ab52dbf5ed9d82f0b97d7678998a54",
"packages": [ "packages": [
{ {
"name": "bamarni/composer-bin-plugin", "name": "bamarni/composer-bin-plugin",
@@ -127,29 +127,29 @@
}, },
{ {
"name": "nextcloud/ocp", "name": "nextcloud/ocp",
"version": "dev-stable29", "version": "dev-stable32",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud-deps/ocp.git", "url": "https://github.com/nextcloud-deps/ocp.git",
"reference": "f8c70c8d28000510f865028e24bb5cfe562f8b77" "reference": "45612049852ea4234dd799a4a3281a397f0749c3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/f8c70c8d28000510f865028e24bb5cfe562f8b77", "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/45612049852ea4234dd799a4a3281a397f0749c3",
"reference": "f8c70c8d28000510f865028e24bb5cfe562f8b77", "reference": "45612049852ea4234dd799a4a3281a397f0749c3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "~8.0 || ~8.1 || ~8.2 || ~8.3", "php": "~8.1 || ~8.2 || ~8.3 || ~8.4",
"psr/clock": "^1.0", "psr/clock": "^1.0",
"psr/container": "^2.0.2", "psr/container": "^2.0.2",
"psr/event-dispatcher": "^1.0", "psr/event-dispatcher": "^1.0",
"psr/log": "^1.1.4" "psr/log": "^3.0.2"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-stable29": "29.0.0-dev" "dev-stable32": "32.0.0-dev"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@@ -160,14 +160,18 @@
{ {
"name": "Christoph Wurst", "name": "Christoph Wurst",
"email": "christoph@winzerhof-wurst.at" "email": "christoph@winzerhof-wurst.at"
},
{
"name": "Joas Schilling",
"email": "coding@schilljs.com"
} }
], ],
"description": "Composer package containing Nextcloud's public API (classes, interfaces)", "description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API",
"support": { "support": {
"issues": "https://github.com/nextcloud-deps/ocp/issues", "issues": "https://github.com/nextcloud-deps/ocp/issues",
"source": "https://github.com/nextcloud-deps/ocp/tree/stable29" "source": "https://github.com/nextcloud-deps/ocp/tree/stable32"
}, },
"time": "2025-11-30T00:58:59+00:00" "time": "2025-12-16T00:55:52+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@@ -928,30 +932,30 @@
}, },
{ {
"name": "psr/log", "name": "psr/log",
"version": "1.1.4", "version": "3.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/log.git", "url": "https://github.com/php-fig/log.git",
"reference": "d49695b909c3b7628b6289db5479a1c204601f11" "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"reference": "d49695b909c3b7628b6289db5479a1c204601f11", "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=8.0.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.1.x-dev" "dev-master": "3.x-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Psr\\Log\\": "Psr/Log/" "Psr\\Log\\": "src"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@@ -972,9 +976,9 @@
"psr-3" "psr-3"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/log/tree/1.1.4" "source": "https://github.com/php-fig/log/tree/3.0.2"
}, },
"time": "2021-05-03T11:20:27+00:00" "time": "2024-09-11T13:17:53+00:00"
}, },
{ {
"name": "roave/security-advisories", "name": "roave/security-advisories",
@@ -2999,5 +3003,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1" "php": "8.1"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }

View File

@@ -106,16 +106,16 @@
}, },
{ {
"name": "php-cs-fixer/shim", "name": "php-cs-fixer/shim",
"version": "v3.92.0", "version": "v3.92.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHP-CS-Fixer/shim.git", "url": "https://github.com/PHP-CS-Fixer/shim.git",
"reference": "79e39b0d57adfd84c402d7b171b925d1e638597f" "reference": "3d3d3bd0fd98c3336801831adc2c4007deb76a35"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/79e39b0d57adfd84c402d7b171b925d1e638597f", "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/3d3d3bd0fd98c3336801831adc2c4007deb76a35",
"reference": "79e39b0d57adfd84c402d7b171b925d1e638597f", "reference": "3d3d3bd0fd98c3336801831adc2c4007deb76a35",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -152,9 +152,9 @@
"description": "A tool to automatically fix PHP code style", "description": "A tool to automatically fix PHP code style",
"support": { "support": {
"issues": "https://github.com/PHP-CS-Fixer/shim/issues", "issues": "https://github.com/PHP-CS-Fixer/shim/issues",
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.92.0" "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.92.2"
}, },
"time": "2025-12-12T10:29:50+00:00" "time": "2025-12-17T00:04:42+00:00"
} }
], ],
"aliases": [], "aliases": [],
@@ -167,5 +167,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1" "php": "8.1"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }

View File

@@ -86,12 +86,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud/openapi-extractor.git", "url": "https://github.com/nextcloud/openapi-extractor.git",
"reference": "e00047605919f7fea814427ac775096aac7781ee" "reference": "f9fd9430174081491c7a7a8c44dc4d0dfcbf315d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/e00047605919f7fea814427ac775096aac7781ee", "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/f9fd9430174081491c7a7a8c44dc4d0dfcbf315d",
"reference": "e00047605919f7fea814427ac775096aac7781ee", "reference": "f9fd9430174081491c7a7a8c44dc4d0dfcbf315d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -142,7 +142,7 @@
"source": "https://github.com/nextcloud/openapi-extractor/tree/main", "source": "https://github.com/nextcloud/openapi-extractor/tree/main",
"issues": "https://github.com/nextcloud/openapi-extractor/issues" "issues": "https://github.com/nextcloud/openapi-extractor/issues"
}, },
"time": "2025-12-13T02:40:00+00:00" "time": "2025-12-14T03:35:36+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@@ -262,5 +262,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1" "php": "8.1"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }

View File

@@ -1687,5 +1687,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1" "php": "8.1"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }

View File

@@ -1127,16 +1127,16 @@
}, },
{ {
"name": "spatie/array-to-xml", "name": "spatie/array-to-xml",
"version": "3.4.3", "version": "3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/array-to-xml.git", "url": "https://github.com/spatie/array-to-xml.git",
"reference": "7b9202dccfe18d4e3a13303156d6bbcc1c61dabf" "reference": "88b2f3852a922dd73177a68938f8eb2ec70c7224"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/array-to-xml/zipball/7b9202dccfe18d4e3a13303156d6bbcc1c61dabf", "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/88b2f3852a922dd73177a68938f8eb2ec70c7224",
"reference": "7b9202dccfe18d4e3a13303156d6bbcc1c61dabf", "reference": "88b2f3852a922dd73177a68938f8eb2ec70c7224",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1179,7 +1179,7 @@
"xml" "xml"
], ],
"support": { "support": {
"source": "https://github.com/spatie/array-to-xml/tree/3.4.3" "source": "https://github.com/spatie/array-to-xml/tree/3.4.4"
}, },
"funding": [ "funding": [
{ {
@@ -1191,7 +1191,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-11-27T09:08:26+00:00" "time": "2025-12-15T09:00:41+00:00"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
@@ -2118,5 +2118,5 @@
"platform-overrides": { "platform-overrides": {
"php": "8.1" "php": "8.1"
}, },
"plugin-api-version": "2.6.0" "plugin-api-version": "2.9.0"
} }