-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 69fe65a
Showing
191 changed files
with
23,464 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { | ||
"targets": { | ||
"node": "6" | ||
} | ||
}] | ||
], | ||
"plugins": [ | ||
["@babel/plugin-proposal-object-rest-spread", { | ||
"useBuiltIns": true | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
**/*.log | ||
**/*.md | ||
**/*.php~ | ||
**/._* | ||
**/.dockerignore | ||
**/.DS_Store | ||
**/.git/ | ||
**/.gitattributes | ||
**/.github | ||
**/.gitignore | ||
**/.gitkeep | ||
**/.gitmodules | ||
**/.idea | ||
**/Dockerfile | ||
**/Thumbs.db | ||
**/docker-compose*.yaml | ||
**/docker-compose*.yml | ||
.editorconfig | ||
.php_cs.cache | ||
.travis.yml | ||
composer.phar | ||
docker/mysql/data/ | ||
etc/build/* | ||
node_modules/ | ||
var/* | ||
vendor/ | ||
public/assets/ | ||
public/build/ | ||
public/bundles/ | ||
public/css/ | ||
public/js/ | ||
public/media/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.feature] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = false | ||
|
||
[*.neon] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.sh] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{yaml,yml}] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = false | ||
|
||
[docker-compose.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
[docker-compose.*.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
[.babelrc] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[.gitmodules] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[.php_cs{,.dist}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[composer.json] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[package.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[phpspec.yml{,.dist}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[phpstan.neon] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[phpunit.xml{,.dist}] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This file is a "template" of which env vars needs to be defined in your configuration or in an .env file | ||
# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production. | ||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||
|
||
###> symfony/framework-bundle ### | ||
APP_ENV=dev | ||
APP_DEBUG=1 | ||
APP_SECRET=EDITME | ||
###< symfony/framework-bundle ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# Choose one of the following DBMS, adjust the server version and charset if needed | ||
DATABASE_URL=mysql://[email protected]/sylius_%kernel.environment%?serverVersion=8&charset=utf8mb4 | ||
#DATABASE_URL=pgsql://postgres:[email protected]/sylius_%kernel.environment%?serverVersion=15&charset=utf8 | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> symfony/messenger ### | ||
# Choose one of the transports below | ||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages | ||
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages | ||
MESSENGER_TRANSPORT_DSN=doctrine://default | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_DSN=doctrine://default | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN=doctrine://default?queue_name=main_failed | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN=doctrine://default?queue_name=catalog_promotion_removal | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_DSN=doctrine://default?queue_name=catalog_promotion_removal_failed | ||
###< symfony/messenger ### | ||
|
||
###> lexik/jwt-authentication-bundle ### | ||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem | ||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem | ||
JWT_PASSPHRASE=e7c5fca1060bdf6ad23c33e4c236081f | ||
###< lexik/jwt-authentication-bundle ### | ||
|
||
###> symfony/mailer ### | ||
MAILER_DSN=null://null | ||
###< symfony/mailer ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
APP_ENV=prod | ||
APP_DEBUG=0 | ||
APP_SECRET='s$cretf0rt3st' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
APP_SECRET='s$cretf0rt3st' | ||
|
||
KERNEL_CLASS='App\Kernel' | ||
|
||
###> lexik/jwt-authentication-bundle ### | ||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private-test.pem | ||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public-test.pem | ||
JWT_PASSPHRASE=ALL_THAT_IS_GOLD_DOES_NOT_GLITTER_NOT_ALL_THOSE_WHO_WANDER_ARE_LOST | ||
###< lexik/jwt-authentication-bundle ### | ||
|
||
###> symfony/messenger ### | ||
# Sync transport turned for testing env for the ease of testing | ||
MESSENGER_TRANSPORT_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_DSN=sync:// | ||
###< symfony/messenger ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
APP_DEBUG=0 | ||
APP_SECRET='s$cretf0rt3st' | ||
|
||
KERNEL_CLASS='App\Kernel' | ||
|
||
###> lexik/jwt-authentication-bundle ### | ||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private-test.pem | ||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public-test.pem | ||
JWT_PASSPHRASE=ALL_THAT_IS_GOLD_DOES_NOT_GLITTER_NOT_ALL_THOSE_WHO_WANDER_ARE_LOST | ||
###< lexik/jwt-authentication-bundle ### | ||
|
||
###> symfony/messenger ### | ||
# Sync transport turned for testing env for the ease of testing | ||
MESSENGER_TRANSPORT_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN=sync:// | ||
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_DSN=sync:// | ||
###< symfony/messenger ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
extends: 'airbnb-base', | ||
env: { | ||
node: true, | ||
}, | ||
rules: { | ||
'object-shorthand': ['error', 'always', { | ||
avoidQuotes: true, | ||
avoidExplicitReturnArrows: true, | ||
}], | ||
'function-paren-newline': ['error', 'consistent'], | ||
'max-len': ['warn', 120, 2, { | ||
ignoreUrls: true, | ||
ignoreComments: false, | ||
ignoreRegExpLiterals: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
}], | ||
}, | ||
}; |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @Sylius/core-team @Sylius/development-team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Maintenance: ['etc/', '.github/', '*.md'] | ||
Docker: ['docker/', '.docker/', 'Dockerfile', 'docker-compose.*'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: composer | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "10:00" | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: stripe/stripe-php | ||
versions: | ||
- 7.69.0 | ||
- 7.70.0 | ||
- 7.72.0 | ||
- 7.73.0 | ||
- 7.74.0 | ||
- 7.75.0 | ||
- 7.76.0 | ||
- dependency-name: sylius-labs/coding-standard | ||
versions: | ||
- 4.0.1 | ||
- dependency-name: sylius/sylius | ||
versions: | ||
- 1.9.0 | ||
- dependency-name: phpstan/phpstan | ||
versions: | ||
- 0.12.70 | ||
- 0.12.71 | ||
- 0.12.73 | ||
- dependency-name: phpstan/phpstan-webmozart-assert | ||
versions: | ||
- 0.12.10 | ||
- 0.12.11 | ||
- 0.12.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Auto-merge | ||
|
||
on: | ||
pull_request: ~ | ||
|
||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- | ||
name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- | ||
name: Auto-merge minor dependencies upgrades | ||
uses: ahmadnassri/action-dependabot-auto-merge@v2 | ||
with: | ||
target: minor | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
config: .github/dependabot.yml |
Oops, something went wrong.