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

Changes between 1.1 and 1.2 #236

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8b0d6e7
Merge branch '1.1'
pamil Jan 12, 2018
2c37c42
Merge branch '1.1'
pamil Feb 2, 2018
f20f7fa
Merge branch '1.1'
pamil Feb 2, 2018
f4f5982
Upgrade to Sylius 1.2@dev
pamil Feb 2, 2018
a6227b5
Merge branch '1.1'
pamil Feb 11, 2018
af65944
Merge branch '1.1'
pamil Feb 12, 2018
c093ded
Merge branch '1.1'
pamil Feb 26, 2018
6c851b5
Merge branch '1.1'
pamil Apr 4, 2018
a02a5ed
Update to v1.2@dev
pamil Apr 4, 2018
a0bce96
Fix wrong branch-alias in composer.json
teohhanhui Apr 11, 2018
683eb0c
Merge pull request #225 from teohhanhui/fix/composer-branch-alias
pamil Apr 11, 2018
8248db6
Merge branch '1.1'
pamil Apr 12, 2018
0ce2047
Merge branch '1.1'
pamil Apr 12, 2018
405ddbd
Update to Sylius v1.2@dev
pamil Apr 12, 2018
eec980b
Merge branch '1.1'
pamil Apr 13, 2018
3696df7
Merge branch '1.1'
pamil May 22, 2018
b5b615b
Upgrade to gulp 4
teohhanhui May 22, 2018
0df8bac
Fix loading of LiipImagineBundle routing file
teohhanhui May 22, 2018
350c2a6
Merge pull request #228 from teohhanhui/upgrade/gulp-4
pamil May 23, 2018
dda5f87
Update to Sylius v1.2.0-BETA
pamil May 28, 2018
f0f12e9
Merge pull request #230 from pamil/beta
pamil May 28, 2018
fc498bf
Merge branch '1.1'
pamil May 31, 2018
110c2f0
Remove vendorPath command-line argument from root gulpfile
teohhanhui Jun 1, 2018
c18a869
Merge pull request #231 from teohhanhui/remove/gulpfile-vendorPath-ov…
pamil Jun 1, 2018
4b89eca
Update to Sylius v1.2.0-RC
pamil Jun 7, 2018
a874e79
Merge branch '1.1' into 1.2
pamil Jun 7, 2018
9f5d112
Merge branch '1.1' into 1.2
pamil Jun 11, 2018
5035fde
Upgrade Composer & Yarn dependencies
pamil Jun 11, 2018
2038eec
Update to Sylius v1.2.0
pamil Jun 12, 2018
dfefb88
Merge branch '1.1' into 1.2
pamil Jun 12, 2018
08e6f40
Test against both Symfony 3.4 and 4.1
pamil Jun 12, 2018
588a76f
Merge pull request #234 from pamil/1.2-test-sf41
pamil Jun 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"presets": [
["env", {
"targets": {
"node": "6"
},
"useBuiltIns": true
}]
],
"plugins": [
["transform-object-rest-spread", {
"useBuiltIns": true
}],
["transform-runtime", {
"helpers": true,
"polyfill": true,
"regenerator": true
}]
]
}
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: 'airbnb-base',
rules: {
'function-paren-newline': ['error', 'consistent'],
'max-len': ['warn', 120, 2, {
ignoreUrls: true,
ignoreComments: false,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
}],
},
};
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ env:
global:
- SYLIUS_CACHE_DIR=$HOME/.sylius-cache
- SYLIUS_BUILD_DIR=etc/build
matrix:
- SYMFONY_VERSION="3.4.*"
- SYMFONY_VERSION="4.1.*"

services:
- memcached
Expand All @@ -29,16 +32,16 @@ before_install:
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
- composer install --no-interaction --prefer-dist
- composer require "symfony/symfony:${SYMFONY_VERSION}" --no-interaction --prefer-dist
- yarn install

before_script:
- bin/console doctrine:database:create --env=test_cached -vvv # Have to be run with debug = true, to omit generating proxies before setting up the database
- bin/console cache:warmup --env=test_cached --no-debug -vvv
- bin/console doctrine:migrations:migrate --no-interaction --env=test_cached --no-debug -vvv

- bin/console assets:install --env=test_cached --no-debug -vvv
- yarn run gulp
- bin/console assets:install web --env=test_cached --no-debug -vvv
- yarn build

# Configure display
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1680x1050x16
Expand Down Expand Up @@ -67,7 +70,7 @@ before_script:
- java -Dwebdriver.chrome.driver=$SYLIUS_CACHE_DIR/chromedriver -jar $SYLIUS_CACHE_DIR/selenium.jar > /dev/null 2>&1 &

# Run webserver
- bin/console server:run 127.0.0.1:8080 --env=test_cached --router=app/config/router_test_cached.php --no-debug --quiet > /dev/null 2>&1 &
- bin/console server:run 127.0.0.1:8080 --env=test_cached --docroot=web --router=app/config/router_test_cached.php --no-debug --quiet > /dev/null 2>&1 &

script:
- composer validate --strict
Expand Down
24 changes: 0 additions & 24 deletions Gulpfile.js

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $ wget http://getcomposer.org/composer.phar
$ php composer.phar create-project sylius/sylius-standard project
$ cd project
$ yarn install
$ yarn run gulp
$ yarn build
$ php bin/console sylius:install
$ php bin/console server:start
$ open http://localhost:8000/
Expand Down
7 changes: 7 additions & 0 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ fos_rest:
rules:
- { path: '^/api', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }
- { path: '^/', stop: true }

liip_imagine:
resolvers:
default:
web_path:
web_root: "%kernel.project_dir%/web"
cache_prefix: "media/cache"
2 changes: 1 addition & 1 deletion app/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ sylius_shop_default_locale:
_controller: sylius.controller.shop.locale_switch:switchAction

_liip_imagine:
resource: '@LiipImagineBundle/Resources/config/routing.xml'
resource: '@LiipImagineBundle/Resources/config/routing.yaml'
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@
],
"require": {
"php": "^7.1",

"sylius/sylius": "1.1.*"

"sylius/sylius": "1.2.*",
"symfony/symfony": "^3.4|^4.1"
},
"require-dev": {
"behat/behat": "^3.4",
"behat/mink": "^1.7",
"behat/mink": "^1.7@dev",
"behat/mink-browserkit-driver": "^1.3",
"behat/mink-extension": "^2.2",
"behat/mink-selenium2-driver": "^1.3",
"friends-of-behat/context-service-extension": "^1.0",
"friends-of-behat/cross-container-extension": "^1.0",
"friends-of-behat/context-service-extension": "^1.2",
"friends-of-behat/cross-container-extension": "^1.1",
"friends-of-behat/service-container-extension": "^1.0",
"friends-of-behat/suite-settings-extension": "^1.0",
"friends-of-behat/symfony-extension": "^1.0",
"friends-of-behat/variadic-extension": "^1.0",
"friends-of-behat/symfony-extension": "^1.2.1",
"friends-of-behat/variadic-extension": "^1.1",
"lakion/api-test-case": "^3.0",
"lakion/mink-debug-extension": "^1.2.3",
"phpspec/phpspec": "^3.4",
"phpspec/phpspec": "^4.0",
"phpunit/phpunit": "^6.5",
"sensio/generator-bundle": "^3.1",
"stripe/stripe-php": "^4.1",
"sylius-labs/coding-standard": "^1.0"
"sylius-labs/coding-standard": "^2.0"
},
"prefer-stable": true,
"scripts": {
Expand Down Expand Up @@ -85,7 +85,7 @@
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "1.1-dev"
"dev-master": "1.2-dev"
}
}
}
Loading