Skip to content

Commit dda780f

Browse files
committed
Merge branch 'master' of github.com:craftcms/craft
# Conflicts: # README.md # templates/index.html
2 parents e4f1540 + 268b9b4 commit dda780f

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@
3434
}
3535
},
3636
"scripts": {
37-
"post-root-package-install": [
38-
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
39-
],
4037
"post-create-project-cmd": [
38+
"@php -r \"copy('.env.example', '.env');\"",
39+
"@php -r \"unlink('composer.json');\"",
40+
"@php -r \"unlink('LICENSE.md');\"",
41+
"@php -r \"unlink('README.md');\"",
42+
"@php -r \"rename('composer.json.default', 'composer.json');\"",
4143
"@composer dump-autoload -o",
4244
"@php craft setup/welcome"
4345
]

composer.json.default

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"require": {
3+
"craftcms/cms": "^3.0.0",
4+
"vlucas/phpdotenv": "^2.4.0"
5+
},
6+
"autoload": {
7+
"psr-4": {
8+
"modules\\": "modules/"
9+
}
10+
},
11+
"config": {
12+
"optimize-autoloader": true,
13+
"platform": {
14+
"php": "7.0"
15+
}
16+
},
17+
"scripts": {
18+
"post-root-package-install": [
19+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
20+
]
21+
}
22+
}

config/redactor/Standard.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"buttons": ["formatting", "bold", "italic", "unorderedlist", "orderedlist", "link", "image", "video"],
33
"plugins": ["fullscreen", "video"],
4+
"linkNewTab": true,
45
"toolbarFixed": true
56
}

0 commit comments

Comments
 (0)