Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Reorganizing project packages #320

Merged
merged 5 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .docker/dev/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV NODE_OPTIONS="--max_old_space_size=4096"

# Install dependencies using Yarn
RUN yarn install
RUN yarn global add @rollup/rollup-linux-arm64-musl

EXPOSE 3000
EXPOSE 6006
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/monorepo-matrix.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[
{
"organization": "FastyBird",
"name": "application-library",
"local-path": "src/FastyBird/Library/Application"
"name": "application",
"local-path": "src/FastyBird/Core/Application"
},
{
"organization": "FastyBird",
"name": "exchange-library",
"local-path": "src/FastyBird/Library/Exchange"
"name": "exchange",
"local-path": "src/FastyBird/Core/Exchange"
},
{
"organization": "FastyBird",
"name": "metadata-library",
"local-path": "src/FastyBird/Library/Metadata"
"name": "tools",
"local-path": "src/FastyBird/Core/Tools"
},
{
"organization": "FastyBird",
"name": "tools-library",
"local-path": "src/FastyBird/Library/Tools"
"name": "metadata-library",
"local-path": "src/FastyBird/Library/Metadata"
},
{
"organization": "FastyBird",
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ qa: ## Check code quality - coding style and static analysis

cs: ## Check PHP files coding style
mkdir -p var/tools/PHP_CodeSniffer
$(PRE_PHP) "vendor/bin/phpcs" src app --standard=$(PHPCS_CONFIG) --parallel=$(LOGICAL_CORES) $(ARGS)
$(PRE_PHP) "vendor/bin/phpcs" src --standard=$(PHPCS_CONFIG) --parallel=$(LOGICAL_CORES) $(ARGS)

csf: ## Fix PHP files coding style
mkdir -p var/tools/PHP_CodeSniffer
$(PRE_PHP) "vendor/bin/phpcbf" src app --standard=$(PHPCS_CONFIG) --parallel=$(LOGICAL_CORES) $(ARGS)
$(PRE_PHP) "vendor/bin/phpcbf" src --standard=$(PHPCS_CONFIG) --parallel=$(LOGICAL_CORES) $(ARGS)

lint:
$(PRE_PHP) "vendor/bin/parallel-lint" src app --exclude .git --exclude vendor
$(PRE_PHP) "vendor/bin/parallel-lint" src --exclude .git --exclude vendor

phpstan: ## Analyse code with PHPStan
mkdir -p var/tools
$(PRE_PHP) "vendor/bin/phpstan" analyse -c $(PHPSTAN_SRC_CONFIG) $(ARGS)
$(PRE_PHP) "vendor/bin/phpstan" analyse -c $(PHPSTAN_TESTS_CONFIG) $(ARGS)

# Tests
# TESTS

.PHONY: tests
tests: ## Run all tests
Expand Down Expand Up @@ -60,7 +60,7 @@ mutations-infection:
--skip-initial-tests \
$(ARGS)

# Docker
# DOCKER

up:
docker-compose up -d
Expand All @@ -74,7 +74,7 @@ bash:
bash-root:
docker-compose exec -u 0 application bash

# Utilities
# UTILITIES

.SILENT: $(shell grep -h -E '^[a-zA-Z_-]+:.*?$$' $(MAKEFILE_LIST) | sort -u | awk 'BEGIN {FS = ":.*?"}; {printf "%s ", $$1}')

Expand Down
19 changes: 0 additions & 19 deletions app/.prettierrc

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/components/app-gravatar.types.ts

This file was deleted.

193 changes: 0 additions & 193 deletions app/assets/components/app-navigation.vue

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/components/types.ts

This file was deleted.

7 changes: 0 additions & 7 deletions app/assets/composables/darkMode.ts

This file was deleted.

2 changes: 0 additions & 2 deletions app/assets/composables/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions app/assets/composables/types.ts

This file was deleted.

9 changes: 0 additions & 9 deletions app/assets/env.d.ts

This file was deleted.

23 changes: 0 additions & 23 deletions app/assets/locales/en-US.json

This file was deleted.

Loading
Loading