|
10 | 10 | ], |
11 | 11 | "funding": "https://opencollective.com/eslint-import-resolver-typescript", |
12 | 12 | "license": "ISC", |
13 | | - "workspaces": [ |
14 | | - ".", |
15 | | - "tests/nestedPackageJson" |
16 | | - ], |
17 | 13 | "packageManager": "yarn@4.8.0", |
18 | 14 | "engines": { |
19 | 15 | "node": "^16.17.0 || >=18.6.0" |
|
22 | 18 | "module": "lib/index.js", |
23 | 19 | "exports": { |
24 | 20 | ".": { |
25 | | - "types": "./lib/index.d.ts", |
26 | | - "require": "./lib/index.cjs", |
27 | | - "default": "./lib/index.js" |
| 21 | + "import": { |
| 22 | + "types": "./lib/index.d.ts", |
| 23 | + "default": "./lib/index.js" |
| 24 | + }, |
| 25 | + "module-sync": { |
| 26 | + "types": "./lib/index.d.ts", |
| 27 | + "default": "./lib/index.js" |
| 28 | + }, |
| 29 | + "require": { |
| 30 | + "types": "./index.d.cts", |
| 31 | + "default": "./lib/index.cjs" |
| 32 | + }, |
| 33 | + "default": { |
| 34 | + "types": "./lib/index.d.ts", |
| 35 | + "default": "./lib/index.js" |
| 36 | + } |
28 | 37 | }, |
29 | 38 | "./package.json": "./package.json" |
30 | 39 | }, |
|
48 | 57 | "lint": "run-p 'lint:*'", |
49 | 58 | "lint:es": "eslint . --cache", |
50 | 59 | "lint:tsc": "tsc -b --noEmit", |
51 | | - "prepare": "simple-git-hooks && yarn-berry-deduplicate || exit 0", |
| 60 | + "prepare": "simple-git-hooks && yarn-berry-deduplicate && cd tests/nestedPackageJson && yarn || exit 0", |
52 | 61 | "release": "clean-pkg-json && changeset publish", |
53 | 62 | "test": "run-p 'test:*'", |
54 | 63 | "test:absoluteAlias": "yarn eslint --ext ts,tsx tests/absoluteAlias", |
|
0 commit comments