chore: setup ts-reset

This commit is contained in:
Bart Stefanski 2023-04-16 19:16:23 +02:00
parent 5dda559b45
commit ed769dfe4b
6 changed files with 15 additions and 3 deletions

2
apps/docs/reset.d.ts vendored Normal file
View file

@ -0,0 +1,2 @@
// Do not add any other lines of code to this file!
import "@total-typescript/ts-reset"

2
apps/web/reset.d.ts vendored Normal file
View file

@ -0,0 +1,2 @@
// Do not add any other lines of code to this file!
import "@total-typescript/ts-reset"

View file

@ -18,6 +18,7 @@
"tailwind-merge": "^1.10.0" "tailwind-merge": "^1.10.0"
}, },
"devDependencies": { "devDependencies": {
"@total-typescript/ts-reset": "^0.4.2",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.14",
"eslint-config-custom": "*", "eslint-config-custom": "*",
"patch-package": "^6.5.1", "patch-package": "^6.5.1",

View file

@ -1,4 +1,4 @@
import * as React from "react"; import * as React from "react"
export const Button = () => { export const Button = () => {
return <button>Boop</button>; return <button>Boop</button>
}; }

2
packages/ui/reset.d.ts vendored Normal file
View file

@ -0,0 +1,2 @@
// Do not add any other lines of code to this file!
import "@total-typescript/ts-reset"

View file

@ -2160,6 +2160,11 @@
dependencies: dependencies:
tslib "^2.4.0" tslib "^2.4.0"
"@total-typescript/ts-reset@^0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@total-typescript/ts-reset/-/ts-reset-0.4.2.tgz#c564c173ba09973968e1046c93965b7a257878a4"
integrity sha512-vqd7ZUDSrXFVT1n8b2kc3LnklncDQFPvR58yUS1kEP23/nHPAO9l1lMjUfnPrXYYk4Hj54rrLKMW5ipwk7k09A==
"@types/acorn@^4.0.0": "@types/acorn@^4.0.0":
version "4.0.6" version "4.0.6"
resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22" resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22"