Skip to content

Commit

Permalink
fix(all): fix title bug, add tests and prettier plugin (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-gustafsson authored Nov 21, 2022
1 parent 1914706 commit 96817ca
Show file tree
Hide file tree
Showing 15 changed files with 1,253 additions and 48 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ node_modules
/src/environment.ts
/dist
.env
/coverage
13 changes: 12 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,16 @@
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": false
"useTabs": false,
"bracketSameLine": false,
"plugins": [
"prettier-plugin-organize-attributes"
],
"attributeGroups": [
"^repeat.for$",
"^if.bind$",
"^click.delegate$",
"$DEFAULT",
"^data-cy"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
},
"[xml]": {
"editor.defaultFormatter": "mikeburgh.xml-format"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.moimob.drinkable"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 11400
versionName "1.14.0"
versionCode 11500
versionName "1.15.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
2 changes: 2 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/11500.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
• Added French translation
• Fixed a bug with page titles
5 changes: 3 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ export default async (): Promise<Config> => {
roots: ['<rootDir>/tests'],
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
'^.+\\.(ts|tsx)$': 'ts-jest'
},
moduleDirectories: ['node_modules', 'src'],
testEnvironment: 'jsdom',
moduleDirectories: ['node_modules', 'src']
};
};
Loading

0 comments on commit 96817ca

Please sign in to comment.