File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 12
12
"exports" : {
13
13
"./package.json" : " ./package.json" ,
14
14
"./prettier" : {
15
+ "types" : " ./build/src/prettier.d.mts" ,
15
16
"default" : " ./src/prettier.mjs"
16
17
},
17
18
"./eslint" : {
19
+ "types" : " ./build/src/eslint/index.d.mts" ,
18
20
"default" : " ./src/eslint/index.mjs"
19
21
}
20
22
},
21
23
"scripts" : {
22
- "build:types" : " tsc -p tsconfig.json --declaration --emitDeclarationOnly" ,
24
+ "build:types" : " tsc -p tsconfig.build.json" ,
25
+ "build" : " pnpm build:types" ,
23
26
"typescript" : " tsc -p tsconfig.json" ,
24
27
"test" : " pnpm -w test --project @mui/internal-code-infra"
25
28
},
66
69
"typescript-eslint" : " ^8.35.0"
67
70
},
68
71
"files" : [
72
+ " build" ,
69
73
" src" ,
70
- " package.json" ,
71
74
" README.md" ,
72
- " CHANGELOG.md" ,
73
75
" LICENSE"
74
76
],
75
77
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import airbnbTypescript from './airbnb/typescript.mjs';
15
15
import { createCoreConfig } from './material-ui/config.mjs' ;
16
16
import muiPlugin from './material-ui/index.mjs' ;
17
17
18
+ /**
19
+ * @type {import('eslint').Linter.Config }
20
+ */
18
21
export const baseSpecRules = {
19
22
files : [ '**/*.spec.*' ] ,
20
23
rules : {
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "noEmit" : false ,
5
+ "emitDeclarationOnly" : true ,
6
+ "declaration" : true ,
7
+ "removeComments" : true ,
8
+ "tsBuildInfoFile" : " ./node_modules/tmp/info.tsbuildinfo"
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments