Skip to content

Commit

Permalink
Remove version number from composer.json
Browse files Browse the repository at this point in the history
`composer validate` now throws a general warning:
"The version field is present, it is recommended to leave it out if the package is published on Packagist."

Although the package is not published on Packagist, but here we are. Composer was throwing a different error before, and that's why the version number was added.

Reverts commit a705191 #296
  • Loading branch information
spaze committed Jan 4, 2025
1 parent 53ccdd4 commit 91ea5c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "spaze/michalspacek.cz",
"type": "project",
"description": "Source code for my site",
"version": "1.3.3.7",
"license": "MIT",
"require": {
"php": "^8.3",
Expand Down
2 changes: 1 addition & 1 deletion app/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions app/vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'spaze/michalspacek.cz',
'pretty_version' => '1.3.3.7',
'version' => '1.3.3.7',
'reference' => null,
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '53ccdd4e3bfed40f4fe0a708fec39406a888c21a',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -466,9 +466,9 @@
'dev_requirement' => false,
),
'spaze/michalspacek.cz' => array(
'pretty_version' => '1.3.3.7',
'version' => '1.3.3.7',
'reference' => null,
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '53ccdd4e3bfed40f4fe0a708fec39406a888c21a',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down

0 comments on commit 91ea5c8

Please sign in to comment.