File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
# @graphprotocol/contracts
2
2
3
+ ## 6.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Correctly pass ts file list to tsc in prepack
8
+
3
9
## 6.1.1
4
10
5
11
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @graphprotocol/contracts" ,
3
- "version" : " 6.1.1 " ,
3
+ "version" : " 6.1.2 " ,
4
4
"description" : " Contracts for the Graph Protocol" ,
5
5
"directories" : {
6
6
"test" : " test"
Original file line number Diff line number Diff line change @@ -9,15 +9,11 @@ yarn clean
9
9
yarn build
10
10
11
11
# Refresh distribution folder
12
- rm -rf dist && mkdir -p dist/types/_src
12
+ rm -rf dist && mkdir -p ${TYPECHAIN_DIR}
13
13
cp -R build/abis/ dist/abis
14
- cp -R build/types/ dist/types/_src
15
-
16
- # ## Build Typechain bindings
14
+ cp -R build/types/ ${TYPECHAIN_DIR}
17
15
18
16
# Build and create TS declarations
19
- tsc -d ${TYPECHAIN_DIR} /_src/* .ts --outdir ${TYPECHAIN_DIR} --esModuleInterop
20
- # Copy back sources
21
- cp ${TYPECHAIN_DIR} /_src/* .ts ${TYPECHAIN_DIR}
22
- # Delete temporary src dir
23
- rm -rf ${TYPECHAIN_DIR} /_src
17
+ pushd ${TYPECHAIN_DIR}
18
+ ls * .ts ** /* .ts | xargs tsc --esModuleInterop
19
+ popd
You can’t perform that action at this time.
0 commit comments