diff --git a/copier.yaml b/copier.yaml index 683c8106..e7207802 100644 --- a/copier.yaml +++ b/copier.yaml @@ -58,6 +58,12 @@ ide_vscode: when: "{{ preset_name == 'custom' }}" default: yes +code_tours: + type: bool + help: Do you want to add interactive VSCode CodeTour walkthrough? + when: "{{ preset_name == 'custom' }}" + default: "{{ 'yes' if ide_vscode == yes else 'no' }}" + ide_jetbrains: type: bool help: Do you want to add JetBrains configuration (primarily optimized for PyCharm CE)? diff --git a/examples/generators/production_beaker_smart_contract_python/.pre-commit-config.yaml b/examples/generators/production_beaker_smart_contract_python/.pre-commit-config.yaml index 8862f86e..9099d0ae 100644 --- a/examples/generators/production_beaker_smart_contract_python/.pre-commit-config.yaml +++ b/examples/generators/production_beaker_smart_contract_python/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: description: "Run AlgoKit `Tealer` for TEAL static analysis" entry: algokit language: system - args: [task, analyze, ".algokit", "--recursive", "--force"] + args: [project, run, "audit-teal"] require_serial: false additional_dependencies: [] minimum_pre_commit_version: "0" diff --git a/examples/generators/production_beaker_smart_contract_typescript/.pre-commit-config.yaml b/examples/generators/production_beaker_smart_contract_typescript/.pre-commit-config.yaml index 8862f86e..9099d0ae 100644 --- a/examples/generators/production_beaker_smart_contract_typescript/.pre-commit-config.yaml +++ b/examples/generators/production_beaker_smart_contract_typescript/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: description: "Run AlgoKit `Tealer` for TEAL static analysis" entry: algokit language: system - args: [task, analyze, ".algokit", "--recursive", "--force"] + args: [project, run, "audit-teal"] require_serial: false additional_dependencies: [] minimum_pre_commit_version: "0" diff --git a/examples/production_beaker/.pre-commit-config.yaml b/examples/production_beaker/.pre-commit-config.yaml index 8862f86e..9099d0ae 100644 --- a/examples/production_beaker/.pre-commit-config.yaml +++ b/examples/production_beaker/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: description: "Run AlgoKit `Tealer` for TEAL static analysis" entry: algokit language: system - args: [task, analyze, ".algokit", "--recursive", "--force"] + args: [project, run, "audit-teal"] require_serial: false additional_dependencies: [] minimum_pre_commit_version: "0" diff --git a/template_content/{% if ide_vscode %}.tours{% endif %}/getting-started-with-your-algokit-project.tour.jinja b/template_content/{% if code_tours %}.tours{% endif %}/getting-started-with-your-algokit-project.tour.jinja similarity index 100% rename from template_content/{% if ide_vscode %}.tours{% endif %}/getting-started-with-your-algokit-project.tour.jinja rename to template_content/{% if code_tours %}.tours{% endif %}/getting-started-with-your-algokit-project.tour.jinja diff --git a/template_content/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja b/template_content/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja index eb7a8a7e..4a06c337 100644 --- a/template_content/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja +++ b/template_content/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja @@ -41,7 +41,7 @@ repos: description: "Run AlgoKit `Tealer` for TEAL static analysis" entry: algokit language: system - args: [task, analyze, ".algokit", "--recursive", "--force"] + args: [project, run, "audit-teal"] require_serial: false additional_dependencies: [] minimum_pre_commit_version: "0"