Skip to content

Commit

Permalink
Add ts-reset to AvaTax app (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw authored Oct 21, 2024
1 parent 59cf745 commit 6133deb
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 100 deletions.
7 changes: 4 additions & 3 deletions apps/avatax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
"test": "vitest --project units"
},
"dependencies": {
"ulid": "2.3.0",
"@aws-sdk/client-dynamodb": "3.651.1",
"@aws-sdk/lib-dynamodb": "3.651.1",
"@aws-sdk/util-dynamodb": "3.651.1",
"dynamodb-toolbox": "1.8.2",
"@hookform/resolvers": "^3.3.1",
"@next/env": "^13.5.4",
"@opentelemetry/api": "../../node_modules/@opentelemetry/api",
Expand Down Expand Up @@ -59,6 +57,7 @@
"avatax": "^23.7.0",
"decimal.js-light": "2.5.1",
"dotenv": "16.3.1",
"dynamodb-toolbox": "1.8.2",
"graphql": "16.7.1",
"graphql-tag": "2.12.6",
"jotai": "^2.4.2",
Expand All @@ -70,12 +69,12 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.43.9",
"ulid": "2.3.0",
"urql": "4.0.4",
"usehooks-ts": "^2.9.1",
"zod": "3.21.4"
},
"devDependencies": {
"aws-sdk-client-mock": "4.0.1",
"@faker-js/faker": "^8.4.1",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/import-types-preset": "^3.0.0",
Expand All @@ -88,9 +87,11 @@
"@graphql-codegen/typescript-urql": "4.0.0",
"@graphql-typed-document-node/core": "3.2.0",
"@next/bundle-analyzer": "14.1.4",
"@total-typescript/ts-reset": "0.6.1",
"@types/react": "18.2.5",
"@types/react-dom": "18.2.5",
"@vitejs/plugin-react": "4.3.1",
"aws-sdk-client-mock": "4.0.1",
"eslint": "../../node_modules/eslint",
"eslint-config-saleor": "workspace:*",
"eslint-plugin-neverthrow": "^1.1.4",
Expand Down
1 change: 1 addition & 0 deletions apps/avatax/reset.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "@total-typescript/ts-reset";
9 changes: 8 additions & 1 deletion apps/avatax/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
"@/*": ["src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js", ".eslintrc.cjs"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"next.config.js",
".eslintrc.cjs",
"reset.d.ts"
],
"exclude": ["node_modules"]
}
Loading

0 comments on commit 6133deb

Please sign in to comment.