Skip to content

Commit

Permalink
fix ./testing submodule exports
Browse files Browse the repository at this point in the history
  • Loading branch information
cuzzlor committed May 30, 2024
1 parent c884587 commit 530f853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
8 changes: 6 additions & 2 deletions .tstoolkitrc.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import type { TsToolkitConfig } from "@makerx/ts-toolkit";
import type { TsToolkitConfig } from '@makerx/ts-toolkit'

const config: TsToolkitConfig = {
packageConfig: {
srcDir: 'src',
outDir: 'dist',
moduleType: 'commonjs',
main: 'index.ts',
}
exports: {
'.': 'index.ts',
'./testing': 'testing/index.ts',
},
},
}
export default config
15 changes: 1 addition & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
{
"name": "@makerx/graphql-apollo-server",
"version": "1.4.0",
"version": "1.4.1",
"private": false,
"description": "A set of MakerX plugins for Apollo Server",
"author": "MakerX",
"license": "MIT",
"type": "module",
"module": "index.mjs",
"types": "index.d.ts",
"main": "index.cjs",
"exports": {
".": {
"types": "./index.d.ts",
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.cjs",
"default": "./index.mjs"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=18.0"
},
Expand Down

0 comments on commit 530f853

Please sign in to comment.