From 0e3e72129ee8d0d0f3ac8919c70add489d329cec Mon Sep 17 00:00:00 2001 From: ilbertt Date: Mon, 3 Nov 2025 13:53:48 +0100 Subject: [PATCH 1/2] docs: add yaml schema to examples In VSCode or any of its forks with the [YAML](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension installed, adding the schema URL at the start of the file enables linting --- .../icp-canister-environment-variables/icp.yaml | 2 ++ examples/icp-canister-settings/icp.yaml | 2 ++ examples/icp-empty/icp.yaml | 2 ++ examples/icp-environments/icp.yaml | 2 ++ .../backend/canister.yaml | 2 ++ .../frontend/canister.yaml | 2 ++ .../icp-frontend-environment-variables/icp.yaml | 2 ++ examples/icp-motoko-mops/icp.yaml | 2 ++ examples/icp-motoko-recipe/icp.yaml | 4 +++- examples/icp-motoko/icp.yaml | 2 ++ examples/icp-network-connected/icp.yaml | 2 ++ .../icp-network-connected/networks/staging.yaml | 2 ++ examples/icp-network-inline/icp.yaml | 2 ++ examples/icp-pre-built/icp.yaml | 2 ++ examples/icp-progress-bar-test-bed/icp.yaml | 2 ++ .../icp-project-multi-canister-inline/icp.yaml | 2 ++ .../canisters/canister-1/canister.yaml | 2 ++ .../canisters/canister-2/canister.yaml | 2 ++ examples/icp-project-multi-canister/icp.yaml | 2 ++ examples/icp-project-single-canister/icp.yaml | 2 ++ examples/icp-recipe-local-file/icp.yaml | 2 ++ examples/icp-recipe-registry-official/icp.yaml | 2 ++ examples/icp-recipe-remote-url-official/icp.yaml | 2 ++ examples/icp-recipe-remote-url/icp.yaml | 2 ++ examples/icp-rust-recipe/icp.yaml | 2 ++ examples/icp-rust/icp.yaml | 16 +++++++++------- examples/icp-static-assets-recipe/icp.yaml | 2 ++ examples/icp-static-assets/icp.yaml | 2 ++ examples/icp-static-react-site/icp.yaml | 2 ++ examples/icp-sync/icp.yaml | 2 ++ examples/icp-wasm-metadata-recipe/icp.yaml | 2 ++ examples/icp-wasm-metadata/icp.yaml | 2 ++ examples/icp-wasm-optimization-recipe/icp.yaml | 2 ++ examples/icp-wasm-optimization/icp.yaml | 2 ++ 34 files changed, 76 insertions(+), 8 deletions(-) diff --git a/examples/icp-canister-environment-variables/icp.yaml b/examples/icp-canister-environment-variables/icp.yaml index 593b47141..b1aff56cb 100644 --- a/examples/icp-canister-environment-variables/icp.yaml +++ b/examples/icp-canister-environment-variables/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-canister-settings/icp.yaml b/examples/icp-canister-settings/icp.yaml index e405923bb..59f9dd0f8 100644 --- a/examples/icp-canister-settings/icp.yaml +++ b/examples/icp-canister-settings/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-empty/icp.yaml b/examples/icp-empty/icp.yaml index d1868fb0d..8ff21a155 100644 --- a/examples/icp-empty/icp.yaml +++ b/examples/icp-empty/icp.yaml @@ -1,2 +1,4 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - canisters/* diff --git a/examples/icp-environments/icp.yaml b/examples/icp-environments/icp.yaml index 156843d3f..cf7a5a2e0 100644 --- a/examples/icp-environments/icp.yaml +++ b/examples/icp-environments/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-frontend-environment-variables/backend/canister.yaml b/examples/icp-frontend-environment-variables/backend/canister.yaml index e567a4cbd..53dea7f67 100644 --- a/examples/icp-frontend-environment-variables/backend/canister.yaml +++ b/examples/icp-frontend-environment-variables/backend/canister.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json + name: backend build: diff --git a/examples/icp-frontend-environment-variables/frontend/canister.yaml b/examples/icp-frontend-environment-variables/frontend/canister.yaml index a53e17d1a..fb170361b 100644 --- a/examples/icp-frontend-environment-variables/frontend/canister.yaml +++ b/examples/icp-frontend-environment-variables/frontend/canister.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json + name: frontend build: diff --git a/examples/icp-frontend-environment-variables/icp.yaml b/examples/icp-frontend-environment-variables/icp.yaml index 70c4e8d48..93bd62122 100644 --- a/examples/icp-frontend-environment-variables/icp.yaml +++ b/examples/icp-frontend-environment-variables/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - backend - frontend diff --git a/examples/icp-motoko-mops/icp.yaml b/examples/icp-motoko-mops/icp.yaml index 260f90c31..991e991cb 100644 --- a/examples/icp-motoko-mops/icp.yaml +++ b/examples/icp-motoko-mops/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister build: diff --git a/examples/icp-motoko-recipe/icp.yaml b/examples/icp-motoko-recipe/icp.yaml index a14ffcfc5..b3d3a565c 100644 --- a/examples/icp-motoko-recipe/icp.yaml +++ b/examples/icp-motoko-recipe/icp.yaml @@ -1,4 +1,6 @@ -canister: +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + +canisters: - name: my-canister recipe: type: "@dfinity/motoko" diff --git a/examples/icp-motoko/icp.yaml b/examples/icp-motoko/icp.yaml index a8eb5824b..a57c0be3e 100644 --- a/examples/icp-motoko/icp.yaml +++ b/examples/icp-motoko/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister build: diff --git a/examples/icp-network-connected/icp.yaml b/examples/icp-network-connected/icp.yaml index 67c6c49da..2697da5c2 100644 --- a/examples/icp-network-connected/icp.yaml +++ b/examples/icp-network-connected/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-network-connected/networks/staging.yaml b/examples/icp-network-connected/networks/staging.yaml index c110b91ad..fb045e234 100644 --- a/examples/icp-network-connected/networks/staging.yaml +++ b/examples/icp-network-connected/networks/staging.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/network-yaml-schema.json + # This "staging" network is an alias for mainnet # "icp deploy --network staging" would deploy a second set of canisters to mainnet name: staging diff --git a/examples/icp-network-inline/icp.yaml b/examples/icp-network-inline/icp.yaml index 75f6b02c7..707af741e 100644 --- a/examples/icp-network-inline/icp.yaml +++ b/examples/icp-network-inline/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-pre-built/icp.yaml b/examples/icp-pre-built/icp.yaml index 584438103..78713bad9 100644 --- a/examples/icp-pre-built/icp.yaml +++ b/examples/icp-pre-built/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-progress-bar-test-bed/icp.yaml b/examples/icp-progress-bar-test-bed/icp.yaml index baa7378be..6d70e9888 100644 --- a/examples/icp-progress-bar-test-bed/icp.yaml +++ b/examples/icp-progress-bar-test-bed/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: canister-1 build: diff --git a/examples/icp-project-multi-canister-inline/icp.yaml b/examples/icp-project-multi-canister-inline/icp.yaml index 5c166ed93..85c98109a 100644 --- a/examples/icp-project-multi-canister-inline/icp.yaml +++ b/examples/icp-project-multi-canister-inline/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: canister-1 build: diff --git a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml index efb17e5ef..9e1e7b434 100644 --- a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json + name: canister-1 build: diff --git a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml index 6fbb24c0d..ca12ccc09 100644 --- a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json + name: canister-2 build: diff --git a/examples/icp-project-multi-canister/icp.yaml b/examples/icp-project-multi-canister/icp.yaml index d1868fb0d..8ff21a155 100644 --- a/examples/icp-project-multi-canister/icp.yaml +++ b/examples/icp-project-multi-canister/icp.yaml @@ -1,2 +1,4 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - canisters/* diff --git a/examples/icp-project-single-canister/icp.yaml b/examples/icp-project-single-canister/icp.yaml index 8041860b6..4a0f4c151 100644 --- a/examples/icp-project-single-canister/icp.yaml +++ b/examples/icp-project-single-canister/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-recipe-local-file/icp.yaml b/examples/icp-recipe-local-file/icp.yaml index 97fcb8487..df18d8264 100644 --- a/examples/icp-recipe-local-file/icp.yaml +++ b/examples/icp-recipe-local-file/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-recipe-registry-official/icp.yaml b/examples/icp-recipe-registry-official/icp.yaml index 44a8bb5f0..86a711ea7 100644 --- a/examples/icp-recipe-registry-official/icp.yaml +++ b/examples/icp-recipe-registry-official/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-recipe-remote-url-official/icp.yaml b/examples/icp-recipe-remote-url-official/icp.yaml index 93aacceb5..a375af18d 100644 --- a/examples/icp-recipe-remote-url-official/icp.yaml +++ b/examples/icp-recipe-remote-url-official/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-recipe-remote-url/icp.yaml b/examples/icp-recipe-remote-url/icp.yaml index c3c5ee552..93efd2bb1 100644 --- a/examples/icp-recipe-remote-url/icp.yaml +++ b/examples/icp-recipe-remote-url/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-rust-recipe/icp.yaml b/examples/icp-rust-recipe/icp.yaml index e9774bbfb..944a17635 100644 --- a/examples/icp-rust-recipe/icp.yaml +++ b/examples/icp-rust-recipe/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-rust/icp.yaml b/examples/icp-rust/icp.yaml index 4509f3a69..7aafae13f 100644 --- a/examples/icp-rust/icp.yaml +++ b/examples/icp-rust/icp.yaml @@ -1,8 +1,10 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister - build: - steps: - - type: script - commands: - - cargo build --target wasm32-unknown-unknown --release --locked - - mv target/wasm32-unknown-unknown/release/icp_template_rust.wasm "$ICP_WASM_OUTPUT_PATH" + - name: my-canister + build: + steps: + - type: script + commands: + - cargo build --target wasm32-unknown-unknown --release --locked + - mv target/wasm32-unknown-unknown/release/icp_template_rust.wasm "$ICP_WASM_OUTPUT_PATH" diff --git a/examples/icp-static-assets-recipe/icp.yaml b/examples/icp-static-assets-recipe/icp.yaml index 0814e109b..188d1069a 100644 --- a/examples/icp-static-assets-recipe/icp.yaml +++ b/examples/icp-static-assets-recipe/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-static-assets/icp.yaml b/examples/icp-static-assets/icp.yaml index 002d79364..92a580143 100644 --- a/examples/icp-static-assets/icp.yaml +++ b/examples/icp-static-assets/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-static-react-site/icp.yaml b/examples/icp-static-react-site/icp.yaml index 777efa3b0..b5eadb786 100644 --- a/examples/icp-static-react-site/icp.yaml +++ b/examples/icp-static-react-site/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-sync/icp.yaml b/examples/icp-sync/icp.yaml index f427b1f83..1856bfaee 100644 --- a/examples/icp-sync/icp.yaml +++ b/examples/icp-sync/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-wasm-metadata-recipe/icp.yaml b/examples/icp-wasm-metadata-recipe/icp.yaml index 470ec465e..0d3194772 100644 --- a/examples/icp-wasm-metadata-recipe/icp.yaml +++ b/examples/icp-wasm-metadata-recipe/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-wasm-metadata/icp.yaml b/examples/icp-wasm-metadata/icp.yaml index f010063dc..54b27b651 100644 --- a/examples/icp-wasm-metadata/icp.yaml +++ b/examples/icp-wasm-metadata/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister diff --git a/examples/icp-wasm-optimization-recipe/icp.yaml b/examples/icp-wasm-optimization-recipe/icp.yaml index 27ee1d5c9..6b9aa2ce3 100644 --- a/examples/icp-wasm-optimization-recipe/icp.yaml +++ b/examples/icp-wasm-optimization-recipe/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister recipe: diff --git a/examples/icp-wasm-optimization/icp.yaml b/examples/icp-wasm-optimization/icp.yaml index d1cf3fab5..ddab34cd4 100644 --- a/examples/icp-wasm-optimization/icp.yaml +++ b/examples/icp-wasm-optimization/icp.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json + canisters: - name: my-canister From d94e5bd3cbd3a0748e41cca7cf3a048618a63b8a Mon Sep 17 00:00:00 2001 From: ilbertt Date: Tue, 25 Nov 2025 11:02:29 +0100 Subject: [PATCH 2/2] chore: update links with latest available version --- examples/icp-canister-environment-variables/icp.yaml | 2 +- examples/icp-canister-settings/icp.yaml | 2 +- examples/icp-empty/icp.yaml | 2 +- examples/icp-environments/icp.yaml | 2 +- .../icp-frontend-environment-variables/backend/canister.yaml | 2 +- .../icp-frontend-environment-variables/frontend/canister.yaml | 2 +- examples/icp-frontend-environment-variables/icp.yaml | 2 +- examples/icp-motoko-mops/icp.yaml | 2 +- examples/icp-motoko-recipe/icp.yaml | 2 +- examples/icp-motoko/icp.yaml | 2 +- examples/icp-network-connected/icp.yaml | 2 +- examples/icp-network-connected/networks/staging.yaml | 2 +- examples/icp-network-inline/icp.yaml | 2 +- examples/icp-pre-built/icp.yaml | 2 +- examples/icp-progress-bar-test-bed/icp.yaml | 2 +- examples/icp-project-multi-canister-inline/icp.yaml | 2 +- .../canisters/canister-1/canister.yaml | 2 +- .../canisters/canister-2/canister.yaml | 2 +- examples/icp-project-multi-canister/icp.yaml | 2 +- examples/icp-project-single-canister/icp.yaml | 2 +- examples/icp-recipe-local-file/icp.yaml | 2 +- examples/icp-recipe-registry-official/icp.yaml | 2 +- examples/icp-recipe-remote-url-official/icp.yaml | 2 +- examples/icp-recipe-remote-url/icp.yaml | 2 +- examples/icp-rust-recipe/icp.yaml | 2 +- examples/icp-rust/icp.yaml | 2 +- examples/icp-static-assets-recipe/icp.yaml | 2 +- examples/icp-static-assets/icp.yaml | 2 +- examples/icp-static-react-site/icp.yaml | 2 +- examples/icp-sync/icp.yaml | 2 +- examples/icp-wasm-metadata-recipe/icp.yaml | 2 +- examples/icp-wasm-metadata/icp.yaml | 2 +- examples/icp-wasm-optimization-recipe/icp.yaml | 2 +- examples/icp-wasm-optimization/icp.yaml | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/examples/icp-canister-environment-variables/icp.yaml b/examples/icp-canister-environment-variables/icp.yaml index b1aff56cb..b03698012 100644 --- a/examples/icp-canister-environment-variables/icp.yaml +++ b/examples/icp-canister-environment-variables/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-canister-settings/icp.yaml b/examples/icp-canister-settings/icp.yaml index 59f9dd0f8..43c52c877 100644 --- a/examples/icp-canister-settings/icp.yaml +++ b/examples/icp-canister-settings/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-empty/icp.yaml b/examples/icp-empty/icp.yaml index 8ff21a155..6713c59f8 100644 --- a/examples/icp-empty/icp.yaml +++ b/examples/icp-empty/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - canisters/* diff --git a/examples/icp-environments/icp.yaml b/examples/icp-environments/icp.yaml index cf7a5a2e0..0fd4ea8e0 100644 --- a/examples/icp-environments/icp.yaml +++ b/examples/icp-environments/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-frontend-environment-variables/backend/canister.yaml b/examples/icp-frontend-environment-variables/backend/canister.yaml index 53dea7f67..f63c9ae65 100644 --- a/examples/icp-frontend-environment-variables/backend/canister.yaml +++ b/examples/icp-frontend-environment-variables/backend/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/canister-yaml-schema.json name: backend diff --git a/examples/icp-frontend-environment-variables/frontend/canister.yaml b/examples/icp-frontend-environment-variables/frontend/canister.yaml index fb170361b..6514a64eb 100644 --- a/examples/icp-frontend-environment-variables/frontend/canister.yaml +++ b/examples/icp-frontend-environment-variables/frontend/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/canister-yaml-schema.json name: frontend diff --git a/examples/icp-frontend-environment-variables/icp.yaml b/examples/icp-frontend-environment-variables/icp.yaml index 93bd62122..b1cb0d460 100644 --- a/examples/icp-frontend-environment-variables/icp.yaml +++ b/examples/icp-frontend-environment-variables/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - backend diff --git a/examples/icp-motoko-mops/icp.yaml b/examples/icp-motoko-mops/icp.yaml index 991e991cb..b84052e7d 100644 --- a/examples/icp-motoko-mops/icp.yaml +++ b/examples/icp-motoko-mops/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-motoko-recipe/icp.yaml b/examples/icp-motoko-recipe/icp.yaml index 21c6c8406..3fdf01e67 100644 --- a/examples/icp-motoko-recipe/icp.yaml +++ b/examples/icp-motoko-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-motoko/icp.yaml b/examples/icp-motoko/icp.yaml index a57c0be3e..71a59beac 100644 --- a/examples/icp-motoko/icp.yaml +++ b/examples/icp-motoko/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-network-connected/icp.yaml b/examples/icp-network-connected/icp.yaml index 2697da5c2..ecddb5d3d 100644 --- a/examples/icp-network-connected/icp.yaml +++ b/examples/icp-network-connected/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-network-connected/networks/staging.yaml b/examples/icp-network-connected/networks/staging.yaml index fb045e234..5f06a3eef 100644 --- a/examples/icp-network-connected/networks/staging.yaml +++ b/examples/icp-network-connected/networks/staging.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/network-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/network-yaml-schema.json # This "staging" network is an alias for mainnet # "icp deploy --network staging" would deploy a second set of canisters to mainnet diff --git a/examples/icp-network-inline/icp.yaml b/examples/icp-network-inline/icp.yaml index 707af741e..adc9c438f 100644 --- a/examples/icp-network-inline/icp.yaml +++ b/examples/icp-network-inline/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-pre-built/icp.yaml b/examples/icp-pre-built/icp.yaml index 78713bad9..f22008661 100644 --- a/examples/icp-pre-built/icp.yaml +++ b/examples/icp-pre-built/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-progress-bar-test-bed/icp.yaml b/examples/icp-progress-bar-test-bed/icp.yaml index 6d70e9888..7f6ea9750 100644 --- a/examples/icp-progress-bar-test-bed/icp.yaml +++ b/examples/icp-progress-bar-test-bed/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: canister-1 diff --git a/examples/icp-project-multi-canister-inline/icp.yaml b/examples/icp-project-multi-canister-inline/icp.yaml index 85c98109a..62449cc65 100644 --- a/examples/icp-project-multi-canister-inline/icp.yaml +++ b/examples/icp-project-multi-canister-inline/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: canister-1 diff --git a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml index 9e1e7b434..128922556 100644 --- a/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-1/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/canister-yaml-schema.json name: canister-1 diff --git a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml index ca12ccc09..dcdf10230 100644 --- a/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml +++ b/examples/icp-project-multi-canister/canisters/canister-2/canister.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/canister-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/canister-yaml-schema.json name: canister-2 diff --git a/examples/icp-project-multi-canister/icp.yaml b/examples/icp-project-multi-canister/icp.yaml index 8ff21a155..6713c59f8 100644 --- a/examples/icp-project-multi-canister/icp.yaml +++ b/examples/icp-project-multi-canister/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - canisters/* diff --git a/examples/icp-project-single-canister/icp.yaml b/examples/icp-project-single-canister/icp.yaml index 4a0f4c151..445f1e0db 100644 --- a/examples/icp-project-single-canister/icp.yaml +++ b/examples/icp-project-single-canister/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-local-file/icp.yaml b/examples/icp-recipe-local-file/icp.yaml index df18d8264..8c6f9519e 100644 --- a/examples/icp-recipe-local-file/icp.yaml +++ b/examples/icp-recipe-local-file/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-registry-official/icp.yaml b/examples/icp-recipe-registry-official/icp.yaml index 86a711ea7..15ca4ccd0 100644 --- a/examples/icp-recipe-registry-official/icp.yaml +++ b/examples/icp-recipe-registry-official/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-remote-url-official/icp.yaml b/examples/icp-recipe-remote-url-official/icp.yaml index a375af18d..6bec9188c 100644 --- a/examples/icp-recipe-remote-url-official/icp.yaml +++ b/examples/icp-recipe-remote-url-official/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-recipe-remote-url/icp.yaml b/examples/icp-recipe-remote-url/icp.yaml index 93efd2bb1..72f153a8e 100644 --- a/examples/icp-recipe-remote-url/icp.yaml +++ b/examples/icp-recipe-remote-url/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-rust-recipe/icp.yaml b/examples/icp-rust-recipe/icp.yaml index 807697a08..ce708514f 100644 --- a/examples/icp-rust-recipe/icp.yaml +++ b/examples/icp-rust-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-rust/icp.yaml b/examples/icp-rust/icp.yaml index 7aafae13f..408e8f72a 100644 --- a/examples/icp-rust/icp.yaml +++ b/examples/icp-rust/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-assets-recipe/icp.yaml b/examples/icp-static-assets-recipe/icp.yaml index 188d1069a..32fc8ce37 100644 --- a/examples/icp-static-assets-recipe/icp.yaml +++ b/examples/icp-static-assets-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-assets/icp.yaml b/examples/icp-static-assets/icp.yaml index 92a580143..3debcafd3 100644 --- a/examples/icp-static-assets/icp.yaml +++ b/examples/icp-static-assets/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-static-react-site/icp.yaml b/examples/icp-static-react-site/icp.yaml index b5eadb786..9a108dd2e 100644 --- a/examples/icp-static-react-site/icp.yaml +++ b/examples/icp-static-react-site/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-sync/icp.yaml b/examples/icp-sync/icp.yaml index 1856bfaee..a054fe480 100644 --- a/examples/icp-sync/icp.yaml +++ b/examples/icp-sync/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-metadata-recipe/icp.yaml b/examples/icp-wasm-metadata-recipe/icp.yaml index 0d3194772..ae74593d3 100644 --- a/examples/icp-wasm-metadata-recipe/icp.yaml +++ b/examples/icp-wasm-metadata-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-metadata/icp.yaml b/examples/icp-wasm-metadata/icp.yaml index 54b27b651..08ff17a4e 100644 --- a/examples/icp-wasm-metadata/icp.yaml +++ b/examples/icp-wasm-metadata/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-optimization-recipe/icp.yaml b/examples/icp-wasm-optimization-recipe/icp.yaml index 6b9aa2ce3..b89fa0cca 100644 --- a/examples/icp-wasm-optimization-recipe/icp.yaml +++ b/examples/icp-wasm-optimization-recipe/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister diff --git a/examples/icp-wasm-optimization/icp.yaml b/examples/icp-wasm-optimization/icp.yaml index ddab34cd4..626ee043e 100644 --- a/examples/icp-wasm-optimization/icp.yaml +++ b/examples/icp-wasm-optimization/icp.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/heads/main/docs/schemas/icp-yaml-schema.json +# yaml-language-server: $schema=https://github.com/dfinity/icp-cli/raw/refs/tags/v0.1.0-beta.0/docs/schemas/icp-yaml-schema.json canisters: - name: my-canister