Skip to content

Commit

Permalink
Update architecture (#241)
Browse files Browse the repository at this point in the history
* Move livewire components from Http to Livewire folder

* Add new config file and update admin layout and setup wire navigate

* Update Settings (layout and features)

* Update user profil features

* Update github workflows
  • Loading branch information
mckenziearts authored Mar 27, 2024
1 parent bd40dc6 commit 7763b8a
Show file tree
Hide file tree
Showing 814 changed files with 20,242 additions and 13,429 deletions.
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .github/FUNDING.yml
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/bug_report.md
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/config.yml
100644 → 100755
Empty file.
Empty file modified .github/SECURITY.md
100644 → 100755
Empty file.
Empty file modified .github/workflows/monorepo-split.yml
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/npm-build.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: yarn install --frozen-lockfile

- name: Build assets
run: yarn build
run: yarn run build

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/phpstan.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.1", "8.2"]
laravel: ["^9.0", "^10.0"]
php: [8.2]
laravel: [10.*]
dependencies: ["highest"]

name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}"
name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}"

runs-on: "ubuntu-latest"
runs-on: "ubuntu-latest"

steps:
- name: "Checkout code"
uses: "actions/checkout@v3"
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: "dom, curl, libxml, mbstring, zip, fileinfo"
tools: "composer:v2"
coverage: "none"
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: "dom, curl, libxml, mbstring, zip, fileinfo"
tools: "composer:v2"
coverage: "none"

- name: "Install dependencies from composer.json"
if: "matrix.dependencies != 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress"
- name: "Install dependencies from composer.json"
if: "matrix.dependencies != 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress"

- name: "Install lowest dependencies from composer.json"
if: "matrix.dependencies == 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress --prefer-lowest"
- name: "Install lowest dependencies from composer.json"
if: "matrix.dependencies == 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress --prefer-lowest"

- name: "Run PHPStan"
run: ./vendor/bin/phpstan
- name: "Run PHPStan"
run: ./vendor/bin/phpstan
Empty file modified .github/workflows/pint.yml
100644 → 100755
Empty file.
63 changes: 35 additions & 28 deletions .github/workflows/tests.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,38 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.2, 8.1]
laravel: [10.*, 9.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: intl, mbstring, pdo, pdo_sqlite
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: ./vendor/bin/pest --verbose
php: [8.2]
laravel: [10.*]
phpunit-versions: ['latest']
name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, intl, amqp, dba
tools: composer:v2, phpunit:${{ matrix.php }}

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-

- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --dev
composer update --prefer-stable --no-interaction --no-suggest
- name: Execute tests (Unit and Feature tests)
env:
APP_ENV: testing
DB_CONNECTION: testing
DB_DATABASE: ":memory:"
run: ./vendor/bin/pest --verbose
Empty file modified .github/workflows/update-changelog.yml
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.idea
/.vscode
/**/node_modules
/node_modules
/node_modules.nosync
yarn-error.log
/**/vendor
Expand Down
Empty file modified .prettierignore
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
5 changes: 4 additions & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
</a>
</p>

> [!CAUTION]
> This branch is Work In Progress and should not be considered production-ready.
## Introduction

[Shopper](https://laravelshopper.io) is an Admin Management build for Laravel 9.0+ which includes all the necessary for your online market application.
[Shopper](https://laravelshopper.io) is a Headless e-commerce Admin Panel build for Laravel 10.0+ which includes all the necessary for your online store application.
Web Application has made using Laravel. We feel building ecommerce websites has become a convoluted and confusing process that leaves developers unsatisfied.
We want to turn you around to the simpler side and get back to basics.

Expand Down
13 changes: 7 additions & 6 deletions composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,28 @@
"license": "MIT",
"keywords": [
"e-commerce",
"Tallstack",
"Store"
"tallstack",
"store"
],
"authors": [
{
"name": "Arthur Monney",
"email": "[email protected]"
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-intl": "*",
"composer-runtime-api": "^2.1"
},
"require-dev": {
"blade-ui-kit/blade-heroicons": "^1.2",
"blade-ui-kit/blade-heroicons": "^2.0",
"danharrin/livewire-rate-limiting": "^0.3|^1.0",
"doctrine/dbal": "^3.6",
"larastan/larastan": "^2.0",
"laravel/pint": "^1.1",
"laravel/framework": "^10.0|^11.0",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^5.11|^6.1",
"orchestra/testbench": "^7.0|^8.0",
Expand Down Expand Up @@ -70,7 +72,6 @@
}
},
"scripts": {
"baseline": "./vendor/bin/phpstan analyse --generate-baseline",
"pint": "./vendor/bin/pint",
"pest": "./vendor/bin/pest",
"stan": "./vendor/bin/phpstan analyse --memory-limit=1G"
Expand Down
Loading

0 comments on commit 7763b8a

Please sign in to comment.