Skip to content

Commit

Permalink
fix(composer.json): archive unnecessary files from package
Browse files Browse the repository at this point in the history
  • Loading branch information
AsifNawaz-cnic committed Mar 22, 2024
1 parent a951834 commit 1dc5c8a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# The ! character is not supported in .gitattributes so we have to include all the files or directories here to exclude from composer archive
# If a file or directory is not excluded using the export-ignore attribute, it will be included in the archive by default.

# directories to exclude
.devcontainer export-ignore
.github export-ignore
reports export-ignore
docs export-ignore
tests export-ignore

# files to exclude
.releaserc.json export-ignore
composer.json export-ignore
phpdoc.dist.xml export-ignore
phpunit.xml.dist export-ignore
*.sh export-ignore
.gitattributes export-ignore
.gitignore export-ignore
gulpfile.js export-ignore
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ConverterFactory
# IDN Converter - Convert IDN to Punycode or Punycode to IDN - PHP Library

The `ConverterFactory` class provides functionality for converting domain strings between Unicode and Punycode formats.

Expand Down
20 changes: 19 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
"description": "PHP library to convert Domain Names correctly from IDN to Punycode, and vice-versa also offers TR46 processing.",
"type": "library",
"license": "MIT",
"keywords": [
"php idn converter",
"php idna",
"php idna",
"domains",
"convert",
"to",
"punycode",
"covert",
"to",
"idna",
"php",
"library"
],
"homepage": "https://github.com/centralnicgroup-opensource/rtldev-middleware-php-idna-translator",
"require": {
"php": ">=7.4.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.9"
Expand Down Expand Up @@ -34,4 +52,4 @@
},
"minimum-stability": "stable",
"prefer-stable": true
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@
"node": ">=20.6.1"
},
"keywords": [
"idna",
"converter",
"idna",
"php idn converter",
"php idna",
"php idna",
"domains",
"convert",
"to",
"punycode",
"covert",
"to",
"idna",
"idna",
"php",
"library"
],
Expand Down
File renamed without changes.

0 comments on commit 1dc5c8a

Please sign in to comment.