Skip to content

Commit

Permalink
Merge pull request #132 from myclubapp/feat/angular18
Browse files Browse the repository at this point in the history
Feat/angular18
  • Loading branch information
sansan88 authored Oct 10, 2024
2 parents dbe9a3d + 88193bc commit 0767422
Show file tree
Hide file tree
Showing 1,005 changed files with 28,592 additions and 35,841 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build (BETA)
run: npm run build:beta
- name: Deploy to Firebase
Expand Down
36 changes: 12 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build (Default Unihockey)
run: npm run build:prod
- name: Deploy to Firebase
Expand All @@ -36,11 +34,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build app-kadetten-unihockey
run: npm run build:app-kadetten-unihockey
- name: Deploy to Firebase
Expand All @@ -59,11 +55,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build app-uhc-win-u
run: npm run build:app-uhc-win-u
- name: Deploy to Firebase
Expand All @@ -82,11 +76,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build app-stv-spreitenbach
run: npm run build:app-stv-spreitenbach
- name: Deploy to Firebase
Expand All @@ -105,11 +97,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build app-vbc-schaffhausen
run: npm run build:app-vbc-schaffhausen
- name: Deploy to Firebase
Expand All @@ -128,11 +118,9 @@ jobs:
- name: Config Node Version because of npm login issues.
uses: actions/setup-node@master
with:
node-version: 18
node-version: 20
- name: Install Dependencies
run: |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
npm ci
run: npm i --force
- name: Build app-kadetten-handball
run: npm run build:app-kadetten-handball
- name: Deploy to Firebase
Expand Down
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx pretty-quick --staged
npx pretty-quick --staged
11 changes: 10 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/.angular
/.angular
/.github
/.husky
/.vscode
/android
/docs
/e2e
/icons
/ios
/node_modules
Binary file removed Untitled
Binary file not shown.
123 changes: 123 additions & 0 deletions android/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions android/.idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions android/.idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions android/.idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions android/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
apply plugin: 'com.android.application'

android {

packagingOptions {
resources {
excludes += ['META-INF/NOTICE', 'META-INF/LICENSE', 'META-INF/NOTICE', 'META-INF/LICENSE']
}
}
namespace "app.myclub.defaultapp"
compileSdkVersion rootProject.ext.compileSdkVersion
compileSdk rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "app.myclub.defaultapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 4
versionName "1.4.10"
versionCode 106
versionName "1.8.12"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
4 changes: 3 additions & 1 deletion android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ android {

apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
implementation project(':capacitor-app')
implementation project(':capacitor-browser')
implementation project(':capacitor-camera')
implementation project(':capacitor-clipboard')
implementation project(':capacitor-device')
implementation project(':capacitor-dialog')
implementation project(':capacitor-geolocation')
implementation project(':capacitor-google-maps')
implementation project(':capacitor-haptics')
implementation project(':capacitor-keyboard')
implementation project(':capacitor-network')
implementation project(':capacitor-preferences')
implementation project(':capacitor-push-notifications')
implementation project(':capacitor-share')
implementation project(':capacitor-splash-screen')
implementation project(':capacitor-status-bar')
implementation project(':myclub-widget-plugin')

}
apply from: "../../node_modules/cordova-plugin-ionic/src/android/cordovapluginionic.gradle"
Expand Down
1 change: 0 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
</application>

<!-- Permissions -->

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.LOCATION" />
Expand Down
3 changes: 3 additions & 0 deletions android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"alert"
]
}
},
"ios": {
"scheme": "App"
}
}
Loading

0 comments on commit 0767422

Please sign in to comment.