Skip to content

Commit

Permalink
fixed typescript module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ifeanyi-ugwu committed May 13, 2024
1 parent 207df0d commit ecbb075
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-global-id-directive",
"version": "0.0.3",
"version": "0.0.4",
"description": "graphql-global-id-directive is a package that includes a GlobalIdDirective class, which offers two directives: globalIdEncodeDirective and globalIdDecodeDirective. These directives handle the encoding and decoding of global IDs, making it a breeze to integrate global IDs into any GraphQL application.",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./GlobalIdDirective";
export * from "./GlobalIdDirective.js";
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
"target": "ES2015",
"module": "CommonJS",
"moduleResolution": "Node",
"module": "Node16",
"moduleResolution": "Node16",
"declaration": true,
"outDir": "./dist",
"declarationDir": "./types",
Expand Down

0 comments on commit ecbb075

Please sign in to comment.