Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-nullish-coalescing": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/member-delimiter-style": [
Expand Down
1 change: 1 addition & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exec < /dev/tty && git cz --hook || true
46 changes: 21 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,33 +47,34 @@
"@babel/core": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@babel/preset-typescript": "^7.27.1",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-jest": "^26.6.3",
"babel-loader": "^8.4.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-jest": "^29.7.0",
"babel-loader": "^10.0.0",
"commitizen": "^4.3.1",
"concurrently": "^5.3.0",
"concurrently": "^9.1.2",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"husky": "^4.3.8",
"jest": "^26.6.3",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.4",
"ts-jest": "^26.5.6",
"typescript": "^3.9.10",
"webpack": "^4.47.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.12"
"ts-jest": "^29.3.4",
"typescript": "^5.8.3",
"webpack": "^5.99.9",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"core-js": "3.32.0",
"regenerator-runtime": "^0.13.11",
"uuid": "^8.3.2"
"core-js": "3.42.0",
"regenerator-runtime": "^0.14.1",
"uuid": "^11.1.0"
},
"browserslist": [
"defaults",
Expand All @@ -95,11 +96,6 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"release": {
"branches": [
"master"
Expand Down
1 change: 0 additions & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
singleQuote: false,
trailingComma: "es5",
bracketSpacing: true,
jsxBracketSameLine: false,
arrowParens: "avoid",
rangeStart: 0,
rangeEnd: Infinity,
Expand Down
1 change: 1 addition & 0 deletions src/feature/eventType.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/naming-convention */
const EVENT_TYPES = {
"treatmentPlan.activated": "treatmentPlan.activated",
"patient.selected": "patient.selected",
Expand Down
4 changes: 2 additions & 2 deletions src/feature/featureType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ type PlatformOptions = TreatmentPlanOptions & { entrypoint?: Entrypoint };
type FeatureOptions<F extends FeatureType> = F extends "treatmentPlan"
? TreatmentPlanOptions
: F extends "platform"
? PlatformOptions
: Record<any, never>;
? PlatformOptions
: Record<any, never>;

interface Feature {
mount: (elementId: string) => Promise<void>;
Expand Down
1 change: 1 addition & 0 deletions src/fullscript.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/naming-convention */
type FullscriptDomain =
| "https://ca.fullscript.com"
| "https://us.fullscript.com"
Expand Down
1 change: 1 addition & 0 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const tokenizeData = async (patientInfo, fullscriptOptions) => {
const tokenizedInfo = await fetch(`${fsDomain}/api/embeddable/tokenize`, {
method: "POST",
body: JSON.stringify({ data: patientInfo }),
// eslint-disable-next-line @typescript-eslint/naming-convention
headers: { "Content-Type": "application/json" },
}).then(res => res.json());

Expand Down
Loading
Loading