Skip to content

Commit

Permalink
fix types exports by @arethetypeswrong/cli package (#2605)
Browse files Browse the repository at this point in the history
* fix types exports by `@arethetypeswrong/cli` package

* aa
  • Loading branch information
dimaMachina authored Oct 9, 2024
1 parent 43c039e commit 2ae64e1
Show file tree
Hide file tree
Showing 4 changed files with 786 additions and 718 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-onions-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-eslint/eslint-plugin': patch
---

fix types exports by `@arethetypeswrong/cli` package
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pnpm": ">=9.0.6"
},
"scripts": {
"build": "turbo run build --filter=!website && bob check",
"build": "turbo run build --filter=!website && attw --pack packages/plugin/dist",
"ci:lint": "ESLINT_USE_FLAT_CONFIG=false eslint --ignore-path .gitignore --output-file eslint_report.json --format json .",
"create-rule": "tsx scripts/create-rule.ts",
"generate:configs": "tsx scripts/generate-configs.ts",
Expand All @@ -25,14 +25,14 @@
"typecheck": "turbo run typecheck"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.9",
"@graphql-tools/utils": "10.5.4",
"@theguild/eslint-config": "0.12.1",
"@theguild/prettier-config": "2.0.7",
"@types/dedent": "0.7.2",
"@types/node": "20.16.11",
"bob-the-bundler": "7.0.1",
"chalk": "5.3.0",
"dedent": "1.5.3",
"enquirer": "2.4.1",
Expand Down
7 changes: 1 addition & 6 deletions packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,16 @@
"engines": {
"node": ">=18"
},
"main": "dist/cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
Expand Down
Loading

0 comments on commit 2ae64e1

Please sign in to comment.