Skip to content

Commit b50a40d

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/mcf-remove-max-file-size-config
2 parents 0d7ac3f + faa5641 commit b50a40d

7 files changed

Lines changed: 25 additions & 20 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ic-ledger-types = "0.16.0"
2929
include_dir = "0.7.4"
3030
icrc-ledger-types = "0.1.12"
3131
mime_guess = "2.0.5"
32-
pocket-ic = "12.0.0"
32+
pocket-ic = "13.0.0"
3333
serde = { version = "1.0.228", features = ["derive"] }
3434
serde_cbor = "0.11.2"
3535
serde_json = "1.0.149"

canisters/icp-dapp-launcher/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "icp-dapp-launcher",
3-
"version": "1.1.0",
3+
"version": "1.1.2",
44
"dependencies": {
55
"@dfinity/gix-components": "^10.0.0",
66
"@web3nl/my-canister-dashboard": "0.8.0"
77
},
8-
"deployedAtCommit": "3ccd54cd9ac462d4f2f358a4d2cac18bf2d86f82",
8+
"deployedAtCommit": "64a87a494ce6716833a6066318987c11ab2f29f5",
99
"engines": {
1010
"node": ">=22.0.0"
1111
},

canisters/icp-dapp-launcher/src/lib/constants/canisterIds.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ export const INDEX_CANISTER_ID = 'qhbym-qaaaa-aaaaa-aaafq-cai';
33
export const CMC_CANISTER_ID = 'rkp4c-7iaaa-aaaaa-aaaca-cai';
44

55
export const WASM_REGISTRY_CANISTER_ID =
6-
(import.meta.env.VITE_WASM_REGISTRY_CANISTER_ID as string) || '';
6+
(import.meta.env.VITE_WASM_REGISTRY_CANISTER_ID as string) ||
7+
'eeqt3-riaaa-aaaal-qbsva-cai';
78

89
export const DEMOS_CANISTER_ID =
9-
(import.meta.env.VITE_DEMOS_CANISTER_ID as string) || '';
10+
(import.meta.env.VITE_DEMOS_CANISTER_ID as string) ||
11+
'maqro-xqaaa-aaaal-qceuq-cai';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const prerender = true;
22
export const ssr = false;
3-
export const trailingSlash = 'ignore';
3+
export const trailingSlash = 'always';

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/deploy-launcher.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ if [[ -n $(git status --porcelain) ]]; then
2626
exit 1
2727
fi
2828

29-
# Deploy the app (ICP_NETWORK=ic triggers production build)
29+
# Build the launcher for production — ICP_NETWORK=ic must be set during vite build
30+
# so the PROD constant is true at compile time (icp deploy does not run npm build)
31+
echo "🔨 Building icp-dapp-launcher for production..."
32+
(cd canisters/icp-dapp-launcher && ICP_NETWORK=ic npm run build)
33+
3034
echo "🚢 Deploying to IC..."
31-
ICP_NETWORK=ic icp deploy icp-dapp-launcher -e mainnet --identity web3nl
35+
icp deploy icp-dapp-launcher -e mainnet --identity web3nl
3236

3337
# Get current commit hash after successful deploy
3438
COMMIT_HASH=$(git rev-parse HEAD)

0 commit comments

Comments
 (0)