Skip to content

Commit 3781195

Browse files
Merge pull request #33 from Fullscript/update-packages
update packages
2 parents a86793b + a5467cf commit 3781195

File tree

9 files changed

+1878
-4620
lines changed

9 files changed

+1878
-4620
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
"@typescript-eslint/prefer-for-of": "error",
3333
"@typescript-eslint/prefer-function-type": "error",
3434
"@typescript-eslint/prefer-namespace-keyword": "error",
35-
"@typescript-eslint/prefer-nullish-coalescing": "error",
35+
"@typescript-eslint/prefer-nullish-coalescing": "warn",
3636
"@typescript-eslint/no-explicit-any": "off",
3737
"@typescript-eslint/indent": "off",
3838
"@typescript-eslint/member-delimiter-style": [

.husky/prepare-commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exec < /dev/tty && git cz --hook || true

package.json

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,34 @@
4747
"@babel/core": "^7.27.1",
4848
"@babel/preset-env": "^7.27.2",
4949
"@babel/preset-typescript": "^7.27.1",
50-
"@types/jest": "^26.0.24",
51-
"@typescript-eslint/eslint-plugin": "^3.10.1",
52-
"@typescript-eslint/parser": "^3.10.1",
53-
"babel-jest": "^26.6.3",
54-
"babel-loader": "^8.4.1",
50+
"@types/jest": "^29.5.14",
51+
"@typescript-eslint/eslint-plugin": "^7.18.0",
52+
"@typescript-eslint/parser": "^7.18.0",
53+
"babel-jest": "^29.7.0",
54+
"babel-loader": "^10.0.0",
5555
"commitizen": "^4.3.1",
56-
"concurrently": "^5.3.0",
56+
"concurrently": "^9.1.2",
5757
"cz-conventional-changelog": "3.3.0",
58-
"eslint": "^7.32.0",
59-
"eslint-config-prettier": "^6.15.0",
58+
"eslint": "^8.57.1",
59+
"eslint-config-prettier": "^7.2.0",
6060
"eslint-plugin-import": "^2.31.0",
6161
"eslint-plugin-prefer-arrow": "^1.2.3",
62-
"husky": "^4.3.8",
63-
"jest": "^26.6.3",
64-
"prettier": "^2.8.8",
65-
"rimraf": "^3.0.2",
62+
"husky": "^9.1.7",
63+
"jest": "^29.7.0",
64+
"jest-environment-jsdom": "^29.7.0",
65+
"prettier": "^3.5.3",
66+
"rimraf": "^6.0.1",
6667
"semantic-release": "^24.2.4",
67-
"ts-jest": "^26.5.6",
68-
"typescript": "^3.9.10",
69-
"webpack": "^4.47.0",
70-
"webpack-bundle-analyzer": "^3.9.0",
71-
"webpack-cli": "^3.3.12"
68+
"ts-jest": "^29.3.4",
69+
"typescript": "^5.8.3",
70+
"webpack": "^5.99.9",
71+
"webpack-bundle-analyzer": "^4.10.2",
72+
"webpack-cli": "^6.0.1"
7273
},
7374
"dependencies": {
74-
"core-js": "3.32.0",
75-
"regenerator-runtime": "^0.13.11",
76-
"uuid": "^8.3.2"
75+
"core-js": "3.42.0",
76+
"regenerator-runtime": "^0.14.1",
77+
"uuid": "^11.1.0"
7778
},
7879
"browserslist": [
7980
"defaults",
@@ -95,11 +96,6 @@
9596
"path": "./node_modules/cz-conventional-changelog"
9697
}
9798
},
98-
"husky": {
99-
"hooks": {
100-
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
101-
}
102-
},
10399
"release": {
104100
"branches": [
105101
"master"

prettier.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module.exports = {
66
singleQuote: false,
77
trailingComma: "es5",
88
bracketSpacing: true,
9-
jsxBracketSameLine: false,
109
arrowParens: "avoid",
1110
rangeStart: 0,
1211
rangeEnd: Infinity,

src/feature/eventType.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/naming-convention */
12
const EVENT_TYPES = {
23
"treatmentPlan.activated": "treatmentPlan.activated",
34
"patient.selected": "patient.selected",

src/feature/featureType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ type PlatformOptions = TreatmentPlanOptions & { entrypoint?: Entrypoint };
2828
type FeatureOptions<F extends FeatureType> = F extends "treatmentPlan"
2929
? TreatmentPlanOptions
3030
: F extends "platform"
31-
? PlatformOptions
32-
: Record<any, never>;
31+
? PlatformOptions
32+
: Record<any, never>;
3333

3434
interface Feature {
3535
mount: (elementId: string) => Promise<void>;

src/fullscript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/naming-convention */
12
type FullscriptDomain =
23
| "https://ca.fullscript.com"
34
| "https://us.fullscript.com"

src/utils/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const tokenizeData = async (patientInfo, fullscriptOptions) => {
3333
const tokenizedInfo = await fetch(`${fsDomain}/api/embeddable/tokenize`, {
3434
method: "POST",
3535
body: JSON.stringify({ data: patientInfo }),
36+
// eslint-disable-next-line @typescript-eslint/naming-convention
3637
headers: { "Content-Type": "application/json" },
3738
}).then(res => res.json());
3839

0 commit comments

Comments
 (0)