diff --git a/.env.local b/.env.local index f4494e11..5c9218c6 100644 --- a/.env.local +++ b/.env.local @@ -50,11 +50,13 @@ I18N_DOMAIN = "cymru.local" //Next Auth vars NEXTAUTH_URL=$API_ROOT NEXTAUTH_URL_INTERNAL=$API_ROOT +NEXTAUTH_SECRET = SuperSecret DATABASE_URL = sqlserver://pedw-dev-test-sql-svr.database.windows.net:1433;database=PEDWDev;user=RobBondSQL;password=GhWKr62F5sQ69dZx;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;authentication=ActiveDirectoryPassword SECRET = SuperSecret + //Azure Storage Account AZURE_CLIENT_ID = $CLIENT_ID diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03d..fd36f949 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index 6db37c02..ed08869a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "target": "es5", "lib": [ "dom", "dom.iterable", @@ -17,10 +16,17 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve" + "jsx": "preserve", + "plugins": [ + { + "name": "next" + } + ], + "strictNullChecks": true }, "include": [ "next-env.d.ts", + ".next/types/**/*.ts", "**/*.ts", "**/*.tsx" ],