prepare for monorepo
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
01e8458093
commit
071feea56c
|
@ -21,11 +21,11 @@ anchor idl upgrade --provider.cluster devnet --provider.wallet ${PROVIDER_WALLET
|
|||
--filepath target/idl/voter_stake_registry.json Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS
|
||||
|
||||
# update types in npm package and publish the npm package
|
||||
cp cp ./target/types/mango_v4.ts ./src/mango_v4.ts
|
||||
cp cp ./target/types/mango_v4.ts ./ts/mango_v4.ts
|
||||
yarn clean && yarn build && cp package.json ./dist/
|
||||
# yarn publish dist # TODO: should this package replace mango-v3-client?
|
||||
|
||||
echo
|
||||
echo Remember to commit and push the version update as well as the changes
|
||||
echo to src/mango_v4.tx.
|
||||
echo to ts/mango_v4.tx.
|
||||
echo
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"sourceMap": true,
|
||||
"target": "es6"
|
||||
},
|
||||
"include": ["./src/**/*"],
|
||||
"exclude": ["./src/**/*.test.js", "node_modules", "**/node_modules"]
|
||||
"include": ["./ts/**/*"],
|
||||
"exclude": ["./ts/**/*.test.js", "node_modules", "**/node_modules"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue