Skip to content

Commit f45c4be

Browse files
Merge pull request #9 from contentstack/feat/deps
chore: update dependencies and version bump to 1.0.5
2 parents fc7a540 + e363dc5 commit f45c4be

File tree

4 files changed

+1486
-1195
lines changed

4 files changed

+1486
-1195
lines changed

.talismanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ fileignoreconfig:
55
- filename: package-lock.json
66
ignore_detectors:
77
- filecontent
8+
- filename: codegen.ts
9+
ignore_detectors:
10+
- filecontent
811
version: "1.0"

codegen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { CodegenConfig } from '@graphql-codegen/cli';
22
import * as dotenv from 'dotenv';
33

44
dotenv.config();
5-
const apiKey = process.env.NEXT_PUBLIC_CONTENTSTACK_API_KEY;
6-
const environment = process.env.NEXT_PUBLIC_CONTENTSTACK_ENVIRONMENT;
7-
const region = process.env.NEXT_PUBLIC_CONTENTSTACK_REGION
5+
const apiKey = process.env.NEXT_PUBLIC_CONTENTSTACK_API_KEY!;
6+
const environment = process.env.NEXT_PUBLIC_CONTENTSTACK_ENVIRONMENT!;
7+
const region = process.env.NEXT_PUBLIC_CONTENTSTACK_REGION!;
88
const baseURL = region === 'EU' ? 'eu-graphql.contentstack.com' : 'graphql.contentstack.com'
9-
const accessToken = process.env.NEXT_PUBLIC_CONTENTSTACK_DELIVERY_TOKEN
9+
const accessToken = process.env.NEXT_PUBLIC_CONTENTSTACK_DELIVERY_TOKEN!;
1010

1111
const config: CodegenConfig = {
1212
schema: {

0 commit comments

Comments
 (0)