From 80633bf4cc0185bbd5cadd38d9921e662023db1c Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:34:31 +0200 Subject: [PATCH 1/3] Install @total-typescript/ts-reset --- package-lock.json | 13 ++++++++++--- package.json | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab426f9..fe51afb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,18 +19,19 @@ "devDependencies": { "@testing-library/jest-dom": "^6", "@testing-library/react": "^15", + "@total-typescript/ts-reset": "^0.5.1", "@types/jest": "^29", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", - "@typescript-eslint/eslint-plugin": "^7.11.0", - "@typescript-eslint/parser": "^7.11.0", + "@typescript-eslint/eslint-plugin": "^7", + "@typescript-eslint/parser": "^7", "autoprefixer": "^10", "concurrently": "^8", "eslint": "^8", "eslint-config-next": "^14", "eslint-config-prettier": "^9", - "eslint-plugin-import": "^2.29.1", + "eslint-plugin-import": "^2", "eslint-plugin-prettier": "^5", "jest": "^29", "jest-environment-jsdom": "^29", @@ -2323,6 +2324,12 @@ "node": ">= 10" } }, + "node_modules/@total-typescript/ts-reset": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@total-typescript/ts-reset/-/ts-reset-0.5.1.tgz", + "integrity": "sha512-AqlrT8YA1o7Ff5wPfMOL0pvL+1X+sw60NN6CcOCqs658emD6RfiXhF7Gu9QcfKBH7ELY2nInLhKSCWVoNL70MQ==", + "dev": true + }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", diff --git a/package.json b/package.json index 73feac3..ad7fc86 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "devDependencies": { "@testing-library/jest-dom": "^6", "@testing-library/react": "^15", + "@total-typescript/ts-reset": "^0.5.1", "@types/jest": "^29", "@types/node": "^20", "@types/react": "^18", From b500e66675f5fc146e778835f2e07ec8fdeef473 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:34:38 +0200 Subject: [PATCH 2/3] Add reset.d.ts file --- reset.d.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 reset.d.ts diff --git a/reset.d.ts b/reset.d.ts new file mode 100644 index 0000000..e3f32cd --- /dev/null +++ b/reset.d.ts @@ -0,0 +1,2 @@ +// Do not add any other lines of code to this file! +import '@total-typescript/ts-reset' From 78b0b2d616d76eda1759c442878b59bedbb68e38 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:44:45 +0200 Subject: [PATCH 3/3] Add compliance --- reset.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reset.d.ts b/reset.d.ts index e3f32cd..ef18f27 100644 --- a/reset.d.ts +++ b/reset.d.ts @@ -1,2 +1,10 @@ +// +// This source file is part of the Stanford Biodesign Digital Health Next.js Template open-source project +// +// SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + // Do not add any other lines of code to this file! import '@total-typescript/ts-reset'