diff --git a/.gitignore b/.gitignore index 08cebd3..ecd83cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ .dist/* node_modules littleskin/ -*/vendor +plugins/*/vendor plugin-test/ -*/assets/**/*.js +plugins/*/assets/**/*.js +plugins/*/assets/**/*.map .php_cs.cache composer.lock yarn-error.log diff --git a/.php_cs.dist b/.php_cs.dist index 9661960..4b8b334 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,9 +1,7 @@ exclude('node_modules') - ->exclude('.git') - ->in(__DIR__) + ->in(__DIR__.'/plugins') ; return PhpCsFixer\Config::create() diff --git a/build.ps1 b/build.ps1 index b5c3e02..75a37b5 100644 --- a/build.ps1 +++ b/build.ps1 @@ -23,7 +23,7 @@ function Get-Trans { $segment = $realKey.Split(".") $head = $segment[0] $filePath = if ($Plugin) { - "./$Plugin/lang/$Lang/$head.yml" + "./plugins/$Plugin/lang/$Lang/$head.yml" } else { "./lang/$Lang/$head.yml" @@ -54,19 +54,19 @@ $env:NODE_ENV = 'production' git clone "https://github.com/bs-community/plugins-dist.git" .dist $registry = Get-Content '.dist/registry-preview.json' | ConvertFrom-Json $packages = $registry.packages -$plugins = Get-ChildItem -Path . -Directory -Exclude @('node_modules', '.*') | ForEach-Object { $_.Name } +$plugins = Get-ChildItem -Path ./plugins -Directory | ForEach-Object { $_.Name } yarn build [PSCustomObject[]]$updated = @() foreach ($plugin in $plugins) { - Set-Location $plugin + Set-Location "./plugins/$plugin" $manifest = Get-Content "package.json" | ConvertFrom-Json $version = $manifest.version if ($packages | Where-Object { $_.name -eq $plugin -and $_.version -eq $version }) { - Set-Location '..' + Set-Location '../../' continue } @@ -96,11 +96,14 @@ foreach ($plugin in $plugins) { if (Test-Path 'composer.json') { composer install + Remove-Item 'composer.json' -Force + Remove-Item 'composer.lock' -Force } Set-Location '..' - zip -9 -r ".dist/${plugin}_$version.zip" $plugin + zip -9 -r "../.dist/${plugin}_$version.zip" $plugin + Set-Location '..' } ConvertTo-Json $updated | Out-File -FilePath 'updated.json' diff --git a/create.ps1 b/create.ps1 index 892aa22..8305cca 100644 --- a/create.ps1 +++ b/create.ps1 @@ -45,6 +45,7 @@ $manifest = [PSCustomObject]@{ } } +Set-Location ./plugins New-Item "./$Id/src" -ItemType Directory | Out-Null New-Item "./$Id/lang/en" -ItemType Directory | Out-Null New-Item "./$Id/lang/zh_CN" -ItemType Directory | Out-Null @@ -64,3 +65,5 @@ if ($Asset) { if ($Lang) { New-Item "./$Id/lang" -ItemType Directory | Out-Null } + +Set-Location .. diff --git a/gulpfile.ts b/gulpfile.ts deleted file mode 100644 index 3aa87d0..0000000 --- a/gulpfile.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { src, dest, watch } from 'gulp' - -export function copy() { - const destPath = process.env.DEST || '../blessing-skin-server/public/plugins' - return src('*/assets/**/*.*').pipe(dest(destPath)) -} - -export function dev() { - watch('*/assets/**/*.*', { ignoreInitial: false, ignored: ['**/*.ts'] }, copy) -} diff --git a/package.json b/package.json index 3d2822f..7f1fdeb 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ }, "private": true, "workspaces": [ - "config-generator", - "restricted-email-domains" + "plugins/*" ], "scripts": { "dev": "webpack -d -w", diff --git a/204-for-unexisted-players/bootstrap.php b/plugins/204-for-unexisted-players/bootstrap.php similarity index 100% rename from 204-for-unexisted-players/bootstrap.php rename to plugins/204-for-unexisted-players/bootstrap.php diff --git a/204-for-unexisted-players/lang/en/general.yml b/plugins/204-for-unexisted-players/lang/en/general.yml similarity index 100% rename from 204-for-unexisted-players/lang/en/general.yml rename to plugins/204-for-unexisted-players/lang/en/general.yml diff --git a/204-for-unexisted-players/lang/zh_CN/general.yml b/plugins/204-for-unexisted-players/lang/zh_CN/general.yml similarity index 100% rename from 204-for-unexisted-players/lang/zh_CN/general.yml rename to plugins/204-for-unexisted-players/lang/zh_CN/general.yml diff --git a/204-for-unexisted-players/package.json b/plugins/204-for-unexisted-players/package.json similarity index 100% rename from 204-for-unexisted-players/package.json rename to plugins/204-for-unexisted-players/package.json diff --git a/204-for-unexisted-players/src/Middleware.php b/plugins/204-for-unexisted-players/src/Middleware.php similarity index 100% rename from 204-for-unexisted-players/src/Middleware.php rename to plugins/204-for-unexisted-players/src/Middleware.php diff --git a/authme-integration/README.md b/plugins/authme-integration/README.md similarity index 100% rename from authme-integration/README.md rename to plugins/authme-integration/README.md diff --git a/authme-integration/bootstrap.php b/plugins/authme-integration/bootstrap.php similarity index 100% rename from authme-integration/bootstrap.php rename to plugins/authme-integration/bootstrap.php diff --git a/authme-integration/callbacks.php b/plugins/authme-integration/callbacks.php similarity index 100% rename from authme-integration/callbacks.php rename to plugins/authme-integration/callbacks.php diff --git a/authme-integration/package.json b/plugins/authme-integration/package.json similarity index 100% rename from authme-integration/package.json rename to plugins/authme-integration/package.json diff --git a/authme-integration/src/Cipher/SALTED2MD5.php b/plugins/authme-integration/src/Cipher/SALTED2MD5.php similarity index 100% rename from authme-integration/src/Cipher/SALTED2MD5.php rename to plugins/authme-integration/src/Cipher/SALTED2MD5.php diff --git a/authme-integration/src/Cipher/SALTED2SHA512.php b/plugins/authme-integration/src/Cipher/SALTED2SHA512.php similarity index 100% rename from authme-integration/src/Cipher/SALTED2SHA512.php rename to plugins/authme-integration/src/Cipher/SALTED2SHA512.php diff --git a/authme-integration/src/Cipher/SHA256.php b/plugins/authme-integration/src/Cipher/SHA256.php similarity index 100% rename from authme-integration/src/Cipher/SHA256.php rename to plugins/authme-integration/src/Cipher/SHA256.php diff --git a/authme-integration/src/Listener/HashAlgorithms.php b/plugins/authme-integration/src/Listener/HashAlgorithms.php similarity index 100% rename from authme-integration/src/Listener/HashAlgorithms.php rename to plugins/authme-integration/src/Listener/HashAlgorithms.php diff --git a/authme-integration/src/Listener/SyncWithAuthme.php b/plugins/authme-integration/src/Listener/SyncWithAuthme.php similarity index 100% rename from authme-integration/src/Listener/SyncWithAuthme.php rename to plugins/authme-integration/src/Listener/SyncWithAuthme.php diff --git a/batch-import/README.md b/plugins/batch-import/README.md similarity index 100% rename from batch-import/README.md rename to plugins/batch-import/README.md diff --git a/batch-import/bootstrap.php b/plugins/batch-import/bootstrap.php similarity index 100% rename from batch-import/bootstrap.php rename to plugins/batch-import/bootstrap.php diff --git a/batch-import/lang/en/general.yml b/plugins/batch-import/lang/en/general.yml similarity index 100% rename from batch-import/lang/en/general.yml rename to plugins/batch-import/lang/en/general.yml diff --git a/batch-import/lang/zh_CN/general.yml b/plugins/batch-import/lang/zh_CN/general.yml similarity index 100% rename from batch-import/lang/zh_CN/general.yml rename to plugins/batch-import/lang/zh_CN/general.yml diff --git a/batch-import/package.json b/plugins/batch-import/package.json similarity index 100% rename from batch-import/package.json rename to plugins/batch-import/package.json diff --git a/batch-import/src/ImportCommand.php b/plugins/batch-import/src/ImportCommand.php similarity index 100% rename from batch-import/src/ImportCommand.php rename to plugins/batch-import/src/ImportCommand.php diff --git a/config-generator/assets/generator.ts b/plugins/config-generator/assets/generator.ts similarity index 100% rename from config-generator/assets/generator.ts rename to plugins/config-generator/assets/generator.ts diff --git a/config-generator/assets/types.d.ts b/plugins/config-generator/assets/types.d.ts similarity index 100% rename from config-generator/assets/types.d.ts rename to plugins/config-generator/assets/types.d.ts diff --git a/config-generator/bootstrap.php b/plugins/config-generator/bootstrap.php similarity index 100% rename from config-generator/bootstrap.php rename to plugins/config-generator/bootstrap.php diff --git a/config-generator/lang/en/config.yml b/plugins/config-generator/lang/en/config.yml similarity index 100% rename from config-generator/lang/en/config.yml rename to plugins/config-generator/lang/en/config.yml diff --git a/config-generator/lang/en/general.yml b/plugins/config-generator/lang/en/general.yml similarity index 100% rename from config-generator/lang/en/general.yml rename to plugins/config-generator/lang/en/general.yml diff --git a/config-generator/lang/en/options.yml b/plugins/config-generator/lang/en/options.yml similarity index 100% rename from config-generator/lang/en/options.yml rename to plugins/config-generator/lang/en/options.yml diff --git a/config-generator/lang/zh_CN/config.yml b/plugins/config-generator/lang/zh_CN/config.yml similarity index 100% rename from config-generator/lang/zh_CN/config.yml rename to plugins/config-generator/lang/zh_CN/config.yml diff --git a/config-generator/lang/zh_CN/general.yml b/plugins/config-generator/lang/zh_CN/general.yml similarity index 100% rename from config-generator/lang/zh_CN/general.yml rename to plugins/config-generator/lang/zh_CN/general.yml diff --git a/config-generator/lang/zh_CN/options.yml b/plugins/config-generator/lang/zh_CN/options.yml similarity index 100% rename from config-generator/lang/zh_CN/options.yml rename to plugins/config-generator/lang/zh_CN/options.yml diff --git a/config-generator/package.json b/plugins/config-generator/package.json similarity index 100% rename from config-generator/package.json rename to plugins/config-generator/package.json diff --git a/config-generator/src/Configuration.php b/plugins/config-generator/src/Configuration.php similarity index 100% rename from config-generator/src/Configuration.php rename to plugins/config-generator/src/Configuration.php diff --git a/config-generator/src/Controller.php b/plugins/config-generator/src/Controller.php similarity index 100% rename from config-generator/src/Controller.php rename to plugins/config-generator/src/Controller.php diff --git a/config-generator/views/config.twig b/plugins/config-generator/views/config.twig similarity index 100% rename from config-generator/views/config.twig rename to plugins/config-generator/views/config.twig diff --git a/config-generator/views/generator.twig b/plugins/config-generator/views/generator.twig similarity index 100% rename from config-generator/views/generator.twig rename to plugins/config-generator/views/generator.twig diff --git a/disable-registration/assets/modifyButton.ts b/plugins/disable-registration/assets/modifyButton.ts similarity index 100% rename from disable-registration/assets/modifyButton.ts rename to plugins/disable-registration/assets/modifyButton.ts diff --git a/disable-registration/bootstrap.php b/plugins/disable-registration/bootstrap.php similarity index 100% rename from disable-registration/bootstrap.php rename to plugins/disable-registration/bootstrap.php diff --git a/disable-registration/lang/en/general.yml b/plugins/disable-registration/lang/en/general.yml similarity index 100% rename from disable-registration/lang/en/general.yml rename to plugins/disable-registration/lang/en/general.yml diff --git a/disable-registration/lang/zh_CN/general.yml b/plugins/disable-registration/lang/zh_CN/general.yml similarity index 100% rename from disable-registration/lang/zh_CN/general.yml rename to plugins/disable-registration/lang/zh_CN/general.yml diff --git a/disable-registration/package.json b/plugins/disable-registration/package.json similarity index 100% rename from disable-registration/package.json rename to plugins/disable-registration/package.json diff --git a/disable-registration/src/AuthController.php b/plugins/disable-registration/src/AuthController.php similarity index 100% rename from disable-registration/src/AuthController.php rename to plugins/disable-registration/src/AuthController.php diff --git a/embedded-comment/bootstrap.php b/plugins/embedded-comment/bootstrap.php similarity index 100% rename from embedded-comment/bootstrap.php rename to plugins/embedded-comment/bootstrap.php diff --git a/embedded-comment/lang/en/config.yml b/plugins/embedded-comment/lang/en/config.yml similarity index 100% rename from embedded-comment/lang/en/config.yml rename to plugins/embedded-comment/lang/en/config.yml diff --git a/embedded-comment/lang/en/general.yml b/plugins/embedded-comment/lang/en/general.yml similarity index 100% rename from embedded-comment/lang/en/general.yml rename to plugins/embedded-comment/lang/en/general.yml diff --git a/embedded-comment/lang/es_ES/config.yml b/plugins/embedded-comment/lang/es_ES/config.yml similarity index 100% rename from embedded-comment/lang/es_ES/config.yml rename to plugins/embedded-comment/lang/es_ES/config.yml diff --git a/embedded-comment/lang/zh_CN/config.yml b/plugins/embedded-comment/lang/zh_CN/config.yml similarity index 100% rename from embedded-comment/lang/zh_CN/config.yml rename to plugins/embedded-comment/lang/zh_CN/config.yml diff --git a/embedded-comment/lang/zh_CN/general.yml b/plugins/embedded-comment/lang/zh_CN/general.yml similarity index 100% rename from embedded-comment/lang/zh_CN/general.yml rename to plugins/embedded-comment/lang/zh_CN/general.yml diff --git a/embedded-comment/package.json b/plugins/embedded-comment/package.json similarity index 100% rename from embedded-comment/package.json rename to plugins/embedded-comment/package.json diff --git a/embedded-comment/src/Configuration.php b/plugins/embedded-comment/src/Configuration.php similarity index 100% rename from embedded-comment/src/Configuration.php rename to plugins/embedded-comment/src/Configuration.php diff --git a/embedded-comment/views/comment.twig b/plugins/embedded-comment/views/comment.twig similarity index 100% rename from embedded-comment/views/comment.twig rename to plugins/embedded-comment/views/comment.twig diff --git a/embedded-comment/views/config.twig b/plugins/embedded-comment/views/config.twig similarity index 100% rename from embedded-comment/views/config.twig rename to plugins/embedded-comment/views/config.twig diff --git a/eruda/README.md b/plugins/eruda/README.md similarity index 100% rename from eruda/README.md rename to plugins/eruda/README.md diff --git a/eruda/bootstrap.php b/plugins/eruda/bootstrap.php similarity index 100% rename from eruda/bootstrap.php rename to plugins/eruda/bootstrap.php diff --git a/eruda/package.json b/plugins/eruda/package.json similarity index 100% rename from eruda/package.json rename to plugins/eruda/package.json diff --git a/fix-v4-update/bootstrap.php b/plugins/fix-v4-update/bootstrap.php similarity index 100% rename from fix-v4-update/bootstrap.php rename to plugins/fix-v4-update/bootstrap.php diff --git a/fix-v4-update/lang/en/general.yml b/plugins/fix-v4-update/lang/en/general.yml similarity index 100% rename from fix-v4-update/lang/en/general.yml rename to plugins/fix-v4-update/lang/en/general.yml diff --git a/fix-v4-update/lang/zh_CN/general.yml b/plugins/fix-v4-update/lang/zh_CN/general.yml similarity index 100% rename from fix-v4-update/lang/zh_CN/general.yml rename to plugins/fix-v4-update/lang/zh_CN/general.yml diff --git a/fix-v4-update/package.json b/plugins/fix-v4-update/package.json similarity index 100% rename from fix-v4-update/package.json rename to plugins/fix-v4-update/package.json diff --git a/fix-v4-update/src/PackageManager.php b/plugins/fix-v4-update/src/PackageManager.php similarity index 100% rename from fix-v4-update/src/PackageManager.php rename to plugins/fix-v4-update/src/PackageManager.php diff --git a/forum-integration/README.md b/plugins/forum-integration/README.md similarity index 100% rename from forum-integration/README.md rename to plugins/forum-integration/README.md diff --git a/forum-integration/bootstrap.php b/plugins/forum-integration/bootstrap.php similarity index 100% rename from forum-integration/bootstrap.php rename to plugins/forum-integration/bootstrap.php diff --git a/forum-integration/callbacks.php b/plugins/forum-integration/callbacks.php similarity index 100% rename from forum-integration/callbacks.php rename to plugins/forum-integration/callbacks.php diff --git a/forum-integration/package.json b/plugins/forum-integration/package.json similarity index 100% rename from forum-integration/package.json rename to plugins/forum-integration/package.json diff --git a/forum-integration/src/Listener/HashAlgorithms.php b/plugins/forum-integration/src/Listener/HashAlgorithms.php similarity index 100% rename from forum-integration/src/Listener/HashAlgorithms.php rename to plugins/forum-integration/src/Listener/HashAlgorithms.php diff --git a/forum-integration/src/Listener/SynchronizeUser.php b/plugins/forum-integration/src/Listener/SynchronizeUser.php similarity index 100% rename from forum-integration/src/Listener/SynchronizeUser.php rename to plugins/forum-integration/src/Listener/SynchronizeUser.php diff --git a/forum-integration/src/helpers.php b/plugins/forum-integration/src/helpers.php similarity index 100% rename from forum-integration/src/helpers.php rename to plugins/forum-integration/src/helpers.php diff --git a/forum-integration/views/config.blade.php b/plugins/forum-integration/views/config.blade.php similarity index 100% rename from forum-integration/views/config.blade.php rename to plugins/forum-integration/views/config.blade.php diff --git a/gravatar/bootstrap.php b/plugins/gravatar/bootstrap.php similarity index 100% rename from gravatar/bootstrap.php rename to plugins/gravatar/bootstrap.php diff --git a/gravatar/package.json b/plugins/gravatar/package.json similarity index 100% rename from gravatar/package.json rename to plugins/gravatar/package.json diff --git a/hello-dolly/assets/hello-dolly.ts b/plugins/hello-dolly/assets/hello-dolly.ts similarity index 100% rename from hello-dolly/assets/hello-dolly.ts rename to plugins/hello-dolly/assets/hello-dolly.ts diff --git a/hello-dolly/bootstrap.php b/plugins/hello-dolly/bootstrap.php similarity index 100% rename from hello-dolly/bootstrap.php rename to plugins/hello-dolly/bootstrap.php diff --git a/hello-dolly/lang/en/general.yml b/plugins/hello-dolly/lang/en/general.yml similarity index 100% rename from hello-dolly/lang/en/general.yml rename to plugins/hello-dolly/lang/en/general.yml diff --git a/hello-dolly/lang/zh_CN/general.yml b/plugins/hello-dolly/lang/zh_CN/general.yml similarity index 100% rename from hello-dolly/lang/zh_CN/general.yml rename to plugins/hello-dolly/lang/zh_CN/general.yml diff --git a/hello-dolly/package.json b/plugins/hello-dolly/package.json similarity index 100% rename from hello-dolly/package.json rename to plugins/hello-dolly/package.json diff --git a/hitokoto/assets/hitokoto.ts b/plugins/hitokoto/assets/hitokoto.ts similarity index 100% rename from hitokoto/assets/hitokoto.ts rename to plugins/hitokoto/assets/hitokoto.ts diff --git a/hitokoto/bootstrap.php b/plugins/hitokoto/bootstrap.php similarity index 100% rename from hitokoto/bootstrap.php rename to plugins/hitokoto/bootstrap.php diff --git a/hitokoto/package.json b/plugins/hitokoto/package.json similarity index 100% rename from hitokoto/package.json rename to plugins/hitokoto/package.json diff --git a/insane-profile-cache/README.md b/plugins/insane-profile-cache/README.md similarity index 100% rename from insane-profile-cache/README.md rename to plugins/insane-profile-cache/README.md diff --git a/insane-profile-cache/bootstrap.php b/plugins/insane-profile-cache/bootstrap.php similarity index 100% rename from insane-profile-cache/bootstrap.php rename to plugins/insane-profile-cache/bootstrap.php diff --git a/insane-profile-cache/package.json b/plugins/insane-profile-cache/package.json similarity index 100% rename from insane-profile-cache/package.json rename to plugins/insane-profile-cache/package.json diff --git a/insane-profile-cache/src/Commands/Clean.php b/plugins/insane-profile-cache/src/Commands/Clean.php similarity index 100% rename from insane-profile-cache/src/Commands/Clean.php rename to plugins/insane-profile-cache/src/Commands/Clean.php diff --git a/insane-profile-cache/src/Commands/Generate.php b/plugins/insane-profile-cache/src/Commands/Generate.php similarity index 100% rename from insane-profile-cache/src/Commands/Generate.php rename to plugins/insane-profile-cache/src/Commands/Generate.php diff --git a/insane-profile-cache/src/Listener/DeleteFileCache.php b/plugins/insane-profile-cache/src/Listener/DeleteFileCache.php similarity index 100% rename from insane-profile-cache/src/Listener/DeleteFileCache.php rename to plugins/insane-profile-cache/src/Listener/DeleteFileCache.php diff --git a/insane-profile-cache/src/Listener/UpdateFileCache.php b/plugins/insane-profile-cache/src/Listener/UpdateFileCache.php similarity index 100% rename from insane-profile-cache/src/Listener/UpdateFileCache.php rename to plugins/insane-profile-cache/src/Listener/UpdateFileCache.php diff --git a/insider/bootstrap.php b/plugins/insider/bootstrap.php similarity index 100% rename from insider/bootstrap.php rename to plugins/insider/bootstrap.php diff --git a/insider/package.json b/plugins/insider/package.json similarity index 100% rename from insider/package.json rename to plugins/insider/package.json diff --git a/invitation-codes/assets/register.tsx b/plugins/invitation-codes/assets/register.tsx similarity index 100% rename from invitation-codes/assets/register.tsx rename to plugins/invitation-codes/assets/register.tsx diff --git a/invitation-codes/bootstrap.php b/plugins/invitation-codes/bootstrap.php similarity index 100% rename from invitation-codes/bootstrap.php rename to plugins/invitation-codes/bootstrap.php diff --git a/invitation-codes/callbacks.php b/plugins/invitation-codes/callbacks.php similarity index 100% rename from invitation-codes/callbacks.php rename to plugins/invitation-codes/callbacks.php diff --git a/invitation-codes/lang/en/admin.yml b/plugins/invitation-codes/lang/en/admin.yml similarity index 100% rename from invitation-codes/lang/en/admin.yml rename to plugins/invitation-codes/lang/en/admin.yml diff --git a/invitation-codes/lang/en/front-end.yml b/plugins/invitation-codes/lang/en/front-end.yml similarity index 100% rename from invitation-codes/lang/en/front-end.yml rename to plugins/invitation-codes/lang/en/front-end.yml diff --git a/invitation-codes/lang/en/general.yml b/plugins/invitation-codes/lang/en/general.yml similarity index 100% rename from invitation-codes/lang/en/general.yml rename to plugins/invitation-codes/lang/en/general.yml diff --git a/invitation-codes/lang/en/messages.yml b/plugins/invitation-codes/lang/en/messages.yml similarity index 100% rename from invitation-codes/lang/en/messages.yml rename to plugins/invitation-codes/lang/en/messages.yml diff --git a/invitation-codes/lang/zh_CN/admin.yml b/plugins/invitation-codes/lang/zh_CN/admin.yml similarity index 100% rename from invitation-codes/lang/zh_CN/admin.yml rename to plugins/invitation-codes/lang/zh_CN/admin.yml diff --git a/invitation-codes/lang/zh_CN/front-end.yml b/plugins/invitation-codes/lang/zh_CN/front-end.yml similarity index 100% rename from invitation-codes/lang/zh_CN/front-end.yml rename to plugins/invitation-codes/lang/zh_CN/front-end.yml diff --git a/invitation-codes/lang/zh_CN/general.yml b/plugins/invitation-codes/lang/zh_CN/general.yml similarity index 100% rename from invitation-codes/lang/zh_CN/general.yml rename to plugins/invitation-codes/lang/zh_CN/general.yml diff --git a/invitation-codes/lang/zh_CN/messages.yml b/plugins/invitation-codes/lang/zh_CN/messages.yml similarity index 100% rename from invitation-codes/lang/zh_CN/messages.yml rename to plugins/invitation-codes/lang/zh_CN/messages.yml diff --git a/invitation-codes/package.json b/plugins/invitation-codes/package.json similarity index 100% rename from invitation-codes/package.json rename to plugins/invitation-codes/package.json diff --git a/invitation-codes/src/CheckInvitationCode.php b/plugins/invitation-codes/src/CheckInvitationCode.php similarity index 100% rename from invitation-codes/src/CheckInvitationCode.php rename to plugins/invitation-codes/src/CheckInvitationCode.php diff --git a/invitation-codes/src/InvitationCodeController.php b/plugins/invitation-codes/src/InvitationCodeController.php similarity index 100% rename from invitation-codes/src/InvitationCodeController.php rename to plugins/invitation-codes/src/InvitationCodeController.php diff --git a/invitation-codes/views/codes.twig b/plugins/invitation-codes/views/codes.twig similarity index 100% rename from invitation-codes/views/codes.twig rename to plugins/invitation-codes/views/codes.twig diff --git a/legacy-api/bootstrap.php b/plugins/legacy-api/bootstrap.php similarity index 100% rename from legacy-api/bootstrap.php rename to plugins/legacy-api/bootstrap.php diff --git a/legacy-api/lang/en/general.yml b/plugins/legacy-api/lang/en/general.yml similarity index 100% rename from legacy-api/lang/en/general.yml rename to plugins/legacy-api/lang/en/general.yml diff --git a/legacy-api/lang/zh_CN/general.yml b/plugins/legacy-api/lang/zh_CN/general.yml similarity index 100% rename from legacy-api/lang/zh_CN/general.yml rename to plugins/legacy-api/lang/zh_CN/general.yml diff --git a/legacy-api/package.json b/plugins/legacy-api/package.json similarity index 100% rename from legacy-api/package.json rename to plugins/legacy-api/package.json diff --git a/legacy-api/src/TextureController.php b/plugins/legacy-api/src/TextureController.php similarity index 100% rename from legacy-api/src/TextureController.php rename to plugins/legacy-api/src/TextureController.php diff --git a/mojang-verification/assets/update-uuid.ts b/plugins/mojang-verification/assets/update-uuid.ts similarity index 100% rename from mojang-verification/assets/update-uuid.ts rename to plugins/mojang-verification/assets/update-uuid.ts diff --git a/mojang-verification/bootstrap.php b/plugins/mojang-verification/bootstrap.php similarity index 100% rename from mojang-verification/bootstrap.php rename to plugins/mojang-verification/bootstrap.php diff --git a/mojang-verification/callbacks.php b/plugins/mojang-verification/callbacks.php similarity index 100% rename from mojang-verification/callbacks.php rename to plugins/mojang-verification/callbacks.php diff --git a/mojang-verification/lang/en/bind.yml b/plugins/mojang-verification/lang/en/bind.yml similarity index 100% rename from mojang-verification/lang/en/bind.yml rename to plugins/mojang-verification/lang/en/bind.yml diff --git a/mojang-verification/lang/en/config.yml b/plugins/mojang-verification/lang/en/config.yml similarity index 100% rename from mojang-verification/lang/en/config.yml rename to plugins/mojang-verification/lang/en/config.yml diff --git a/mojang-verification/lang/en/general.yml b/plugins/mojang-verification/lang/en/general.yml similarity index 100% rename from mojang-verification/lang/en/general.yml rename to plugins/mojang-verification/lang/en/general.yml diff --git a/mojang-verification/lang/en/uuid.yml b/plugins/mojang-verification/lang/en/uuid.yml similarity index 100% rename from mojang-verification/lang/en/uuid.yml rename to plugins/mojang-verification/lang/en/uuid.yml diff --git a/mojang-verification/lang/zh_CN/bind.yml b/plugins/mojang-verification/lang/zh_CN/bind.yml similarity index 100% rename from mojang-verification/lang/zh_CN/bind.yml rename to plugins/mojang-verification/lang/zh_CN/bind.yml diff --git a/mojang-verification/lang/zh_CN/config.yml b/plugins/mojang-verification/lang/zh_CN/config.yml similarity index 100% rename from mojang-verification/lang/zh_CN/config.yml rename to plugins/mojang-verification/lang/zh_CN/config.yml diff --git a/mojang-verification/lang/zh_CN/general.yml b/plugins/mojang-verification/lang/zh_CN/general.yml similarity index 100% rename from mojang-verification/lang/zh_CN/general.yml rename to plugins/mojang-verification/lang/zh_CN/general.yml diff --git a/mojang-verification/lang/zh_CN/uuid.yml b/plugins/mojang-verification/lang/zh_CN/uuid.yml similarity index 100% rename from mojang-verification/lang/zh_CN/uuid.yml rename to plugins/mojang-verification/lang/zh_CN/uuid.yml diff --git a/mojang-verification/package.json b/plugins/mojang-verification/package.json similarity index 100% rename from mojang-verification/package.json rename to plugins/mojang-verification/package.json diff --git a/mojang-verification/src/AccountController.php b/plugins/mojang-verification/src/AccountController.php similarity index 100% rename from mojang-verification/src/AccountController.php rename to plugins/mojang-verification/src/AccountController.php diff --git a/mojang-verification/src/Configuration.php b/plugins/mojang-verification/src/Configuration.php similarity index 100% rename from mojang-verification/src/Configuration.php rename to plugins/mojang-verification/src/Configuration.php diff --git a/mojang-verification/src/Listeners/CreateNewUser.php b/plugins/mojang-verification/src/Listeners/CreateNewUser.php similarity index 100% rename from mojang-verification/src/Listeners/CreateNewUser.php rename to plugins/mojang-verification/src/Listeners/CreateNewUser.php diff --git a/mojang-verification/src/Listeners/OnAuthenticated.php b/plugins/mojang-verification/src/Listeners/OnAuthenticated.php similarity index 100% rename from mojang-verification/src/Listeners/OnAuthenticated.php rename to plugins/mojang-verification/src/Listeners/OnAuthenticated.php diff --git a/mojang-verification/src/Mail.php b/plugins/mojang-verification/src/Mail.php similarity index 100% rename from mojang-verification/src/Mail.php rename to plugins/mojang-verification/src/Mail.php diff --git a/mojang-verification/src/MojangVerification.php b/plugins/mojang-verification/src/MojangVerification.php similarity index 100% rename from mojang-verification/src/MojangVerification.php rename to plugins/mojang-verification/src/MojangVerification.php diff --git a/mojang-verification/src/helpers.php b/plugins/mojang-verification/src/helpers.php similarity index 100% rename from mojang-verification/src/helpers.php rename to plugins/mojang-verification/src/helpers.php diff --git a/mojang-verification/views/bind.twig b/plugins/mojang-verification/views/bind.twig similarity index 100% rename from mojang-verification/views/bind.twig rename to plugins/mojang-verification/views/bind.twig diff --git a/mojang-verification/views/config.twig b/plugins/mojang-verification/views/config.twig similarity index 100% rename from mojang-verification/views/config.twig rename to plugins/mojang-verification/views/config.twig diff --git a/mojang-verification/views/mail.blade.php b/plugins/mojang-verification/views/mail.blade.php similarity index 100% rename from mojang-verification/views/mail.blade.php rename to plugins/mojang-verification/views/mail.blade.php diff --git a/mojang-verification/views/notice.twig b/plugins/mojang-verification/views/notice.twig similarity index 100% rename from mojang-verification/views/notice.twig rename to plugins/mojang-verification/views/notice.twig diff --git a/mojang-verification/views/uuid.twig b/plugins/mojang-verification/views/uuid.twig similarity index 100% rename from mojang-verification/views/uuid.twig rename to plugins/mojang-verification/views/uuid.twig diff --git a/oauth-github/bootstrap.php b/plugins/oauth-github/bootstrap.php similarity index 100% rename from oauth-github/bootstrap.php rename to plugins/oauth-github/bootstrap.php diff --git a/oauth-github/composer.json b/plugins/oauth-github/composer.json similarity index 100% rename from oauth-github/composer.json rename to plugins/oauth-github/composer.json diff --git a/oauth-github/lang/en/general.yml b/plugins/oauth-github/lang/en/general.yml similarity index 100% rename from oauth-github/lang/en/general.yml rename to plugins/oauth-github/lang/en/general.yml diff --git a/oauth-github/lang/zh_CN/general.yml b/plugins/oauth-github/lang/zh_CN/general.yml similarity index 100% rename from oauth-github/lang/zh_CN/general.yml rename to plugins/oauth-github/lang/zh_CN/general.yml diff --git a/oauth-github/package.json b/plugins/oauth-github/package.json similarity index 100% rename from oauth-github/package.json rename to plugins/oauth-github/package.json diff --git a/oauth-google/bootstrap.php b/plugins/oauth-google/bootstrap.php similarity index 100% rename from oauth-google/bootstrap.php rename to plugins/oauth-google/bootstrap.php diff --git a/oauth-google/composer.json b/plugins/oauth-google/composer.json similarity index 100% rename from oauth-google/composer.json rename to plugins/oauth-google/composer.json diff --git a/oauth-google/lang/en/general.yml b/plugins/oauth-google/lang/en/general.yml similarity index 100% rename from oauth-google/lang/en/general.yml rename to plugins/oauth-google/lang/en/general.yml diff --git a/oauth-google/lang/zh_CN/general.yml b/plugins/oauth-google/lang/zh_CN/general.yml similarity index 100% rename from oauth-google/lang/zh_CN/general.yml rename to plugins/oauth-google/lang/zh_CN/general.yml diff --git a/oauth-google/package.json b/plugins/oauth-google/package.json similarity index 100% rename from oauth-google/package.json rename to plugins/oauth-google/package.json diff --git a/oauth-littleskin/README.md b/plugins/oauth-littleskin/README.md similarity index 100% rename from oauth-littleskin/README.md rename to plugins/oauth-littleskin/README.md diff --git a/oauth-littleskin/bootstrap.php b/plugins/oauth-littleskin/bootstrap.php similarity index 100% rename from oauth-littleskin/bootstrap.php rename to plugins/oauth-littleskin/bootstrap.php diff --git a/oauth-littleskin/composer.json b/plugins/oauth-littleskin/composer.json similarity index 100% rename from oauth-littleskin/composer.json rename to plugins/oauth-littleskin/composer.json diff --git a/oauth-littleskin/lang/en/general.yml b/plugins/oauth-littleskin/lang/en/general.yml similarity index 100% rename from oauth-littleskin/lang/en/general.yml rename to plugins/oauth-littleskin/lang/en/general.yml diff --git a/oauth-littleskin/lang/zh_CN/general.yml b/plugins/oauth-littleskin/lang/zh_CN/general.yml similarity index 100% rename from oauth-littleskin/lang/zh_CN/general.yml rename to plugins/oauth-littleskin/lang/zh_CN/general.yml diff --git a/oauth-littleskin/package.json b/plugins/oauth-littleskin/package.json similarity index 100% rename from oauth-littleskin/package.json rename to plugins/oauth-littleskin/package.json diff --git a/oauth-microsoft-live/bootstrap.php b/plugins/oauth-microsoft-live/bootstrap.php similarity index 100% rename from oauth-microsoft-live/bootstrap.php rename to plugins/oauth-microsoft-live/bootstrap.php diff --git a/oauth-microsoft-live/composer.json b/plugins/oauth-microsoft-live/composer.json similarity index 100% rename from oauth-microsoft-live/composer.json rename to plugins/oauth-microsoft-live/composer.json diff --git a/oauth-microsoft-live/lang/en/general.yml b/plugins/oauth-microsoft-live/lang/en/general.yml similarity index 100% rename from oauth-microsoft-live/lang/en/general.yml rename to plugins/oauth-microsoft-live/lang/en/general.yml diff --git a/oauth-microsoft-live/lang/zh_CN/general.yml b/plugins/oauth-microsoft-live/lang/zh_CN/general.yml similarity index 100% rename from oauth-microsoft-live/lang/zh_CN/general.yml rename to plugins/oauth-microsoft-live/lang/zh_CN/general.yml diff --git a/oauth-microsoft-live/package.json b/plugins/oauth-microsoft-live/package.json similarity index 100% rename from oauth-microsoft-live/package.json rename to plugins/oauth-microsoft-live/package.json diff --git a/oauth/bootstrap.php b/plugins/oauth/bootstrap.php similarity index 100% rename from oauth/bootstrap.php rename to plugins/oauth/bootstrap.php diff --git a/oauth/composer.json b/plugins/oauth/composer.json similarity index 100% rename from oauth/composer.json rename to plugins/oauth/composer.json diff --git a/oauth/lang/en/general.yml b/plugins/oauth/lang/en/general.yml similarity index 100% rename from oauth/lang/en/general.yml rename to plugins/oauth/lang/en/general.yml diff --git a/oauth/lang/en/providers.yml b/plugins/oauth/lang/en/providers.yml similarity index 100% rename from oauth/lang/en/providers.yml rename to plugins/oauth/lang/en/providers.yml diff --git a/oauth/lang/zh_CN/general.yml b/plugins/oauth/lang/zh_CN/general.yml similarity index 100% rename from oauth/lang/zh_CN/general.yml rename to plugins/oauth/lang/zh_CN/general.yml diff --git a/oauth/lang/zh_CN/providers.yml b/plugins/oauth/lang/zh_CN/providers.yml similarity index 100% rename from oauth/lang/zh_CN/providers.yml rename to plugins/oauth/lang/zh_CN/providers.yml diff --git a/oauth/package.json b/plugins/oauth/package.json similarity index 100% rename from oauth/package.json rename to plugins/oauth/package.json diff --git a/oauth/src/AuthController.php b/plugins/oauth/src/AuthController.php similarity index 100% rename from oauth/src/AuthController.php rename to plugins/oauth/src/AuthController.php diff --git a/oauth/views/providers.twig b/plugins/oauth/views/providers.twig similarity index 100% rename from oauth/views/providers.twig rename to plugins/oauth/views/providers.twig diff --git a/password-algorithm-transition/README.md b/plugins/password-algorithm-transition/README.md similarity index 100% rename from password-algorithm-transition/README.md rename to plugins/password-algorithm-transition/README.md diff --git a/password-algorithm-transition/bootstrap.php b/plugins/password-algorithm-transition/bootstrap.php similarity index 100% rename from password-algorithm-transition/bootstrap.php rename to plugins/password-algorithm-transition/bootstrap.php diff --git a/password-algorithm-transition/lang/en/config.yml b/plugins/password-algorithm-transition/lang/en/config.yml similarity index 100% rename from password-algorithm-transition/lang/en/config.yml rename to plugins/password-algorithm-transition/lang/en/config.yml diff --git a/password-algorithm-transition/lang/en/general.yml b/plugins/password-algorithm-transition/lang/en/general.yml similarity index 100% rename from password-algorithm-transition/lang/en/general.yml rename to plugins/password-algorithm-transition/lang/en/general.yml diff --git a/password-algorithm-transition/lang/zh_CN/config.yml b/plugins/password-algorithm-transition/lang/zh_CN/config.yml similarity index 100% rename from password-algorithm-transition/lang/zh_CN/config.yml rename to plugins/password-algorithm-transition/lang/zh_CN/config.yml diff --git a/password-algorithm-transition/lang/zh_CN/general.yml b/plugins/password-algorithm-transition/lang/zh_CN/general.yml similarity index 100% rename from password-algorithm-transition/lang/zh_CN/general.yml rename to plugins/password-algorithm-transition/lang/zh_CN/general.yml diff --git a/password-algorithm-transition/package.json b/plugins/password-algorithm-transition/package.json similarity index 100% rename from password-algorithm-transition/package.json rename to plugins/password-algorithm-transition/package.json diff --git a/password-algorithm-transition/src/Cipher.php b/plugins/password-algorithm-transition/src/Cipher.php similarity index 100% rename from password-algorithm-transition/src/Cipher.php rename to plugins/password-algorithm-transition/src/Cipher.php diff --git a/password-algorithm-transition/src/Configuration.php b/plugins/password-algorithm-transition/src/Configuration.php similarity index 100% rename from password-algorithm-transition/src/Configuration.php rename to plugins/password-algorithm-transition/src/Configuration.php diff --git a/password-algorithm-transition/views/config.twig b/plugins/password-algorithm-transition/views/config.twig similarity index 100% rename from password-algorithm-transition/views/config.twig rename to plugins/password-algorithm-transition/views/config.twig diff --git a/pray-for-kyoto-animation/bootstrap.php b/plugins/pray-for-kyoto-animation/bootstrap.php similarity index 100% rename from pray-for-kyoto-animation/bootstrap.php rename to plugins/pray-for-kyoto-animation/bootstrap.php diff --git a/pray-for-kyoto-animation/package.json b/plugins/pray-for-kyoto-animation/package.json similarity index 100% rename from pray-for-kyoto-animation/package.json rename to plugins/pray-for-kyoto-animation/package.json diff --git a/predis/bootstrap.php b/plugins/predis/bootstrap.php similarity index 100% rename from predis/bootstrap.php rename to plugins/predis/bootstrap.php diff --git a/predis/composer.json b/plugins/predis/composer.json similarity index 100% rename from predis/composer.json rename to plugins/predis/composer.json diff --git a/predis/package.json b/plugins/predis/package.json similarity index 100% rename from predis/package.json rename to plugins/predis/package.json diff --git a/purge-azure-global-cdn/README.md b/plugins/purge-azure-global-cdn/README.md similarity index 100% rename from purge-azure-global-cdn/README.md rename to plugins/purge-azure-global-cdn/README.md diff --git a/purge-azure-global-cdn/bootstrap.php b/plugins/purge-azure-global-cdn/bootstrap.php similarity index 100% rename from purge-azure-global-cdn/bootstrap.php rename to plugins/purge-azure-global-cdn/bootstrap.php diff --git a/purge-azure-global-cdn/package.json b/plugins/purge-azure-global-cdn/package.json similarity index 100% rename from purge-azure-global-cdn/package.json rename to plugins/purge-azure-global-cdn/package.json diff --git a/purge-azure-global-cdn/src/PurgeCDN.php b/plugins/purge-azure-global-cdn/src/PurgeCDN.php similarity index 100% rename from purge-azure-global-cdn/src/PurgeCDN.php rename to plugins/purge-azure-global-cdn/src/PurgeCDN.php diff --git a/refresh-ali-cdn/README.md b/plugins/refresh-ali-cdn/README.md similarity index 100% rename from refresh-ali-cdn/README.md rename to plugins/refresh-ali-cdn/README.md diff --git a/refresh-ali-cdn/bootstrap.php b/plugins/refresh-ali-cdn/bootstrap.php similarity index 100% rename from refresh-ali-cdn/bootstrap.php rename to plugins/refresh-ali-cdn/bootstrap.php diff --git a/refresh-ali-cdn/package.json b/plugins/refresh-ali-cdn/package.json similarity index 100% rename from refresh-ali-cdn/package.json rename to plugins/refresh-ali-cdn/package.json diff --git a/refresh-qcloud-cdn/README.md b/plugins/refresh-qcloud-cdn/README.md similarity index 100% rename from refresh-qcloud-cdn/README.md rename to plugins/refresh-qcloud-cdn/README.md diff --git a/refresh-qcloud-cdn/bootstrap.php b/plugins/refresh-qcloud-cdn/bootstrap.php similarity index 100% rename from refresh-qcloud-cdn/bootstrap.php rename to plugins/refresh-qcloud-cdn/bootstrap.php diff --git a/refresh-qcloud-cdn/package.json b/plugins/refresh-qcloud-cdn/package.json similarity index 100% rename from refresh-qcloud-cdn/package.json rename to plugins/refresh-qcloud-cdn/package.json diff --git a/remote-addr/bootstrap.php b/plugins/remote-addr/bootstrap.php similarity index 100% rename from remote-addr/bootstrap.php rename to plugins/remote-addr/bootstrap.php diff --git a/remote-addr/package.json b/plugins/remote-addr/package.json similarity index 100% rename from remote-addr/package.json rename to plugins/remote-addr/package.json diff --git a/restricted-email-domains/assets/Config.tsx b/plugins/restricted-email-domains/assets/Config.tsx similarity index 100% rename from restricted-email-domains/assets/Config.tsx rename to plugins/restricted-email-domains/assets/Config.tsx diff --git a/restricted-email-domains/bootstrap.php b/plugins/restricted-email-domains/bootstrap.php similarity index 100% rename from restricted-email-domains/bootstrap.php rename to plugins/restricted-email-domains/bootstrap.php diff --git a/restricted-email-domains/lang/en/front-end.yml b/plugins/restricted-email-domains/lang/en/front-end.yml similarity index 100% rename from restricted-email-domains/lang/en/front-end.yml rename to plugins/restricted-email-domains/lang/en/front-end.yml diff --git a/restricted-email-domains/lang/en/general.yml b/plugins/restricted-email-domains/lang/en/general.yml similarity index 100% rename from restricted-email-domains/lang/en/general.yml rename to plugins/restricted-email-domains/lang/en/general.yml diff --git a/restricted-email-domains/lang/zh_CN/front-end.yml b/plugins/restricted-email-domains/lang/zh_CN/front-end.yml similarity index 100% rename from restricted-email-domains/lang/zh_CN/front-end.yml rename to plugins/restricted-email-domains/lang/zh_CN/front-end.yml diff --git a/restricted-email-domains/lang/zh_CN/general.yml b/plugins/restricted-email-domains/lang/zh_CN/general.yml similarity index 100% rename from restricted-email-domains/lang/zh_CN/general.yml rename to plugins/restricted-email-domains/lang/zh_CN/general.yml diff --git a/restricted-email-domains/package.json b/plugins/restricted-email-domains/package.json similarity index 100% rename from restricted-email-domains/package.json rename to plugins/restricted-email-domains/package.json diff --git a/restricted-email-domains/src/ConfigController.php b/plugins/restricted-email-domains/src/ConfigController.php similarity index 100% rename from restricted-email-domains/src/ConfigController.php rename to plugins/restricted-email-domains/src/ConfigController.php diff --git a/restricted-email-domains/src/EmailFilter.php b/plugins/restricted-email-domains/src/EmailFilter.php similarity index 100% rename from restricted-email-domains/src/EmailFilter.php rename to plugins/restricted-email-domains/src/EmailFilter.php diff --git a/restricted-email-domains/views/config.twig b/plugins/restricted-email-domains/views/config.twig similarity index 100% rename from restricted-email-domains/views/config.twig rename to plugins/restricted-email-domains/views/config.twig diff --git a/share-registration-link/assets/generate.tsx b/plugins/share-registration-link/assets/generate.tsx similarity index 100% rename from share-registration-link/assets/generate.tsx rename to plugins/share-registration-link/assets/generate.tsx diff --git a/share-registration-link/assets/registration.ts b/plugins/share-registration-link/assets/registration.ts similarity index 100% rename from share-registration-link/assets/registration.ts rename to plugins/share-registration-link/assets/registration.ts diff --git a/share-registration-link/bootstrap.php b/plugins/share-registration-link/bootstrap.php similarity index 100% rename from share-registration-link/bootstrap.php rename to plugins/share-registration-link/bootstrap.php diff --git a/share-registration-link/callbacks.php b/plugins/share-registration-link/callbacks.php similarity index 100% rename from share-registration-link/callbacks.php rename to plugins/share-registration-link/callbacks.php diff --git a/share-registration-link/package.json b/plugins/share-registration-link/package.json similarity index 100% rename from share-registration-link/package.json rename to plugins/share-registration-link/package.json diff --git a/share-registration-link/src/CheckCode.php b/plugins/share-registration-link/src/CheckCode.php similarity index 100% rename from share-registration-link/src/CheckCode.php rename to plugins/share-registration-link/src/CheckCode.php diff --git a/share-registration-link/src/CodeController.php b/plugins/share-registration-link/src/CodeController.php similarity index 100% rename from share-registration-link/src/CodeController.php rename to plugins/share-registration-link/src/CodeController.php diff --git a/share-registration-link/src/Configuration.php b/plugins/share-registration-link/src/Configuration.php similarity index 100% rename from share-registration-link/src/Configuration.php rename to plugins/share-registration-link/src/Configuration.php diff --git a/share-registration-link/src/Record.php b/plugins/share-registration-link/src/Record.php similarity index 100% rename from share-registration-link/src/Record.php rename to plugins/share-registration-link/src/Record.php diff --git a/share-registration-link/views/config.twig b/plugins/share-registration-link/views/config.twig similarity index 100% rename from share-registration-link/views/config.twig rename to plugins/share-registration-link/views/config.twig diff --git a/share-registration-link/views/generate.twig b/plugins/share-registration-link/views/generate.twig similarity index 100% rename from share-registration-link/views/generate.twig rename to plugins/share-registration-link/views/generate.twig diff --git a/single-player-limit/assets/BindPlayer.tsx b/plugins/single-player-limit/assets/BindPlayer.tsx similarity index 100% rename from single-player-limit/assets/BindPlayer.tsx rename to plugins/single-player-limit/assets/BindPlayer.tsx diff --git a/single-player-limit/bootstrap.php b/plugins/single-player-limit/bootstrap.php similarity index 100% rename from single-player-limit/bootstrap.php rename to plugins/single-player-limit/bootstrap.php diff --git a/single-player-limit/lang/en/bind.yml b/plugins/single-player-limit/lang/en/bind.yml similarity index 100% rename from single-player-limit/lang/en/bind.yml rename to plugins/single-player-limit/lang/en/bind.yml diff --git a/single-player-limit/lang/en/front-end.yml b/plugins/single-player-limit/lang/en/front-end.yml similarity index 100% rename from single-player-limit/lang/en/front-end.yml rename to plugins/single-player-limit/lang/en/front-end.yml diff --git a/single-player-limit/lang/en/general.yml b/plugins/single-player-limit/lang/en/general.yml similarity index 100% rename from single-player-limit/lang/en/general.yml rename to plugins/single-player-limit/lang/en/general.yml diff --git a/single-player-limit/lang/en/player.yml b/plugins/single-player-limit/lang/en/player.yml similarity index 100% rename from single-player-limit/lang/en/player.yml rename to plugins/single-player-limit/lang/en/player.yml diff --git a/single-player-limit/lang/en/user.yml b/plugins/single-player-limit/lang/en/user.yml similarity index 100% rename from single-player-limit/lang/en/user.yml rename to plugins/single-player-limit/lang/en/user.yml diff --git a/single-player-limit/lang/es_ES/bind.yml b/plugins/single-player-limit/lang/es_ES/bind.yml similarity index 100% rename from single-player-limit/lang/es_ES/bind.yml rename to plugins/single-player-limit/lang/es_ES/bind.yml diff --git a/single-player-limit/lang/es_ES/front-end.yml b/plugins/single-player-limit/lang/es_ES/front-end.yml similarity index 100% rename from single-player-limit/lang/es_ES/front-end.yml rename to plugins/single-player-limit/lang/es_ES/front-end.yml diff --git a/single-player-limit/lang/es_ES/player.yml b/plugins/single-player-limit/lang/es_ES/player.yml similarity index 100% rename from single-player-limit/lang/es_ES/player.yml rename to plugins/single-player-limit/lang/es_ES/player.yml diff --git a/single-player-limit/lang/es_ES/user.yml b/plugins/single-player-limit/lang/es_ES/user.yml similarity index 100% rename from single-player-limit/lang/es_ES/user.yml rename to plugins/single-player-limit/lang/es_ES/user.yml diff --git a/single-player-limit/lang/zh_CN/bind.yml b/plugins/single-player-limit/lang/zh_CN/bind.yml similarity index 100% rename from single-player-limit/lang/zh_CN/bind.yml rename to plugins/single-player-limit/lang/zh_CN/bind.yml diff --git a/single-player-limit/lang/zh_CN/front-end.yml b/plugins/single-player-limit/lang/zh_CN/front-end.yml similarity index 100% rename from single-player-limit/lang/zh_CN/front-end.yml rename to plugins/single-player-limit/lang/zh_CN/front-end.yml diff --git a/single-player-limit/lang/zh_CN/general.yml b/plugins/single-player-limit/lang/zh_CN/general.yml similarity index 100% rename from single-player-limit/lang/zh_CN/general.yml rename to plugins/single-player-limit/lang/zh_CN/general.yml diff --git a/single-player-limit/lang/zh_CN/player.yml b/plugins/single-player-limit/lang/zh_CN/player.yml similarity index 100% rename from single-player-limit/lang/zh_CN/player.yml rename to plugins/single-player-limit/lang/zh_CN/player.yml diff --git a/single-player-limit/lang/zh_CN/user.yml b/plugins/single-player-limit/lang/zh_CN/user.yml similarity index 100% rename from single-player-limit/lang/zh_CN/user.yml rename to plugins/single-player-limit/lang/zh_CN/user.yml diff --git a/single-player-limit/package.json b/plugins/single-player-limit/package.json similarity index 100% rename from single-player-limit/package.json rename to plugins/single-player-limit/package.json diff --git a/single-player-limit/src/BindController.php b/plugins/single-player-limit/src/BindController.php similarity index 100% rename from single-player-limit/src/BindController.php rename to plugins/single-player-limit/src/BindController.php diff --git a/single-player-limit/src/RequireBindPlayer.php b/plugins/single-player-limit/src/RequireBindPlayer.php similarity index 100% rename from single-player-limit/src/RequireBindPlayer.php rename to plugins/single-player-limit/src/RequireBindPlayer.php diff --git a/single-player-limit/views/bind.twig b/plugins/single-player-limit/views/bind.twig similarity index 100% rename from single-player-limit/views/bind.twig rename to plugins/single-player-limit/views/bind.twig diff --git a/texture-type-cast/bootstrap.php b/plugins/texture-type-cast/bootstrap.php similarity index 100% rename from texture-type-cast/bootstrap.php rename to plugins/texture-type-cast/bootstrap.php diff --git a/texture-type-cast/lang/en/general.yml b/plugins/texture-type-cast/lang/en/general.yml similarity index 100% rename from texture-type-cast/lang/en/general.yml rename to plugins/texture-type-cast/lang/en/general.yml diff --git a/texture-type-cast/lang/zh_CN/general.yml b/plugins/texture-type-cast/lang/zh_CN/general.yml similarity index 100% rename from texture-type-cast/lang/zh_CN/general.yml rename to plugins/texture-type-cast/lang/zh_CN/general.yml diff --git a/texture-type-cast/package.json b/plugins/texture-type-cast/package.json similarity index 100% rename from texture-type-cast/package.json rename to plugins/texture-type-cast/package.json diff --git a/texture-type-cast/src/CastTextureType.php b/plugins/texture-type-cast/src/CastTextureType.php similarity index 100% rename from texture-type-cast/src/CastTextureType.php rename to plugins/texture-type-cast/src/CastTextureType.php diff --git a/textures-aliyun-oss/.gitignore b/plugins/textures-aliyun-oss/.gitignore similarity index 100% rename from textures-aliyun-oss/.gitignore rename to plugins/textures-aliyun-oss/.gitignore diff --git a/textures-aliyun-oss/bootstrap.php b/plugins/textures-aliyun-oss/bootstrap.php similarity index 100% rename from textures-aliyun-oss/bootstrap.php rename to plugins/textures-aliyun-oss/bootstrap.php diff --git a/textures-aliyun-oss/composer.json b/plugins/textures-aliyun-oss/composer.json similarity index 100% rename from textures-aliyun-oss/composer.json rename to plugins/textures-aliyun-oss/composer.json diff --git a/textures-aliyun-oss/package.json b/plugins/textures-aliyun-oss/package.json similarity index 100% rename from textures-aliyun-oss/package.json rename to plugins/textures-aliyun-oss/package.json diff --git a/textures-aliyun-oss/views/config.blade.php b/plugins/textures-aliyun-oss/views/config.blade.php similarity index 100% rename from textures-aliyun-oss/views/config.blade.php rename to plugins/textures-aliyun-oss/views/config.blade.php diff --git a/textures-qcloud-cos/.gitignore b/plugins/textures-qcloud-cos/.gitignore similarity index 100% rename from textures-qcloud-cos/.gitignore rename to plugins/textures-qcloud-cos/.gitignore diff --git a/textures-qcloud-cos/bootstrap.php b/plugins/textures-qcloud-cos/bootstrap.php similarity index 100% rename from textures-qcloud-cos/bootstrap.php rename to plugins/textures-qcloud-cos/bootstrap.php diff --git a/textures-qcloud-cos/composer.json b/plugins/textures-qcloud-cos/composer.json similarity index 100% rename from textures-qcloud-cos/composer.json rename to plugins/textures-qcloud-cos/composer.json diff --git a/textures-qcloud-cos/package.json b/plugins/textures-qcloud-cos/package.json similarity index 100% rename from textures-qcloud-cos/package.json rename to plugins/textures-qcloud-cos/package.json diff --git a/textures-qcloud-cos/views/config.blade.php b/plugins/textures-qcloud-cos/views/config.blade.php similarity index 100% rename from textures-qcloud-cos/views/config.blade.php rename to plugins/textures-qcloud-cos/views/config.blade.php diff --git a/textures-qiniu-storage/.gitignore b/plugins/textures-qiniu-storage/.gitignore similarity index 100% rename from textures-qiniu-storage/.gitignore rename to plugins/textures-qiniu-storage/.gitignore diff --git a/textures-qiniu-storage/bootstrap.php b/plugins/textures-qiniu-storage/bootstrap.php similarity index 100% rename from textures-qiniu-storage/bootstrap.php rename to plugins/textures-qiniu-storage/bootstrap.php diff --git a/textures-qiniu-storage/composer.json b/plugins/textures-qiniu-storage/composer.json similarity index 100% rename from textures-qiniu-storage/composer.json rename to plugins/textures-qiniu-storage/composer.json diff --git a/textures-qiniu-storage/package.json b/plugins/textures-qiniu-storage/package.json similarity index 100% rename from textures-qiniu-storage/package.json rename to plugins/textures-qiniu-storage/package.json diff --git a/textures-qiniu-storage/views/config.blade.php b/plugins/textures-qiniu-storage/views/config.blade.php similarity index 100% rename from textures-qiniu-storage/views/config.blade.php rename to plugins/textures-qiniu-storage/views/config.blade.php diff --git a/trust-proxies/bootstrap.php b/plugins/trust-proxies/bootstrap.php similarity index 100% rename from trust-proxies/bootstrap.php rename to plugins/trust-proxies/bootstrap.php diff --git a/trust-proxies/composer.json b/plugins/trust-proxies/composer.json similarity index 100% rename from trust-proxies/composer.json rename to plugins/trust-proxies/composer.json diff --git a/trust-proxies/package.json b/plugins/trust-proxies/package.json similarity index 100% rename from trust-proxies/package.json rename to plugins/trust-proxies/package.json diff --git a/trust-proxies/src/TrustProxies.php b/plugins/trust-proxies/src/TrustProxies.php similarity index 100% rename from trust-proxies/src/TrustProxies.php rename to plugins/trust-proxies/src/TrustProxies.php diff --git a/usm-api/bootstrap.php b/plugins/usm-api/bootstrap.php similarity index 100% rename from usm-api/bootstrap.php rename to plugins/usm-api/bootstrap.php diff --git a/usm-api/package.json b/plugins/usm-api/package.json similarity index 100% rename from usm-api/package.json rename to plugins/usm-api/package.json diff --git a/usm-api/src/ProfileController.php b/plugins/usm-api/src/ProfileController.php similarity index 100% rename from usm-api/src/ProfileController.php rename to plugins/usm-api/src/ProfileController.php diff --git a/yggdrasil-api/README.md b/plugins/yggdrasil-api/README.md similarity index 100% rename from yggdrasil-api/README.md rename to plugins/yggdrasil-api/README.md diff --git a/yggdrasil-api/assets/config.ts b/plugins/yggdrasil-api/assets/config.ts similarity index 100% rename from yggdrasil-api/assets/config.ts rename to plugins/yggdrasil-api/assets/config.ts diff --git a/yggdrasil-api/assets/dnd.ts b/plugins/yggdrasil-api/assets/dnd.ts similarity index 100% rename from yggdrasil-api/assets/dnd.ts rename to plugins/yggdrasil-api/assets/dnd.ts diff --git a/yggdrasil-api/assets/openssl.cnf b/plugins/yggdrasil-api/assets/openssl.cnf similarity index 100% rename from yggdrasil-api/assets/openssl.cnf rename to plugins/yggdrasil-api/assets/openssl.cnf diff --git a/yggdrasil-api/bootstrap.php b/plugins/yggdrasil-api/bootstrap.php similarity index 100% rename from yggdrasil-api/bootstrap.php rename to plugins/yggdrasil-api/bootstrap.php diff --git a/yggdrasil-api/callbacks.php b/plugins/yggdrasil-api/callbacks.php similarity index 100% rename from yggdrasil-api/callbacks.php rename to plugins/yggdrasil-api/callbacks.php diff --git a/yggdrasil-api/lang/en/config.yml b/plugins/yggdrasil-api/lang/en/config.yml similarity index 100% rename from yggdrasil-api/lang/en/config.yml rename to plugins/yggdrasil-api/lang/en/config.yml diff --git a/yggdrasil-api/lang/en/dnd.yml b/plugins/yggdrasil-api/lang/en/dnd.yml similarity index 100% rename from yggdrasil-api/lang/en/dnd.yml rename to plugins/yggdrasil-api/lang/en/dnd.yml diff --git a/yggdrasil-api/lang/en/exceptions.yml b/plugins/yggdrasil-api/lang/en/exceptions.yml similarity index 100% rename from yggdrasil-api/lang/en/exceptions.yml rename to plugins/yggdrasil-api/lang/en/exceptions.yml diff --git a/yggdrasil-api/lang/en/front-end.yml b/plugins/yggdrasil-api/lang/en/front-end.yml similarity index 100% rename from yggdrasil-api/lang/en/front-end.yml rename to plugins/yggdrasil-api/lang/en/front-end.yml diff --git a/yggdrasil-api/lang/en/log.yml b/plugins/yggdrasil-api/lang/en/log.yml similarity index 100% rename from yggdrasil-api/lang/en/log.yml rename to plugins/yggdrasil-api/lang/en/log.yml diff --git a/yggdrasil-api/lang/en/middleware.yml b/plugins/yggdrasil-api/lang/en/middleware.yml similarity index 100% rename from yggdrasil-api/lang/en/middleware.yml rename to plugins/yggdrasil-api/lang/en/middleware.yml diff --git a/yggdrasil-api/lang/zh_CN/config.yml b/plugins/yggdrasil-api/lang/zh_CN/config.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/config.yml rename to plugins/yggdrasil-api/lang/zh_CN/config.yml diff --git a/yggdrasil-api/lang/zh_CN/dnd.yml b/plugins/yggdrasil-api/lang/zh_CN/dnd.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/dnd.yml rename to plugins/yggdrasil-api/lang/zh_CN/dnd.yml diff --git a/yggdrasil-api/lang/zh_CN/exceptions.yml b/plugins/yggdrasil-api/lang/zh_CN/exceptions.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/exceptions.yml rename to plugins/yggdrasil-api/lang/zh_CN/exceptions.yml diff --git a/yggdrasil-api/lang/zh_CN/front-end.yml b/plugins/yggdrasil-api/lang/zh_CN/front-end.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/front-end.yml rename to plugins/yggdrasil-api/lang/zh_CN/front-end.yml diff --git a/yggdrasil-api/lang/zh_CN/log.yml b/plugins/yggdrasil-api/lang/zh_CN/log.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/log.yml rename to plugins/yggdrasil-api/lang/zh_CN/log.yml diff --git a/yggdrasil-api/lang/zh_CN/middleware.yml b/plugins/yggdrasil-api/lang/zh_CN/middleware.yml similarity index 100% rename from yggdrasil-api/lang/zh_CN/middleware.yml rename to plugins/yggdrasil-api/lang/zh_CN/middleware.yml diff --git a/yggdrasil-api/package.json b/plugins/yggdrasil-api/package.json similarity index 100% rename from yggdrasil-api/package.json rename to plugins/yggdrasil-api/package.json diff --git a/yggdrasil-api/routes.php b/plugins/yggdrasil-api/routes.php similarity index 100% rename from yggdrasil-api/routes.php rename to plugins/yggdrasil-api/routes.php diff --git a/yggdrasil-api/src/Controllers/AuthController.php b/plugins/yggdrasil-api/src/Controllers/AuthController.php similarity index 100% rename from yggdrasil-api/src/Controllers/AuthController.php rename to plugins/yggdrasil-api/src/Controllers/AuthController.php diff --git a/yggdrasil-api/src/Controllers/ConfigController.php b/plugins/yggdrasil-api/src/Controllers/ConfigController.php similarity index 100% rename from yggdrasil-api/src/Controllers/ConfigController.php rename to plugins/yggdrasil-api/src/Controllers/ConfigController.php diff --git a/yggdrasil-api/src/Controllers/ProfileController.php b/plugins/yggdrasil-api/src/Controllers/ProfileController.php similarity index 100% rename from yggdrasil-api/src/Controllers/ProfileController.php rename to plugins/yggdrasil-api/src/Controllers/ProfileController.php diff --git a/yggdrasil-api/src/Controllers/SessionController.php b/plugins/yggdrasil-api/src/Controllers/SessionController.php similarity index 100% rename from yggdrasil-api/src/Controllers/SessionController.php rename to plugins/yggdrasil-api/src/Controllers/SessionController.php diff --git a/yggdrasil-api/src/Exceptions/ForbiddenOperationException.php b/plugins/yggdrasil-api/src/Exceptions/ForbiddenOperationException.php similarity index 100% rename from yggdrasil-api/src/Exceptions/ForbiddenOperationException.php rename to plugins/yggdrasil-api/src/Exceptions/ForbiddenOperationException.php diff --git a/yggdrasil-api/src/Exceptions/IllegalArgumentException.php b/plugins/yggdrasil-api/src/Exceptions/IllegalArgumentException.php similarity index 100% rename from yggdrasil-api/src/Exceptions/IllegalArgumentException.php rename to plugins/yggdrasil-api/src/Exceptions/IllegalArgumentException.php diff --git a/yggdrasil-api/src/Exceptions/NotFoundException.php b/plugins/yggdrasil-api/src/Exceptions/NotFoundException.php similarity index 100% rename from yggdrasil-api/src/Exceptions/NotFoundException.php rename to plugins/yggdrasil-api/src/Exceptions/NotFoundException.php diff --git a/yggdrasil-api/src/Exceptions/YggdrasilException.php b/plugins/yggdrasil-api/src/Exceptions/YggdrasilException.php similarity index 100% rename from yggdrasil-api/src/Exceptions/YggdrasilException.php rename to plugins/yggdrasil-api/src/Exceptions/YggdrasilException.php diff --git a/yggdrasil-api/src/Middleware/AddApiIndicationHeader.php b/plugins/yggdrasil-api/src/Middleware/AddApiIndicationHeader.php similarity index 100% rename from yggdrasil-api/src/Middleware/AddApiIndicationHeader.php rename to plugins/yggdrasil-api/src/Middleware/AddApiIndicationHeader.php diff --git a/yggdrasil-api/src/Middleware/CheckContentType.php b/plugins/yggdrasil-api/src/Middleware/CheckContentType.php similarity index 100% rename from yggdrasil-api/src/Middleware/CheckContentType.php rename to plugins/yggdrasil-api/src/Middleware/CheckContentType.php diff --git a/yggdrasil-api/src/Middleware/Throttle.php b/plugins/yggdrasil-api/src/Middleware/Throttle.php similarity index 100% rename from yggdrasil-api/src/Middleware/Throttle.php rename to plugins/yggdrasil-api/src/Middleware/Throttle.php diff --git a/yggdrasil-api/src/Models/Profile.php b/plugins/yggdrasil-api/src/Models/Profile.php similarity index 100% rename from yggdrasil-api/src/Models/Profile.php rename to plugins/yggdrasil-api/src/Models/Profile.php diff --git a/yggdrasil-api/src/Models/Token.php b/plugins/yggdrasil-api/src/Models/Token.php similarity index 100% rename from yggdrasil-api/src/Models/Token.php rename to plugins/yggdrasil-api/src/Models/Token.php diff --git a/yggdrasil-api/src/Utils/UUID.php b/plugins/yggdrasil-api/src/Utils/UUID.php similarity index 100% rename from yggdrasil-api/src/Utils/UUID.php rename to plugins/yggdrasil-api/src/Utils/UUID.php diff --git a/yggdrasil-api/src/Utils/helpers.php b/plugins/yggdrasil-api/src/Utils/helpers.php similarity index 100% rename from yggdrasil-api/src/Utils/helpers.php rename to plugins/yggdrasil-api/src/Utils/helpers.php diff --git a/yggdrasil-api/views/config.twig b/plugins/yggdrasil-api/views/config.twig similarity index 100% rename from yggdrasil-api/views/config.twig rename to plugins/yggdrasil-api/views/config.twig diff --git a/yggdrasil-api/views/dnd.twig b/plugins/yggdrasil-api/views/dnd.twig similarity index 100% rename from yggdrasil-api/views/dnd.twig rename to plugins/yggdrasil-api/views/dnd.twig diff --git a/yggdrasil-api/views/log.twig b/plugins/yggdrasil-api/views/log.twig similarity index 100% rename from yggdrasil-api/views/log.twig rename to plugins/yggdrasil-api/views/log.twig diff --git a/textures-aliyun-oss/composer.lock b/textures-aliyun-oss/composer.lock deleted file mode 100644 index 02c015e..0000000 --- a/textures-aliyun-oss/composer.lock +++ /dev/null @@ -1,110 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "64c6f5c8894dfc8d626ad217166e1cfd", - "packages": [ - { - "name": "aliyuncs/oss-sdk-php", - "version": "v2.3.0", - "source": { - "type": "git", - "url": "https://github.com/aliyun/aliyun-oss-php-sdk.git", - "reference": "e69f57916678458642ac9d2fd341ae78a56996c8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/e69f57916678458642ac9d2fd341ae78a56996c8", - "reference": "e69f57916678458642ac9d2fd341ae78a56996c8", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "satooshi/php-coveralls": "~1.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "OSS\\": "src/OSS" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aliyuncs", - "homepage": "http://www.aliyun.com" - } - ], - "description": "Aliyun OSS SDK for PHP", - "homepage": "http://www.aliyun.com/product/oss/", - "time": "2018-01-08T06:59:35+00:00" - }, - { - "name": "jacobcyl/ali-oss-storage", - "version": "2.1.0", - "source": { - "type": "git", - "url": "https://github.com/jacobcyl/Aliyun-oss-storage.git", - "reference": "c0cb9ba1d3faf22a1e04a03602aac90a187b5959" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/jacobcyl/Aliyun-oss-storage/zipball/c0cb9ba1d3faf22a1e04a03602aac90a187b5959", - "reference": "c0cb9ba1d3faf22a1e04a03602aac90a187b5959", - "shasum": "" - }, - "require": { - "aliyuncs/oss-sdk-php": "~2.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Jacobcyl\\AliOSS\\AliOssServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Jacobcyl\\AliOSS\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "jacobcyl", - "email": "cyl.jacob@gmail.com" - } - ], - "description": "aliyun oss filesystem storage for laravel 5+", - "homepage": "http://jacobcyl.github.io/Aliyun-oss-storage/", - "keywords": [ - "aliyun", - "filesystems", - "laravel", - "oss", - "storage" - ], - "time": "2018-04-02T03:44:01+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [] -} diff --git a/textures-qiniu-storage/composer.lock b/textures-qiniu-storage/composer.lock deleted file mode 100644 index a1cac1a..0000000 --- a/textures-qiniu-storage/composer.lock +++ /dev/null @@ -1,212 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "547716e7aec796434e2c8dde020806d9", - "packages": [ - { - "name": "league/flysystem", - "version": "1.0.50", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "dab4e7624efa543a943be978008f439c333f2249" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/dab4e7624efa543a943be978008f439c333f2249", - "reference": "dab4e7624efa543a943be978008f439c333f2249", - "shasum": "" - }, - "require": { - "ext-fileinfo": "*", - "php": ">=5.5.9" - }, - "conflict": { - "league/flysystem-sftp": "<1.0.6" - }, - "require-dev": { - "phpspec/phpspec": "^3.4", - "phpunit/phpunit": "^5.7.10" - }, - "suggest": { - "ext-fileinfo": "Required for MimeType", - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Flysystem\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frenky.net" - } - ], - "description": "Filesystem abstraction: Many filesystems, one API.", - "keywords": [ - "Cloud Files", - "WebDAV", - "abstraction", - "aws", - "cloud", - "copy.com", - "dropbox", - "file systems", - "files", - "filesystem", - "filesystems", - "ftp", - "rackspace", - "remote", - "s3", - "sftp", - "storage" - ], - "time": "2019-02-01T08:50:36+00:00" - }, - { - "name": "qiniu/php-sdk", - "version": "v7.2.7", - "source": { - "type": "git", - "url": "https://github.com/qiniu/php-sdk.git", - "reference": "88d11a5857ebc6871204e9be6ceec54bf5f381e6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/qiniu/php-sdk/zipball/88d11a5857ebc6871204e9be6ceec54bf5f381e6", - "reference": "88d11a5857ebc6871204e9be6ceec54bf5f381e6", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.3" - }, - "type": "library", - "autoload": { - "psr-4": { - "Qiniu\\": "src/Qiniu" - }, - "files": [ - "src/Qiniu/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Qiniu", - "email": "sdk@qiniu.com", - "homepage": "http://www.qiniu.com" - } - ], - "description": "Qiniu Resource (Cloud) Storage SDK for PHP", - "homepage": "http://developer.qiniu.com/", - "keywords": [ - "cloud", - "qiniu", - "sdk", - "storage" - ], - "time": "2018-11-06T13:34:32+00:00" - }, - { - "name": "zgldh/qiniu-laravel-storage", - "version": "v0.9.4", - "source": { - "type": "git", - "url": "https://github.com/zgldh/qiniu-laravel-storage.git", - "reference": "671bb4702d4a4d17bc2ba038311b843f7c18aa9c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zgldh/qiniu-laravel-storage/zipball/671bb4702d4a4d17bc2ba038311b843f7c18aa9c", - "reference": "671bb4702d4a4d17bc2ba038311b843f7c18aa9c", - "shasum": "" - }, - "require": { - "league/flysystem": "^1.0", - "php": ">=5.3.3", - "qiniu/php-sdk": "^7.2" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "zgldh\\QiniuStorage\\QiniuFilesystemServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "zgldh\\QiniuStorage\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "zgldh", - "email": "zgldh@hotmail.com", - "role": "Original Developer" - }, - { - "name": "abcsun", - "email": "chenglongsun_nj@163.com", - "homepage": "http://github.com/abcsun", - "role": "Developer" - } - ], - "description": "Qiniu Resource (Cloud) Storage SDK for Laravel 5", - "keywords": [ - "cloud", - "laravel", - "qiniu", - "sdk", - "storage" - ], - "time": "2018-09-03T04:05:13+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [] -} diff --git a/trust-proxies/composer.lock b/trust-proxies/composer.lock deleted file mode 100644 index af26943..0000000 --- a/trust-proxies/composer.lock +++ /dev/null @@ -1,213 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b511c14a9b7070d5e02df5934b045fe0", - "packages": [ - { - "name": "fideloper/proxy", - "version": "4.1.0", - "source": { - "type": "git", - "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/177c79a2d1f9970f89ee2fb4c12b429af38b6dfb", - "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb", - "shasum": "" - }, - "require": { - "illuminate/contracts": "~5.0", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/http": "~5.6", - "mockery/mockery": "~1.0", - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Fideloper\\Proxy\\TrustedProxyServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Fideloper\\Proxy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Fidao", - "email": "fideloper@gmail.com" - } - ], - "description": "Set trusted proxies for Laravel", - "keywords": [ - "load balancing", - "proxy", - "trusted proxy" - ], - "time": "2019-01-10T14:06:47+00:00" - }, - { - "name": "illuminate/contracts", - "version": "v5.8.24", - "source": { - "type": "git", - "url": "https://github.com/illuminate/contracts.git", - "reference": "33b4e0ffb89eb2216c764235c9e95fed1f3fab82" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/33b4e0ffb89eb2216c764235c9e95fed1f3fab82", - "reference": "33b4e0ffb89eb2216c764235c9e95fed1f3fab82", - "shasum": "" - }, - "require": { - "php": "^7.1.3", - "psr/container": "^1.0", - "psr/simple-cache": "^1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.8-dev" - } - }, - "autoload": { - "psr-4": { - "Illuminate\\Contracts\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Illuminate Contracts package.", - "homepage": "https://laravel.com", - "time": "2019-06-11T14:00:26+00:00" - }, - { - "name": "psr/container", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "time": "2017-02-14T16:28:37+00:00" - }, - { - "name": "psr/simple-cache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "time": "2017-10-23T01:57:42+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [] -} diff --git a/tsconfig.json b/tsconfig.json index ab04275..651e8f3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "module": "commonjs" }, "include": [ - "*/assets", + "plugins/*/assets", "shims.d.ts" ] } diff --git a/webpack.config.ts b/webpack.config.ts index 11b6ee1..74d5e41 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -4,19 +4,23 @@ import type { Configuration } from 'webpack' const config: Configuration = { mode: 'production', entry: async () => { - const files = await glob(['*/assets/**/*.ts', '*/assets/**/*.tsx'], { - ignore: ['node_modules'], - }) + const files = await glob([ + 'plugins/*/assets/**/*.ts', + 'plugins/*/assets/**/*.tsx', + ]) // @ts-ignore return Object.fromEntries( files .filter((file) => !file.endsWith('.d.ts')) - .map((file) => [file.replace(/\.tsx?$/g, ''), `./${file}`]), + .map((file) => [ + file.replace('plugins/', '').replace(/\.tsx?$/g, ''), + `./${file}`, + ]), ) }, output: { - path: __dirname, + path: `${__dirname}/plugins`, filename: '[name].js', ecmaVersion: 2017, }, @@ -38,6 +42,7 @@ const config: Configuration = { react: 'React', 'react-dom': 'ReactDOM', }, + devtool: false, } export default config