-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
14 changed files
with
15,720 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Ignores Mac metadata. You can configure this globally if you use a Mac: http://islegend.com/development/setting-global-gitignore-mac-windows/ | ||
.DS_Store | ||
|
||
# Ignore developer resources | ||
_meta/ | ||
|
||
# Ignore lock files | ||
composer.lock | ||
|
||
# Ignore Composer vendor | ||
vendor/ | ||
|
||
# Ignore node modules | ||
node_modules/ | ||
|
||
# Ignore Coverage | ||
coverage/ |
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,12 @@ | ||
{ | ||
"recommendations": [ | ||
"junstyle.php-cs-fixer", | ||
"xdebug.php-debug", | ||
"neilbrayfield.php-docblocker", | ||
"bmewburn.vscode-intelephense-client", | ||
"sanderronde.phpstan-vscode", | ||
"Vue.volar", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
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 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Listen for XDebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9000, | ||
"log": false, | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
"cSpell.words": ["axios", "pinia", "Sprunjer"] | ||
} |
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,244 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
/** | ||
* Main task - Serve the UserFrosting instance | ||
*/ | ||
{ | ||
"label": "==> Serve", | ||
"dependsOn": [ | ||
"Workspace - Bakery Serve", | ||
"Skeleton - Vite Dev" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
|
||
/** | ||
* Workspace NPM Tasks | ||
*/ | ||
{ | ||
"label": "Workspace - npm install", | ||
"type": "shell", | ||
"command": "npm install" | ||
}, | ||
{ | ||
"label": "Workspace - npm update", | ||
"type": "shell", | ||
"command": "npm update" | ||
}, | ||
|
||
/** | ||
* PHP Workspace Tasks | ||
*/ | ||
{ | ||
"label": "Workspace - Bakery Serve", | ||
"type": "shell", | ||
"command": "php bakery serve" | ||
}, | ||
{ | ||
"label": "Workspace - Composer Update", | ||
"type": "shell", | ||
"command": "composer update" | ||
}, | ||
{ | ||
"label": "Workspace - Merge composer.json", | ||
"type": "shell", | ||
"command": "vendor/bin/monorepo-builder merge" | ||
}, | ||
{ | ||
"label": "Workspace - Composer Validate", | ||
"type": "shell", | ||
"command": "vendor/bin/monorepo-builder validate" | ||
}, | ||
|
||
/** | ||
* Git Submodule Tasks | ||
*/ | ||
{ | ||
"label": "Git Submodule - Init", | ||
"type": "shell", | ||
"command": "git submodule update --init" | ||
}, | ||
{ | ||
"label": "Git Submodule - Update from Git", | ||
"type": "shell", | ||
"command": "git submodule update --remote --merge" | ||
}, | ||
|
||
/** | ||
* All workspaces NPM Tasks | ||
*/ | ||
{ | ||
"label": "All Packages - Format", | ||
"type": "shell", | ||
"command": "npm run --workspaces format" | ||
}, | ||
{ | ||
"label": "All Packages - Type Check", | ||
"type": "shell", | ||
"command": "npm run --workspaces typecheck" | ||
}, | ||
{ | ||
"label": "All Packages - Tests", | ||
"type": "shell", | ||
"command": "npm run test" | ||
}, | ||
{ | ||
"label": "All Packages - Coverage", | ||
"type": "shell", | ||
"command": "npm run coverage" | ||
}, | ||
|
||
/** | ||
* UserFrosting (skeleton) NPM Tasks | ||
*/ | ||
{ | ||
"label": "Skeleton - Vite Dev", | ||
"type": "shell", | ||
"command": "npm run --workspace=userfrosting vite:dev" | ||
}, | ||
{ | ||
"label": "Skeleton - Vite Build", | ||
"type": "shell", | ||
"command": "npm run --workspace=userfrosting vite:build" | ||
}, | ||
|
||
/** | ||
* Theme Pink Cupcake NPM Tasks | ||
*/ | ||
{ | ||
"label": "Pink Cupcake - Build", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake build" | ||
}, | ||
{ | ||
"label": "Pink Cupcake - Type Check", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake typecheck" | ||
}, | ||
{ | ||
"label": "Pink Cupcake - Format", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake format" | ||
}, | ||
{ | ||
"label": "Pink Cupcake - Test", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake test" | ||
}, | ||
{ | ||
"label": "Pink Cupcake - Coverage", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake coverage" | ||
}, | ||
{ | ||
"label": "Pink Cupcake - Lint", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/theme-pink-cupcake lint" | ||
}, | ||
|
||
/** | ||
* Sprinkle Core NPM Tasks | ||
*/ | ||
{ | ||
"label": "Core - Build", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core build" | ||
}, | ||
{ | ||
"label": "Core - Type Check", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core typecheck" | ||
}, | ||
{ | ||
"label": "Core - Format", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core format" | ||
}, | ||
{ | ||
"label": "Core - Test", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core test" | ||
}, | ||
{ | ||
"label": "Core - Coverage", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core coverage" | ||
}, | ||
{ | ||
"label": "Core - Lint", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-core lint" | ||
}, | ||
|
||
/** | ||
* Sprinkle Account NPM Tasks | ||
*/ | ||
{ | ||
"label": "Account - Build", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account build" | ||
}, | ||
{ | ||
"label": "Account - Type Check", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account typecheck" | ||
}, | ||
{ | ||
"label": "Account - Format", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account format" | ||
}, | ||
{ | ||
"label": "Account - Test", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account test" | ||
}, | ||
{ | ||
"label": "Account - Coverage", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account coverage" | ||
}, | ||
{ | ||
"label": "Account - Lint", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-account lint" | ||
}, | ||
|
||
/** | ||
* Sprinkle Admin NPM Tasks | ||
*/ | ||
{ | ||
"label": "Admin - Build", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin build" | ||
}, | ||
{ | ||
"label": "Admin - Type Check", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin typecheck" | ||
}, | ||
{ | ||
"label": "Admin - Format", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin format" | ||
}, | ||
{ | ||
"label": "Admin - Test", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin test" | ||
}, | ||
{ | ||
"label": "Admin - Coverage", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin coverage" | ||
}, | ||
{ | ||
"label": "Admin - Lint", | ||
"type": "shell", | ||
"command": "npm run --workspace=@userfrosting/sprinkle-admin lint" | ||
}, | ||
] | ||
} |
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,11 @@ | ||
# UserFrosting 6 WorkSpace | ||
|
||
## Setup | ||
|
||
https://github.com/symplify/monorepo-builder?tab=readme-ov-file | ||
|
||
## Working with SubModules | ||
|
||
## License | ||
|
||
The MIT License (MIT) |
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,36 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
/** | ||
* _ _ ______ _ _ | ||
* | | | | | ___| | | (_) | ||
* | | | |___ ___ _ __| |_ _ __ ___ ___| |_ _ _ __ __ _ | ||
* | | | / __|/ _ \ '__| _| '__/ _ \/ __| __| | '_ \ / _` | | ||
* | |_| \__ \ __/ | | | | | | (_) \__ \ |_| | | | | (_| | | ||
* \___/|___/\___|_| \_| |_| \___/|___/\__|_|_| |_|\__, | | ||
* __/ | | ||
* |___/ | ||
* UserFrosting (http://www.userfrosting.com) | ||
* | ||
* @link https://github.com/userfrosting/UserFrosting | ||
* @copyright Copyright (c) 2013-2024 Alexander Weissman & Louis Charette | ||
* @license https://github.com/userfrosting/UserFrosting/blob/master/LICENSE.md (MIT License) | ||
*/ | ||
|
||
/** | ||
* Require composer autoload file. Not having this file means Composer might not be installed / run | ||
*/ | ||
if (!file_exists(__DIR__ . '/vendor/autoload.php')) { | ||
die("ERROR :: File `".__DIR__."/vendor/autoload.php` not found. This indicate that composer has not yet been run on this install. Install composer and run `composer install` from the project root directory. Check the documentation for more details.\n"); | ||
} else { | ||
require_once __DIR__ . '/vendor/autoload.php'; | ||
} | ||
|
||
use UserFrosting\App\MyApp; | ||
use UserFrosting\Bakery\Bakery; | ||
|
||
/** | ||
* Get and run CLI App | ||
*/ | ||
$bakery = new Bakery(MyApp::class); | ||
$bakery->run(); |
Oops, something went wrong.