Skip to content

Commit

Permalink
feat(general): use semantiv versioning and version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dominique-boerner committed Sep 10, 2022
1 parent 726953a commit 8cb5afd
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 80 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/generate_version.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .idea/workspace.xml

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

4 changes: 2 additions & 2 deletions apps/mukosoft/src/app/features/settings/settings.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SettingsService } from "./services/settings-service/settings-service";
import { Patient } from "fhir/r4";

// @ts-ignore
import versionJson from "version.json";
import packageJson from "package.json";

@Component({
selector: "mukosoft-settings-page",
Expand All @@ -17,7 +17,7 @@ export class SettingsPage {
public readonly profileImage = this.settingsService.getPatientAvatar();
public readonly birthDate = new Date();

public readonly appVersion = versionJson.version;
public readonly appVersion = packageJson.version;

private newName = "";

Expand Down
42 changes: 0 additions & 42 deletions helper/create-version-json.js

This file was deleted.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"license": "MIT",
"scripts": {
"commit": "git-cz",
"pre:commit": "",
"e2e": "npm run e2e:app",
"e2e:app": "nx e2e mukosoft-e2e",
"ng": "nx",
Expand All @@ -16,7 +15,6 @@
"test": "nx test",
"test:app": "nx test mukosoft-app",
"test:website": "nx test mukosoft-website",
"prepare": "husky install",
"semantic-release": "semantic-release"
},
"private": true,
Expand Down Expand Up @@ -93,7 +91,6 @@
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.10.3",
"husky": "^8.0.0",
"jest": "27.5.1",
"jest-preset-angular": "~11.1.2",
"nx": "14.5.6",
Expand Down
1 change: 0 additions & 1 deletion version.json

This file was deleted.

0 comments on commit 8cb5afd

Please sign in to comment.