* Move Metadata to api-metadata * Make tests in api-metadata pass * Make tests in api-metadata pass * Refactor fromMetadata into decorated * Fix some linting * Replace headers * Fix all tests * Small lint * Fix tests * Fix metadata docs scripts * Fix import ordering * Add line breaks * Grumbles * Fix forgotten import * rpcMetadata everywhere * Fixlint * s/api-metadata/metadata * Fix latest tests * Fix lint * Fix tests
23 lines
484 B
Bash
Executable File
23 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function copy_folder () {
|
|
SRC="packages/$1/build"
|
|
DST="../apps/node_modules/@polkadot/$2"
|
|
|
|
echo "** Copying $SRC to $DST"
|
|
|
|
rm -rf $DST
|
|
cp -r $SRC $DST
|
|
}
|
|
|
|
yarn polkadot-dev-build-ts
|
|
|
|
copy_folder "api" "api"
|
|
copy_folder "api-contract" "api-contract"
|
|
copy_folder "api-derive" "api-derive"
|
|
copy_folder "metadata" "metadata"
|
|
copy_folder "rpc-core" "rpc-core"
|
|
copy_folder "rpc-provider" "rpc-provider"
|
|
copy_folder "type-jsonrpc" "jsonrpc"
|
|
copy_folder "types" "types"
|