diff --git a/basics/account-data/native/package.json b/basics/account-data/native/package.json index f549ed08..3ea8d924 100644 --- a/basics/account-data/native/package.json +++ b/basics/account-data/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/basics/checking-accounts/native/package.json b/basics/checking-accounts/native/package.json index 5cea5009..2cc649d3 100644 --- a/basics/checking-accounts/native/package.json +++ b/basics/checking-accounts/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3" diff --git a/basics/close-account/native/package.json b/basics/close-account/native/package.json index 62d5ffb2..3cbc74a6 100644 --- a/basics/close-account/native/package.json +++ b/basics/close-account/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/close-account.test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.35" diff --git a/basics/counter/native/package.json b/basics/counter/native/package.json index 69dc2b9d..0a828830 100644 --- a/basics/counter/native/package.json +++ b/basics/counter/native/package.json @@ -10,8 +10,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/counter.test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "devDependencies": { "@types/bn.js": "^5.1.0", diff --git a/basics/create-account/native/package.json b/basics/create-account/native/package.json index 3cc45dbd..e9539836 100644 --- a/basics/create-account/native/package.json +++ b/basics/create-account/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3" diff --git a/basics/favorites/native/package.json b/basics/favorites/native/package.json index 68eb0cb0..6d01242e 100644 --- a/basics/favorites/native/package.json +++ b/basics/favorites/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/basics/pda-rent-payer/native/package.json b/basics/pda-rent-payer/native/package.json index 3cc45dbd..e9539836 100644 --- a/basics/pda-rent-payer/native/package.json +++ b/basics/pda-rent-payer/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3" diff --git a/basics/processing-instructions/native/package.json b/basics/processing-instructions/native/package.json index 3cc45dbd..e9539836 100644 --- a/basics/processing-instructions/native/package.json +++ b/basics/processing-instructions/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3" diff --git a/basics/program-derived-addresses/native/package.json b/basics/program-derived-addresses/native/package.json index d0fc0112..636a0814 100644 --- a/basics/program-derived-addresses/native/package.json +++ b/basics/program-derived-addresses/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/basics/realloc/native/package.json b/basics/realloc/native/package.json index 60d811b6..8182b914 100644 --- a/basics/realloc/native/package.json +++ b/basics/realloc/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tests/tsconfig.test.json -t 1000000 ./tests/realloc.test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.35", diff --git a/basics/rent/native/package.json b/basics/rent/native/package.json index 1979f007..43b39039 100644 --- a/basics/rent/native/package.json +++ b/basics/rent/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/basics/repository-layout/native/package.json b/basics/repository-layout/native/package.json index f549ed08..3ea8d924 100644 --- a/basics/repository-layout/native/package.json +++ b/basics/repository-layout/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/basics/transfer-sol/native/package.json b/basics/transfer-sol/native/package.json index b11e23ed..ae381579 100644 --- a/basics/transfer-sol/native/package.json +++ b/basics/transfer-sol/native/package.json @@ -3,8 +3,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.47.3", diff --git a/tokens/escrow/native/package.json b/tokens/escrow/native/package.json index 184bfe81..087d8aea 100644 --- a/tokens/escrow/native/package.json +++ b/tokens/escrow/native/package.json @@ -2,8 +2,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@solana/web3.js": "^1.95.4", diff --git a/tokens/token-2022/mint-close-authority/native/package.json b/tokens/token-2022/mint-close-authority/native/package.json index 5de90271..df6d7d9d 100644 --- a/tokens/token-2022/mint-close-authority/native/package.json +++ b/tokens/token-2022/mint-close-authority/native/package.json @@ -2,8 +2,8 @@ "scripts": { "test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/test.ts", "build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test", - "build": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so", - "deploy": "solana program deploy ./program/target/so/program.so" + "build": "cargo build-sbf --manifest-path=./program/Cargo.toml", + "deploy": "solana program deploy ./program/target/deploy/*.so" }, "dependencies": { "@metaplex-foundation/mpl-token-metadata": "^2.5.2",