Commit 443886e 1 parent 3a8730c commit 443886e Copy full SHA for 443886e
File tree 6 files changed +708
-41
lines changed
packages/eslint-config-turbo
6 files changed +708
-41
lines changed Original file line number Diff line number Diff line change 11
11
"url" : " https://github.com/vercel/turborepo/issues"
12
12
},
13
13
"scripts" : {
14
- "build" : " tsup " ,
15
- "lint" : " eslint . " ,
14
+ "build" : " bunchee " ,
15
+ "lint" : " eslint src " ,
16
16
"lint:prettier" : " prettier -c . --cache --ignore-path=../../.prettierignore"
17
17
},
18
18
"keywords" : [
22
22
" eslintconfig" ,
23
23
" eslint-config"
24
24
],
25
- "main" : " index.js" ,
25
+ "main" : " ./dist/cjs/ index.js" ,
26
26
"exports" : {
27
27
"./flat" : {
28
- "types" : " ./dist/flat/index.d.ts" ,
29
- "default" : " ./flat/index.js"
28
+ "import" : {
29
+ "types" : " ./dist/es/flat.d.mts" ,
30
+ "default" : " ./dist/es/flat.mjs"
31
+ },
32
+ "require" : {
33
+ "types" : " ./dist/cjs/flat.d.ts" ,
34
+ "default" : " ./dist/cjs/flat.js"
35
+ }
30
36
},
31
- "." : " ./index.js"
37
+ "." : {
38
+ "import" : {
39
+ "types" : " ./dist/es/index.d.mts" ,
40
+ "default" : " ./dist/es/index.mjs"
41
+ },
42
+ "require" : {
43
+ "types" : " ./dist/cjs/index.d.ts" ,
44
+ "default" : " ./dist/cjs/index.js"
45
+ }
46
+ }
32
47
},
33
48
"author" : " Vercel" ,
34
49
"dependencies" : {
43
58
"@turbo/eslint-config" : " workspace:*" ,
44
59
"@turbo/tsconfig" : " workspace:*" ,
45
60
"@types/eslint" : " ^8.56.10" ,
46
- "tsup" : " ^6.2.0"
47
- }
61
+ "bunchee" : " ^6.3.4"
62
+ },
63
+ "files" : [
64
+ " dist"
65
+ ],
66
+ "module" : " ./dist/es/index.mjs" ,
67
+ "types" : " ./dist/cjs/index.d.ts"
48
68
}
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line import/no-default-export -- Matching old module.exports
2
+ export default {
3
+ extends : [ "plugin:turbo/recommended" ] ,
4
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : "@turbo/tsconfig/library.json" ,
3
3
"compilerOptions" : {
4
- "rootDir " : ". "
4
+ "outDir " : "dist "
5
5
} ,
6
+ "include" : [ "src" ] ,
6
7
"exclude" : [ "dist" ]
7
8
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments