Skip to content

Commit

Permalink
chore: tsconfig (#679)
Browse files Browse the repository at this point in the history
* fix: hide authorization header in v1/keys.verifyKey route

* chore: extend tsconfig from @unkey/tsconfig/base.json
  • Loading branch information
chronark authored Dec 12, 2023
1 parent ad22285 commit 4979b01
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 30 deletions.
1 change: 1 addition & 0 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231121.0",
"@unkey/tsconfig": "workspace:^",
"bun-types": "^1.0.15",
"rollup-plugin-node-builtins": "^2.1.2",
"typescript": "^5.3.2",
Expand Down
1 change: 1 addition & 0 deletions apps/api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@unkey/tsconfig/base.json",
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Projects */
Expand Down
1 change: 0 additions & 1 deletion apps/workflows/lib/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ export const connectDatabase = () =>
);

export * from "@unkey/db";
export * from "drizzle-orm";
1 change: 1 addition & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"devDependencies": {
"@types/node": "^20.8.7",
"@unkey/tsconfig": "workspace:^",
"openapi-typescript": "^6.7.2",
"tsup": "^7.2.0",
"tsx": "^3.14.0",
Expand Down
11 changes: 6 additions & 5 deletions packages/api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@unkey/tsconfig/base.json",
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Projects */
Expand Down Expand Up @@ -73,11 +74,11 @@
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
/* Type Checking */
"strict": true /* Enable all strict type-checking options. */,
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
"strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
"strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
"strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
Expand Down
49 changes: 25 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 comments on commit 4979b01

@vercel
Copy link

@vercel vercel bot commented on 4979b01 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

workflows – ./apps/workflows

unkey-workflows.vercel.app
workflows-unkey.vercel.app
workflows-git-main-unkey.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 4979b01 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

unkey – ./apps/web

unkey.vercel.app
unkey.dev
unkey-git-main-unkey.vercel.app
www.unkey.dev
unkey-unkey.vercel.app

Please sign in to comment.