Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[maintenance] - Ignore yarn.lock file #873

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

Ferror
Copy link
Contributor

@Ferror Ferror commented Nov 15, 2022

PR Related with #872

@Ferror Ferror requested a review from a team as a code owner November 15, 2022 17:15
@probot-autolabeler probot-autolabeler bot added the Docker Docker-related issues and PRs. label Nov 15, 2022
@vvasiloi
Copy link
Contributor

vvasiloi commented Nov 15, 2022

We should probably think about automatically removing it from .gitignore when a new project is created.
Here's a proposed solution for the composer.lock: #855

@@ -93,7 +93,7 @@ RUN set -eux; \
;

# prevent the reinstallation of vendors at every changes in the source code
COPY package.json yarn.lock ./
COPY package.json yarn.* ./
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
COPY package.json yarn.* ./
COPY package.json yar[n].lock ./

is a safer option to avoid having errors for a non-existent file but it looks strange 😄

@lchrusciel lchrusciel merged commit 1b6a08f into Sylius:1.12 Nov 30, 2022
@Ferror Ferror deleted the ignore-yarn-lock branch December 1, 2022 13:11
frozenpixel added a commit to frozenpixel/Sylius-Celletech that referenced this pull request Jul 7, 2023
v1.12.3

- [Sylius#873](Sylius#873) [maintenance] - Ignore yarn.lock file ([@Ferror](https://github.com/Ferror))
- [Sylius#861](Sylius#861) [docker] - Bug fix for cron container ([@Ferror](https://github.com/Ferror))
- [Sylius#860](Sylius#860) [docker] - Enable cron container to wait for migrations ([@Ferror](https://github.com/Ferror))
- [Sylius#871](Sylius#871) Use @sylius-ui/frontend npm package ([@jakubtobiasz](https://github.com/jakubtobiasz))
- [Sylius#891](Sylius#891) [Maintenance] PHP Attributes in the Entity classes ([@Rafikooo](https://github.com/Rafikooo))
- [Sylius#855](Sylius#855) [Composer] Remove composer.lock from .gitignore after creating the project ([@artyuum](https://github.com/artyuum))
- [Sylius#899](Sylius#899) Fix builds ([@coldic3](https://github.com/coldic3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker Docker-related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants