Skip to content

Commit 6d9abc1

Browse files
RebolonBenjamin RICHARD
and
Benjamin RICHARD
authored
Update to Sf 5.2 + Angular 11 + better practices from ApiPlatform (#119)
Co-authored-by: Benjamin RICHARD <[email protected]>
1 parent 555127b commit 6d9abc1

File tree

244 files changed

+80403
-38186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+80403
-38186
lines changed

.env.dist

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ CORS_ALLOW_ORIGIN=^https?://localhost:?[0-9]*$
2222

2323
###> lexik/jwt-authentication-bundle ###
2424
# Key paths should be relative to the project directory
25-
JWT_PRIVATE_KEY_PATH=config/jwt/private.pem
26-
JWT_PUBLIC_KEY_PATH=config/jwt/public.pem
25+
# Take care sometime %kernel.project_dir% will cause JWT token generation failure, so you may need to remove them
26+
JWT_PRIVATE_KEY_PATH=%kernel.project_dir%/config/jwt/private.pem
27+
JWT_PUBLIC_KEY_PATH=%kernel.project_dir%/config/jwt/public.pem
2728
JWT_PASSPHRASE=77bb2a2d3f7dfdc1b5bd9b7b7f20b8c2
2829
###< lexik/jwt-authentication-bundle ###

.env.test

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# define your env variables for the test env here
2+
KERNEL_CLASS='App\Kernel'
3+
APP_SECRET='s$cretf0rt3st'
4+
SYMFONY_DEPRECATIONS_HELPER=999999
5+
6+
###> symfony/phpunit-bridge ###
7+
SYMFONY_PHPUNIT_VERSION=8
8+
###< symfony/phpunit-bridge ###
9+
10+
###> doctrine/doctrine-bundle ###
11+
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/test.db
12+
###< doctrine/doctrine-bundle ###
13+
14+
###> symfony/panther ###
15+
#PANTHER_CHROME_DRIVER_BINARY=
16+
###< symfony/panther ###

.gitignore

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/.idea/
2+
/public/build/
3+
/assets/js/lib/config.js
4+
/var/data/test.db
5+
/var/data/test.db.bkp
6+
/public/dist/
7+
/public/dist-ng/
8+
/public/service-worker.js
9+
/assets/js/angular/devxpress-angular/node_modules/
10+
/public/dist-ng-prod-with-service-worker
11+
112
###> php-sf-flex-webpack-encore-vuejs ###
213
/var/certificates
314
/var/data/main.db
@@ -17,24 +28,10 @@
1728
/node_modules/
1829
###< symfony/webpack-encore-pack ###
1930

20-
/.idea/
21-
/public/build/
22-
/assets/js/lib/config.js
23-
/testcafe.xunit.xml
24-
2531
###> friendsofphp/php-cs-fixer ###
2632
.php_cs
2733
.php_cs.cache
2834
###< friendsofphp/php-cs-fixer ###
29-
/var/data/test.db
30-
31-
/public/dist/
32-
/public/dist-ng/
33-
/public/service-worker.js
34-
35-
/assets/js/angular/devxpress-angular/node_modules/
36-
37-
/public/dist-ng-prod-with-service-worker
3835

3936
###> lexik/jwt-authentication-bundle ###
4037
/config/jwt/*.pem

.scrutinizer.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ build:
33
redis: false
44
postgresql: false
55
php:
6-
version: '7.1'
6+
version: '7.4'
77
node:
8-
version: '8.10.0'
8+
version: '15'
99
hosts:
1010
localhost: 127.0.0.1
1111
nodes:

.travis.yml

-66
This file was deleted.

0 commit comments

Comments
 (0)