|
55 | 55 | "when": "./src/index.mts", |
56 | 56 | "default": "./dist/index.mjs" |
57 | 57 | }, |
58 | | - "./package.json": "./package.json" |
| 58 | + "./package.json": "./package.json", |
| 59 | + "./testing": { |
| 60 | + "when": "./src/testing/index.mts", |
| 61 | + "default": "./dist/testing/index.mjs" |
| 62 | + } |
59 | 63 | }, |
60 | 64 | "imports": { |
61 | 65 | "#fixtures/*": "./__fixtures__/*.mts", |
|
67 | 71 | "when": "./src/lib/*.mts", |
68 | 72 | "default": "./dist/lib/*.mjs" |
69 | 73 | }, |
| 74 | + "#testing/*": { |
| 75 | + "when": "./src/testing/*.mts", |
| 76 | + "default": "./dist/testing/*.mjs" |
| 77 | + }, |
70 | 78 | "#tests/*": "./__tests__/*.mts", |
71 | 79 | "#types/*": { |
72 | 80 | "when": "./src/types/*.mts", |
|
82 | 90 | }, |
83 | 91 | "scripts": { |
84 | 92 | "build": "yarn clean:build && tsc -p tsconfig.build.json --noEmit false && yarn bundle:dts", |
85 | | - "bundle:dts": "rollup --config=rollup.config.mts && trash dist/{interfaces,types} && trash dist/{internal,lib}/*.d.mts", |
| 93 | + "bundle:dts": "rollup --config=rollup.config.mts && trash dist/**/{interfaces,types} && trash dist/**/lib/*.d.mts", |
86 | 94 | "check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn typecheck && yarn check:types && yarn test:cov && yarn pack && yarn check:types:build && attw package.tgz && yarn clean:pack", |
87 | 95 | "check:format": "dprint check --incremental=false", |
88 | 96 | "check:lint": "eslint --exit-on-fatal-error --max-warnings 0 .", |
|
124 | 132 | "@commitlint/cli": "20.4.2", |
125 | 133 | "@commitlint/types": "20.4.0", |
126 | 134 | "@edge-runtime/vm": "5.0.0", |
| 135 | + "@faker-js/faker": "10.3.0", |
127 | 136 | "@flex-development/commitlint-config": "1.0.1", |
128 | 137 | "@flex-development/eslint-config": "1.1.1", |
129 | 138 | "@flex-development/grease": "3.0.0-alpha.9", |
|
0 commit comments