File tree 2 files changed +30
-2
lines changed
2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ extends : '../../.eslintrc.js' ,
3
+ ignorePatterns : [
4
+ '!**/*'
5
+ ] ,
6
+ overrides : [
7
+ {
8
+ files : [
9
+ '*.ts'
10
+ ] ,
11
+ parserOptions : {
12
+ project : [
13
+ 'tsconfig.json' ,
14
+ 'tsconfig.spec.json'
15
+ ] ,
16
+ createDefaultProgram : true
17
+ } ,
18
+ } ,
19
+ {
20
+ files : [
21
+ '*.html'
22
+ ] ,
23
+ rules : { }
24
+ }
25
+ ]
26
+ }
Original file line number Diff line number Diff line change 3
3
"nx" : {
4
4
"targets" : {
5
5
"build" : {
6
- "outputs" : [" {workspaceRoot}/dist/docs-utils" ]
6
+ "outputs" : [
7
+ " {workspaceRoot}/dist/docs-utils"
8
+ ]
7
9
}
8
10
}
9
11
},
14
16
"build" : " npm run clean && npm run build:bundle && npm run build:types && npm run build:copy-static" ,
15
17
"build:types" : " npx tsc --emitDeclarationOnly --declaration --project tsconfig.json" ,
16
18
"build:bundle" : " esbuild --outfile=../../dist/docs-utils/index.js --platform=node --bundle src/index.ts" ,
17
- "build:copy-static" :" shx cp package.json README.md ../../dist/docs-utils" ,
19
+ "build:copy-static" : " shx cp package.json README.md ../../dist/docs-utils && shx cp -R ../../dist/docs-utils/src/* ../../dist/docs-utils" ,
18
20
"clean" : " rimraf ../../dist/docs-utils" ,
19
21
"lint" : " eslint ." ,
20
22
"lint:fix" : " eslint . --fix" ,
You can’t perform that action at this time.
0 commit comments