* Upgrade guide (to current) * ClassOf * JSON example * s/srml/interfaces/ * Typos * Update UPGRADING.md Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com> * Add copy-to-apps script * Properly extend exstended derive types * Round out UPGRADING * Version in CHANGELOG * Typos * Update UPGRADING.md * Update CHANGELOG * Bump common * 0.90.0-beta.0 * Cleanups * Split 0.82 & 0.90 * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update UPGRADING.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update CHANGELOG.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Update CHANGELOG.md Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Typo * findFunction -> api.findCall
23 lines
498 B
Bash
Executable File
23 lines
498 B
Bash
Executable File
#!/bin/sh
|
|
|
|
function copy_folder () {
|
|
SRC="packages/$1/build"
|
|
DST="apps/node_modules/@polkadot/$2"
|
|
|
|
echo "** Copying $SRC to apps/$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 "api-metadata" "api-metadata"
|
|
copy_folder "rpc-core" "rpc-core"
|
|
copy_folder "rpc-provider" "rpc-provider"
|
|
copy_folder "type-jsonrpc" "jsonrpc"
|
|
copy_folder "types" "types"
|