-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
20 changed files
with
122 additions
and
49 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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_ENV=test | ||
DATABASE_URL=mysql://root:@127.0.0.1:3306/su_content_test?serverVersion=5.7 | ||
APP_ENV=dev | ||
DATABASE_URL=mysql://root:ChangeMe@127.0.0.1:3306/su_content_dev?serverVersion=5.7 | ||
DATABASE_CHARSET=utf8mb4 | ||
DATABASE_COLLATE=utf8mb4_unicode_ci |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
DATABASE_URL=mysql://root:ChangeMe@127.0.0.1:3306/su_content_test?serverVersion=8.0 |
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 @@ | ||
last 2 versions and not dead | ||
not ie < 12 | ||
not ie_mob < 12 |
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,15 @@ | ||
# the package.json in this folder uses a preinstall and postinstall script for symlinking the javascript code of the | ||
# sulu/sulu package into the node_modules directory: https://github.com/sulu/sulu/blob/2.x/symlink-vendor-directory.js | ||
# when executing npm as root (eg. inside a docker container), npm will drop permissions when executing these scripts | ||
# and therefore the symlink cannot be created. to prevent dropping permissions, we enable the "unsafe-perm" setting | ||
# https://docs.npmjs.com/cli/v6/using-npm/scripts#user | ||
unsafe-perm=true | ||
|
||
# the javascript setup in this folder is not compatible with npm 7: https://github.com/sulu/skeleton/issues/88 | ||
# to display a helpful error message if an incompatible version is used, we enable the "engine-strict" setting | ||
engine-strict=true | ||
|
||
# unfortunately, npm 7 tries to resolve the dependency tree before validating the "engines" section of the | ||
# package.json. to display a helpful message instead of a confusing dependency tree error when using npm 7, we enable | ||
# the "legacy-peer-deps" setting: https://github.com/sulu/skeleton/issues/133#issuecomment-907271497 | ||
legacy-peer-deps=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 @@ | ||
// Add project specific javascript code and import of additional bundles here: |
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 |
---|---|---|
@@ -1,9 +1,14 @@ | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react"], | ||
"presets": [ | ||
["@babel/preset-env", {"useBuiltIns": "usage", "corejs": "3.18"}], | ||
"@babel/preset-react" | ||
], | ||
"plugins": [ | ||
["@babel/plugin-proposal-decorators", {"legacy": true}], | ||
"@babel/plugin-proposal-object-rest-spread", | ||
"@babel/plugin-transform-flow-strip-types", | ||
["@babel/plugin-proposal-class-properties", {"loose": true}] | ||
] | ||
"@babel/plugin-proposal-class-properties" | ||
], | ||
"assumptions": { | ||
"setPublicClassFields": 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
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
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
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
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 @@ | ||
version: '3' | ||
|
||
services: | ||
###> symfony/mailer ### | ||
mailer: | ||
image: schickling/mailcatcher | ||
ports: [1025, 1080] | ||
###< symfony/mailer ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
database: | ||
ports: | ||
- "3306:3306" | ||
###< doctrine/doctrine-bundle ### |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
version: '3' | ||
|
||
services: | ||
###> doctrine/doctrine-bundle ### | ||
database: | ||
# arm compatible mysql docker image | ||
image: mysql/mysql-server:${MYSQL_VERSION:-8.0} # arm and x86/x64 compatible mysql image | ||
environment: | ||
MYSQL_DATABASE: ${MYSQL_DATABASE:-su_content_dev} | ||
# You should definitely change the password in production | ||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-ChangeMe} | ||
MYSQL_ROOT_HOST: '%' | ||
volumes: | ||
- db-data:/var/lib/mysql | ||
# You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data! | ||
# - ./docker/db/data:/var/lib/mysql:rw | ||
###< doctrine/doctrine-bundle ### | ||
|
||
volumes: | ||
###> doctrine/doctrine-bundle ### | ||
db-data: | ||
###< doctrine/doctrine-bundle ### |
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
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