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

refactor: migrate webpack mix to vite #857

Merged
merged 42 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7a8c2bb
chore: use pnpm instead of yarn
alexbarnsley Apr 23, 2024
a243659
chore: update public
alexbarnsley Apr 23, 2024
0a24ff5
update workflows
alexbarnsley Apr 23, 2024
03d36d4
update lock file to pnpm v9
alexbarnsley Apr 23, 2024
1560319
wip
alexbarnsley Apr 23, 2024
835e5bf
add missing packages
alexbarnsley Apr 23, 2024
11d3a9c
chore: update public
alexbarnsley Apr 23, 2024
489d9b2
remove env from example
alexbarnsley Apr 23, 2024
62ee4f8
refactor: migrate webpack mix to vite
alexbarnsley Apr 23, 2024
c7ef070
chore: update public
alexbarnsley Apr 23, 2024
3c82609
remove webpack mix public
alexbarnsley Apr 23, 2024
f29dcd4
remove unused packages
alexbarnsley Apr 23, 2024
02f6150
scrub
alexbarnsley Apr 23, 2024
0a4b922
Optimize 1 SVG(s)
alexbarnsley Apr 23, 2024
38f4956
style: resolve style guide violations
ItsANameToo Apr 23, 2024
b40daaa
style: resolve style guide violations
ItsANameToo Apr 23, 2024
7abe5d9
update workflow build commands
alexbarnsley Apr 23, 2024
5e55d85
chore: rebuild assets
alexbarnsley Apr 23, 2024
b0e5ada
Optimize 1 SVG(s)
ItsANameToo Apr 23, 2024
f077de3
chore: rebuild assets
ItsANameToo Apr 23, 2024
7d669b4
Optimize 1 SVG(s)
ItsANameToo Apr 23, 2024
4becee0
chore: rebuild assets
ItsANameToo Apr 23, 2024
1476c1a
chore: stanley
alexbarnsley Apr 23, 2024
370e85e
Optimize 1 SVG(s)
alexbarnsley Apr 23, 2024
436ae36
chore: rebuild assets
alexbarnsley Apr 23, 2024
522a872
Optimize 1 SVG(s)
ItsANameToo Apr 23, 2024
7632ea2
chore: rebuild assets
ItsANameToo Apr 23, 2024
5dd5979
Optimize 1 SVG(s)
ItsANameToo Apr 23, 2024
59841b7
chore: rebuild assets
ItsANameToo Apr 23, 2024
d35b08d
ignore svgs in public vite build folder
alexbarnsley Apr 23, 2024
bcdb800
fix logo
alexbarnsley Apr 23, 2024
dc4cb2a
move exchange sorting initialisation
alexbarnsley Apr 24, 2024
073cb4d
fix test segmentation fault
alexbarnsley Apr 24, 2024
58c2b77
fix test segmentation fault
alexbarnsley Apr 24, 2024
0ec9f96
chore: update foundation dependency
alexbarnsley Apr 24, 2024
6a7b072
Merge remote-tracking branch 'origin/develop' into refactor/migrate-w…
alexbarnsley Apr 24, 2024
7f99e63
chore: update public
alexbarnsley Apr 24, 2024
fb52004
handle ssl in vite config
alexbarnsley Apr 24, 2024
2546940
add vite_host to .env.example
alexbarnsley Apr 24, 2024
3e95b45
downgrade phpdocumentor/reflection-docblock to 5.3
alexbarnsley Apr 24, 2024
e99c6ba
Merge remote-tracking branch 'origin/develop' into refactor/migrate-w…
alexbarnsley Apr 24, 2024
8581009
Merge branch 'develop' into refactor/migrate-webpack-mix-to-vite
ItsANameToo Apr 25, 2024
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
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ ARKSCAN_PRODUCTIVITY_DANGER=97
ARKSCAN_PRODUCTIVITY_WARNING=99.8
ARKSCAN_PAGINATION_PER_PAGE=25

MIX_NOTIFICATIONS_DISABLED=false

ARKCONNECT_ENABLED=false

VITE_HOST=localhost
4 changes: 2 additions & 2 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: pnpm i --frozen-lockfile

- name: Rebuild assets
run: pnpm prod
run: pnpm build

- name: Create Pull Request
id: cpr
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: pnpm i --frozen-lockfile

- name: Rebuild assets
run: pnpm prod
run: pnpm build

- name: Create Pull Request
id: cpr
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
uses: ericcornelissen/svgo-action@v3
id: svgo
with:
ignore: public/vendor/**/*.svg
ignore: public/build/assets/*.svg
repo-token: ${{ secrets.GH_TOKEN }}
svgo-config: .svgo.js

Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
run: pnpm i --frozen-lockfile

- name: Build
run: pnpm prod
run: pnpm build

- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions app/Providers/BladeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use App\View\Components\TableSkeleton;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Vite;
use Illuminate\Support\ServiceProvider;

final class BladeServiceProvider extends ServiceProvider
Expand All @@ -18,5 +19,6 @@ final class BladeServiceProvider extends ServiceProvider
public function boot()
{
Blade::component('table-skeleton', TableSkeleton::class);
Vite::macro('image', fn (string $asset) => Vite::asset("resources/images/{$asset}"));
}
}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"ext-gmp": "*",
"ardenthq/arkvault-url": "^1.1",
"arkecosystem/crypto": "^1.8",
"arkecosystem/foundation": "^14.0",
"arkecosystem/foundation": "^15.0",
"blade-ui-kit/blade-icons": "^1.5",
"brick/math": "^0.11",
"danharrin/livewire-rate-limiting": "1.1.0",
Expand All @@ -35,6 +35,7 @@
"barryvdh/laravel-debugbar": "^3.9",
"furqansiddiqui/bip39-mnemonic-php": "^0.1",
"laravel/dusk": "^8.0",
"phpdocumentor/reflection-docblock": "5.3.0",
"spatie/laravel-ignition": "^2.4",
"wnx/laravel-stats": "^2.12"
},
Expand Down
Loading
Loading