From 6a7a23c07e5fc1a458c96077e30d46dc27b84a8c Mon Sep 17 00:00:00 2001 From: Christopher Allford <6451942+ObliviousHarmony@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:48:10 -0800 Subject: [PATCH] Fixed Composer Archive (#94) --- .gitattributes | 39 +++++++++++++++++++++++++++++---------- CHANGELOG.md | 4 ++++ composer.json | 8 -------- 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3a6292e..c5a4d94 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,13 +1,32 @@ -* text=auto +* text=auto -*.txt text eol=lf -*.md text eol=lf -*.json text eol=lf -*.yml text eol=lf -*.xml text eol=lf -.nvmrc text eol=lf -*.ts text eol=lf -*.js text eol=lf -*.php text eol=lf +# Mark code files with the correct EOL. +*.txt text eol=lf +*.md text eol=lf +*.json text eol=lf +*.yml text eol=lf +*.xml text eol=lf +.nvmrc text eol=lf +*.ts text eol=lf +*.js text eol=lf +*.php text eol=lf *.png binary + +# Prevent Packagist from distributing some files. +/.* export-ignore +/README.md export-ignore +/CHANGELOG.md export-ignore +/src export-ignore +/package.json export-ignore +/package-lock.json export-ignore +/node_modules export-ignore +/composer.lock export-ignore +/vendor export-ignore +/extension.js export-ignore +/extension.js.map export-ignore +/jest.config.json export-ignore +/*.tar export-ignore +/*.vsix export-ignore +/tsconfig.json export-ignore +/webpack.config.js export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cf441f..a5db671 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.1] - 2024-01-29 +### Fixed +- Composer package should not contain unnecessary files. + ## [3.0.0] - 2024-01-29 ### Added - Support using an `obliviousharmony/vscode-phpcs-integration` Composer package to provide diff --git a/composer.json b/composer.json index 6fc8c90..a5abc17 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,6 @@ "vscode-phpcbf" ], "readme": "assets/phpcs-integration/README.md", - "archive": { - "exclude": [ - "*", - "!/composer.json", - "!/LICENSE.txt", - "!/assets/phpcs-integration" - ] - }, "prefer-stable": true, "minimum-stability": "dev", "require-dev": {