* Rework Unconstructable type * hasType updates * Unknown -> Unconstructable (as it was) * Remove commented test * class name * getOrThrow tests * typo. * getOrUnknown
23 lines
390 B
Bash
Executable File
23 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function copy_folder () {
|
|
SRC="packages/$1/build"
|
|
DST="../apps/node_modules/@polkadot/$1"
|
|
|
|
echo "** Copying $SRC to $DST"
|
|
|
|
rm -rf $DST
|
|
cp -r $SRC $DST
|
|
}
|
|
|
|
yarn polkadot-dev-build-ts
|
|
|
|
copy_folder "api"
|
|
copy_folder "api-contract"
|
|
copy_folder "api-derive"
|
|
copy_folder "metadata"
|
|
copy_folder "rpc-core"
|
|
copy_folder "rpc-provider"
|
|
copy_folder "jsonrpc"
|
|
copy_folder "types"
|