Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 56468ba

Browse files
style: Apply fixes from StyleCI (#4)
Co-authored-by: Mitul Golakiya <mitulgolakiya@users.noreply.github.com>
1 parent cd3a348 commit 56468ba

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎src/CoreUIPreset.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public function __construct(Command $command)
3030
protected static function updatePackageArray(array $packages)
3131
{
3232
return [
33-
'bootstrap' => '^4.1.0',
34-
'jquery' => '^3.2',
35-
'popper.js' => '^1.12',
36-
'sass' => '^1.15.2',
37-
'sass-loader' => '^8.0.0',
38-
'@coreui/coreui' => '^3.2.2',
39-
'@coreui/icons' => '^1.0.1',
40-
] + $packages;
33+
'bootstrap' => '^4.1.0',
34+
'jquery' => '^3.2',
35+
'popper.js' => '^1.12',
36+
'sass' => '^1.15.2',
37+
'sass-loader' => '^8.0.0',
38+
'@coreui/coreui' => '^3.2.2',
39+
'@coreui/icons' => '^1.0.1',
40+
] + $packages;
4141
}
4242

4343
public function install()
@@ -58,7 +58,7 @@ protected static function updateSass()
5858
{
5959
(new Filesystem())->ensureDirectoryExists(resource_path('sass'));
6060

61-
copy(__DIR__ . '/../coreui-stubs/bootstrap/app.scss', resource_path('sass/app.scss'));
61+
copy(__DIR__.'/../coreui-stubs/bootstrap/app.scss', resource_path('sass/app.scss'));
6262
}
6363

6464
/**
@@ -68,7 +68,7 @@ protected static function updateSass()
6868
*/
6969
protected static function updateWebpackConfiguration()
7070
{
71-
copy(__DIR__ . '/../coreui-stubs/bootstrap/webpack.mix.js', base_path('webpack.mix.js'));
71+
copy(__DIR__.'/../coreui-stubs/bootstrap/webpack.mix.js', base_path('webpack.mix.js'));
7272
}
7373

7474
/**
@@ -78,8 +78,8 @@ protected static function updateWebpackConfiguration()
7878
*/
7979
protected static function updateBootstrapping()
8080
{
81-
copy(__DIR__ . '/../coreui-stubs/bootstrap/bootstrap.js', resource_path('js/bootstrap.js'));
82-
copy(__DIR__ . '/../coreui-stubs/bootstrap/app.js', resource_path('js/app.js'));
81+
copy(__DIR__.'/../coreui-stubs/bootstrap/bootstrap.js', resource_path('js/bootstrap.js'));
82+
copy(__DIR__.'/../coreui-stubs/bootstrap/app.js', resource_path('js/app.js'));
8383
}
8484

8585
public function installAuth()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /