Skip to content

Commit 1a6c611

Browse files
committed
Added initial version of algorand typescript template without tests being run yet
1 parent 3bf90fa commit 1a6c611

File tree

274 files changed

+1581
-5979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

274 files changed

+1581
-5979
lines changed

copier.yaml

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ preset_name:
4444
"Custom - for tailoring the template output to your needs": "custom"
4545
default: "starter"
4646

47-
deployment_language:
48-
type: str
49-
help: What programming language do you want to use for your contract deployment code?
50-
choices:
51-
Python: "python"
52-
TypeScript: "typescript"
53-
default: "python"
54-
5547
ide_vscode:
5648
type: bool
5749
help: Do you want to add VSCode configuration?
@@ -70,44 +62,28 @@ ide_jetbrains:
7062
when: "{{ preset_name == 'custom' }}"
7163
default: "{{ 'yes' if preset_name == 'production' else 'no' }}"
7264

73-
use_python_pytest:
74-
type: bool
75-
when: "{{ deployment_language == 'python' and preset_name == 'custom' }}"
76-
help: Do you want to include unit tests (via pytest)?
77-
default: "{{ 'yes' if preset_name == 'production' and deployment_language == 'python' else 'no' }}"
78-
79-
use_typescript_jest:
65+
use_vitest:
8066
type: bool
81-
when: "{{ deployment_language == 'typescript' and preset_name == 'custom' }}"
82-
help: Do you want to include unit tests (via jest)?
83-
default: "{{ 'yes' if preset_name == 'production' and deployment_language == 'typescript' else 'no' }}"
84-
85-
python_linter:
86-
type: str
87-
help: Do you want to use a Python linter?
8867
when: "{{ preset_name == 'custom' }}"
89-
choices:
90-
Ruff: "ruff"
91-
Flake8: "flake8"
92-
No thanks: "none"
93-
default: "{{ 'ruff' if preset_name == 'production' else 'none' }}"
68+
help: Do you want to include unit tests (via vitest)?
69+
default: "{{ 'yes' if preset_name == 'production' else 'no' }}"
9470

95-
use_python_black:
71+
use_linter:
9672
type: bool
97-
help: Do you want to use a Python formatter (via Black)?
73+
help: Do you want to use a linter (via ESLint)?
9874
when: "{{ preset_name == 'custom' }}"
9975
default: "{{ 'yes' if preset_name == 'production' else 'no' }}"
10076

101-
use_python_mypy:
77+
use_prettier:
10278
type: bool
79+
help: Do you want to use a formatter (via Prettier)?
10380
when: "{{ preset_name == 'custom' }}"
104-
help: Do you want to use a Python type checker (via mypy)?
10581
default: "{{ 'yes' if preset_name == 'production' else 'no' }}"
10682

107-
use_python_pip_audit:
83+
use_audit:
10884
type: bool
10985
when: "{{ preset_name == 'custom' }}"
110-
help: Do you want to include Python dependency vulnerability scanning (via pip-audit)?
86+
help: Do you want to include dependency vulnerability scanning (via better-npm-audit)?
11187
default: "{{ 'yes' if preset_name == 'production' else 'no' }}"
11288

11389
use_github_actions:

examples/generators/production_python_smart_contract_python/.algokit.toml

Lines changed: 0 additions & 52 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.algokit/.copier-answers.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.algokit/generators/create_contract/smart_contracts/{{ contract_name }}/deploy_config.py.j2

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.github/workflows/production-python-smart-contract-python-cd.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.github/workflows/production-python-smart-contract-python-ci.yaml

Lines changed: 0 additions & 64 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.idea/runConfigurations/Build_Beaker_application.xml

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.idea/runConfigurations/Build_Beaker_application____LocalNet.xml

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/generators/production_python_smart_contract_python/.idea/runConfigurations/Build___Deploy_Beaker_application.xml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)