Skip to content

Commit

Permalink
refactor: change package file structure
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
  • Loading branch information
Leptopoda committed Aug 5, 2024
1 parent 1bd0179 commit ac36f75
Show file tree
Hide file tree
Showing 388 changed files with 171 additions and 158 deletions.
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ bootstrap:

packages:
- packages/*
- packages/*/packages/*
- packages/dynamite/*
- packages/neon/*
- packages/**/example

ide:
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_dashboard/LICENSE
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions packages/app/packages/neon_dashboard/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_files/LICENSE
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
file_icons:
git:
url: https://github.com/nextcloud/neon
path: packages/file_icons
path: packages/neon_framework/packages/file_icons
file_picker: ^8.0.0+1
filesize: ^2.0.0
flutter:
Expand Down
18 changes: 18 additions & 0 deletions packages/app/packages/neon_files/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,file_icons,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
file_icons:
path: ../../../neon_framework/packages/file_icons
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_news/LICENSE
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions packages/app/packages/neon_news/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_notes/LICENSE
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions packages/app/packages/neon_notes/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_notifications/LICENSE
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions packages/app/packages/neon_notifications/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
1 change: 1 addition & 0 deletions packages/app/packages/neon_talk/LICENSE
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
file_icons:
git:
url: https://github.com/nextcloud/neon
path: packages/file_icons
path: packages/neon_framework/packages/file_icons
flutter:
sdk: flutter
flutter_localizations:
Expand Down
18 changes: 18 additions & 0 deletions packages/app/packages/neon_talk/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# melos_managed_dependency_overrides: cookie_store,dynamite_runtime,file_icons,neon_framework,neon_http_client,neon_lints,nextcloud,sort_box
dependency_overrides:
cookie_store:
path: ../../../cookie_store
dynamite_runtime:
path: ../../../dynamite/dynamite_runtime
file_icons:
path: ../../../neon_framework/packages/file_icons
neon_framework:
path: ../../../neon_framework
neon_http_client:
path: ../../../neon_framework/packages/neon_http_client
neon_lints:
path: ../../../neon_lints
nextcloud:
path: ../../../nextcloud
sort_box:
path: ../../../neon_framework/packages/sort_box
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions packages/app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ packages:
file_icons:
dependency: "direct overridden"
description:
path: "../file_icons"
path: "../neon_framework/packages/file_icons"
relative: true
source: path
version: "1.0.0"
Expand Down Expand Up @@ -829,14 +829,14 @@ packages:
neon_dashboard:
dependency: "direct main"
description:
path: "../neon/neon_dashboard"
path: "packages/neon_dashboard"
relative: true
source: path
version: "1.0.0"
neon_files:
dependency: "direct main"
description:
path: "../neon/neon_files"
path: "packages/neon_files"
relative: true
source: path
version: "1.0.0"
Expand All @@ -850,7 +850,7 @@ packages:
neon_http_client:
dependency: "direct overridden"
description:
path: "../neon_http_client"
path: "../neon_framework/packages/neon_http_client"
relative: true
source: path
version: "0.1.0"
Expand All @@ -864,28 +864,28 @@ packages:
neon_news:
dependency: "direct main"
description:
path: "../neon/neon_news"
path: "packages/neon_news"
relative: true
source: path
version: "1.0.0"
neon_notes:
dependency: "direct main"
description:
path: "../neon/neon_notes"
path: "packages/neon_notes"
relative: true
source: path
version: "1.0.0"
neon_notifications:
dependency: "direct main"
description:
path: "../neon/neon_notifications"
path: "packages/neon_notifications"
relative: true
source: path
version: "1.0.0"
neon_talk:
dependency: "direct main"
description:
path: "../neon/neon_talk"
path: "packages/neon_talk"
relative: true
source: path
version: "1.0.0"
Expand Down Expand Up @@ -1304,7 +1304,7 @@ packages:
sort_box:
dependency: "direct overridden"
description:
path: "../sort_box"
path: "../neon_framework/packages/sort_box"
relative: true
source: path
version: "1.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ dependencies:
neon_dashboard:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_dashboard
path: packages/apps/packages/neon_dashboard
neon_files:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_files
path: packages/apps/packages/neon_files
neon_framework:
git:
url: https://github.com/nextcloud/neon
path: packages/neon_framework
neon_news:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_news
path: packages/apps/packages/neon_news
neon_notes:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_notes
path: packages/apps/packages/neon_notes
neon_notifications:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_notifications
path: packages/apps/packages/neon_notifications
neon_talk:
git:
url: https://github.com/nextcloud/neon
path: packages/neon/neon_talk
path: packages/apps/packages/neon_talk
vector_graphics: any

dev_dependencies:
Expand Down
18 changes: 9 additions & 9 deletions packages/app/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ dependency_overrides:
dynamite_runtime:
path: ../dynamite/dynamite_runtime
file_icons:
path: ../file_icons
path: ../neon_framework/packages/file_icons
neon_dashboard:
path: ../neon/neon_dashboard
path: packages/neon_dashboard
neon_files:
path: ../neon/neon_files
path: packages/neon_files
neon_framework:
path: ../neon_framework
neon_http_client:
path: ../neon_http_client
path: ../neon_framework/packages/neon_http_client
neon_lints:
path: ../neon_lints
neon_news:
path: ../neon/neon_news
path: packages/neon_news
neon_notes:
path: ../neon/neon_notes
path: packages/neon_notes
neon_notifications:
path: ../neon/neon_notifications
path: packages/neon_notifications
neon_talk:
path: ../neon/neon_talk
path: packages/neon_talk
nextcloud:
path: ../nextcloud
sort_box:
path: ../sort_box
path: ../neon_framework/packages/sort_box
1 change: 0 additions & 1 deletion packages/file_icons/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion packages/neon/neon_dashboard/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions packages/neon/neon_dashboard/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion packages/neon/neon_files/LICENSE

This file was deleted.

18 changes: 0 additions & 18 deletions packages/neon/neon_files/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion packages/neon/neon_news/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions packages/neon/neon_news/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion packages/neon/neon_notes/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions packages/neon/neon_notes/pubspec_overrides.yaml

This file was deleted.

1 change: 0 additions & 1 deletion packages/neon/neon_notifications/LICENSE

This file was deleted.

Loading

0 comments on commit ac36f75

Please sign in to comment.