File tree 6 files changed +7
-198
lines changed
6 files changed +7
-198
lines changed Original file line number Diff line number Diff line change 16
16
- name : Install dependencies
17
17
run : npm install
18
18
- name : Build TypeScript project
19
- run : npm run docs
19
+ run : npm run build
20
20
- name : Ensure there are no changes in docs
21
21
run : git diff --exit-code docs/
Original file line number Diff line number Diff line change 16
16
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
17
17
run : |
18
18
npm install
19
- npm run compile
19
+ npm run build
20
20
npm publish
Original file line number Diff line number Diff line change 19
19
20
20
"dtsRollup" : {
21
21
"enabled" : true ,
22
- "untrimmedFilePath" : " docs/generated/api .d.ts" ,
22
+ "untrimmedFilePath" : " build/src/index .d.ts" ,
23
23
"omitTrimmingComments" : true
24
24
},
25
25
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
},
19
19
"scripts" : {
20
20
"test" : " mocha build/test --recursive" ,
21
+ "build" : " npm run clean && npm run compile && npm run docs" ,
21
22
"conformance" : " ./run_conformance_tests.sh" ,
22
23
"check" : " gts check" ,
23
24
"clean" : " gts clean" ,
24
- "compile" : " rm -rf ./build && tsc -p ." ,
25
+ "compile" : " tsc -p ." ,
25
26
"fix" : " gts fix" ,
26
- "predocs" : " npm run compile" ,
27
27
"docs" : " api-extractor run --local --verbose" ,
28
28
"watch" : " npm run compile -- --watch" ,
29
- "prepare" : " npm run compile " ,
29
+ "prepare" : " npm run build " ,
30
30
"pretest" : " npm run compile"
31
31
},
32
32
"files" : [
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " gts/tsconfig-google.json" ,
2
+ "extends" : " ./node_modules/ gts/tsconfig-google.json" ,
3
3
"compilerOptions" : {
4
4
"rootDir" : " ." ,
5
5
"outDir" : " build" ,
You can’t perform that action at this time.
0 commit comments