diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 530cced16..39faef90e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,51 +101,4 @@ jobs: cp ../build/web/main.dart.js.map ./public/main.foss.dart.js.map git add . git commit -m 'Admin Portal - Selfhosted' - git push - -# build-next: -# name: Build Web - NEXT -# needs: build-main -# env: -# commit_secret: ${{secrets.commit_secret}} -# commit_email: ${{secrets.commit_email}} -# commit_name: ${{secrets.commit_name}} -# api_secret: ${{secrets.api_secret}} -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v1 -# - uses: subosito/flutter-action@v1 -# with: -# flutter-version: '3.3.0' -# - name: Setup Flutter -# run: | -# flutter doctor -v -# cp pubspec.next.yaml pubspec.yaml -# rm pubspec.lock -# flutter pub get -# flutter config --enable-web -# - name: Prepare App -# run: | -# cp lib/.env.dart.example lib/.env.dart -# sed -i 's/secret/${{secrets.api_secret}}/g' lib/.env.dart -# echo "const FLUTTER_VERSION = const " > lib/flutter_version.dart -# flutter --version --machine >> lib/flutter_version.dart -# echo ";" >> lib/flutter_version.dart -# - name: Build Hosted App -# run: | -# flutter build web -# -# sed -i '/index.html/d' build/web/flutter_service_worker.js -# -# git config --global user.email ${{secrets.commit_email}} -# git config --global user.name ${{secrets.commit_name}} -# -# git clone https://${{secrets.commit_secret}}@github.com/invoiceninja/invoiceninja.git -# cd invoiceninja -# -# git checkout v5-develop -# cp ../build/web/main.dart.js ./public/main.next.dart.js -# git add . -# git commit -m 'Admin Portal - Next' -# git push -# cd .. \ No newline at end of file + git push \ No newline at end of file diff --git a/pubspec.next.yaml b/pubspec.next.yaml deleted file mode 100644 index 8372f94f8..000000000 --- a/pubspec.next.yaml +++ /dev/null @@ -1,121 +0,0 @@ -name: invoiceninja_flutter -description: Client for Invoice Ninja -version: 5.0.112+112 -homepage: https://invoiceninja.com -documentation: https://invoiceninja.github.io -publish_to: none - -environment: - sdk: ">=2.9.0 <3.0.0" - -flutter_icons: - android: true - ios: true - image_path: "assets/images/mobile_icon.png" - adaptive_icon_foreground: "assets/images/mobile_icon.png" - adaptive_icon_background: "#0091EA" - -dependencies: - flutter: - sdk: flutter - flutter_localizations: - sdk: flutter - google_sign_in: ^5.0.7 - in_app_review: ^2.0.4 - in_app_purchase: ^3.1.1 - pinput: ^2.2.11 - flutter_redux: ^0.8.2 - redux_logging: ^0.5.0 - http: ^0.13.3 - path_provider: ^2.0.2 - shared_preferences: ^2.0.6 - material_design_icons_flutter: ^5.0.6295 - built_value: ^8.1.2 - built_collection: ^5.1.0 - memoize: ^3.0.0 - cached_network_image: 3.0.0 # imageRenderMethodForWeb: ImageRenderMethodForWeb.HttpGet, - url_launcher: ^6.0.20 - share: ^2.0.4 - intl: ^0.17.0 - flutter_slidable: ^1.1.0 - charts_flutter: ^0.12.0 - #qr_flutter: ^4.0.0 - qr_flutter: # https://github.com/theyakka/qr.flutter/issues/174#issuecomment-1084235757 - git: - url: https://github.com/theyakka/qr.flutter.git - local_auth: ^1.1.6 - sentry_flutter: ^6.20.1 - image_picker: ^0.8.6+3 - flutter_colorpicker: ^1.0.3 - flutter_json_viewer: ^1.0.1 - webview_flutter: ^2.0.10 - timeago: ^3.1.0 - package_info: ^2.0.2 - rounded_loading_button: ^2.1.0 - version: ^2.0.0 - # flutter_launcher_icons: ^0.9.1 - overflow_view: ^0.3.1 - flutter_styled_toast: ^2.0.0 - permission_handler: ^9.2.0 - file_picker: ^5.2.5 - boardview: ^0.2.2 - pointer_interceptor: ^0.9.0 - contacts_service: ^0.6.3 - diacritic: ^0.1.3 - states_rebuilder: ^5.2.0 - # super_editor: ^0.2.0 - markdown: ^5.0.0 # REMOVE THIS - super_editor: - git: - url: https://github.com/superlistapp/super_editor.git - path: super_editor - ref: 1601fdce95ebfa34bddf80cab3e58e700b0edec3 - html2md: ^1.2.6 - printing: ^5.10.1 - image_cropper: ^3.0.1 - msal_js: ^2.14.0 - sign_in_with_apple: ^4.3.0 - window_manager: ^0.3.0 - # bitsdojo_window: ^0.1.5 - intl_phone_field: ^3.1.0 - flutter_staggered_grid_view: ^0.6.2 - # quick_actions: ^0.2.1 - # idb_shim: ^1.11.1+1 - -dev_dependencies: - flutter_driver: - sdk: flutter - test: ^1.6.3 - flutter_test: - sdk: flutter - build_runner: ^2.1.0 - built_value_generator: ^8.1.1 - faker: ^2.0.0 - msix: ^3.5.1 - import_sorter: ^4.6.0 - -flutter: - - uses-material-design: true - - assets: - - assets/images/icon.png - - assets/images/logo_light.png - - assets/images/logo_dark.png - - assets/images/google_logo.png - - assets/images/payment_types/ - - fonts: - - family: Roboto - fonts: - - asset: assets/google_fonts/Roboto-Regular.ttf - -msix_config: - display_name: Invoice Ninja - publisher_display_name: Invoice Ninja - identity_name: InvoiceNinja.InvoiceNinja - publisher: CN=2B7AA393-06A0-46F5-AF85-1917142440C3 - architecture: x64 - capabilities: 'internetClient' - store: true - logo_path: assets/images/icon.png \ No newline at end of file