Skip to content

Commit 0613b9e

Browse files
feat: add Jetbrains compatibility (#16)
* feat: add jetbrains compatibility * test: add tests for jetbrains * fix: fix jinja files * fix: fix jinja files * fix: fix generated tests * docs: add a document * fix: fix the dapp config * refactor: adjusting launch configs; regen artifacts * chore: adding xdist; fixing tests --------- Co-authored-by: Altynbek Orumbayev <[email protected]>
1 parent 873dcd7 commit 0613b9e

Some content is hidden

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

56 files changed

+2053
-715
lines changed

.github/workflows/check-python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
shell: bash
4646
run: |
4747
set -o pipefail
48-
poetry run pytest --junitxml=pytest-junit.xml
48+
poetry run pytest --junitxml=pytest-junit.xml -n auto
4949
5050
- name: Check generated templates have been reviewed
5151
shell: bash

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ dmypy.json
156156
cython_debug/
157157

158158
# PyCharm
159-
.idea/
160-
!.idea/runConfigurations
159+
.idea
160+
!.idea/
161+
.idea/*
162+
!.idea/runConfigurations/
161163

162164
# macOS
163165
.DS_Store

copier.yaml

Lines changed: 63 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -3,94 +3,100 @@ _subdirectory: template_content
33
# questions
44
# project_name should never get prompted, AlgoKit should always pass it by convention
55
project_name:
6-
type: str
7-
help: Name for this project.
8-
placeholder: "algorand-app"
6+
type: str
7+
help: Name for this project.
8+
placeholder: 'algorand-app'
99

1010
author_name:
11-
type: str
12-
help: Package author name
13-
placeholder: "Your Name"
11+
type: str
12+
help: Package author name
13+
placeholder: 'Your Name'
1414

1515
author_email:
16-
type: str
17-
help: Package author email
18-
placeholder: "[email protected]"
16+
type: str
17+
help: Package author email
18+
placeholder: '[email protected]'
1919

2020
ide_vscode:
21-
type: bool
22-
help: Do you want to add VSCode configuration?
23-
default: yes
21+
type: bool
22+
help: Do you want to add VSCode configuration?
23+
default: yes
24+
25+
ide_jetbrains:
26+
type: bool
27+
help: Do you want to add JetBrains configuration (primarily optimized for WebStorm)?
28+
when: '{{ ide_vscode == false }}'
29+
default: no
2430

2531
use_eslint_prettier:
26-
type: bool
27-
help: Do you want to use ESLint and Prettier for code linting and formatting?
28-
default: yes
32+
type: bool
33+
help: Do you want to use ESLint and Prettier for code linting and formatting?
34+
default: yes
2935

3036
use_tailwind:
31-
type: bool
32-
help: Do you want to use Tailwind CSS? A utility-first CSS framework for rapidly building custom designs.
33-
default: yes
37+
type: bool
38+
help: Do you want to use Tailwind CSS? A utility-first CSS framework for rapidly building custom designs.
39+
default: yes
3440

3541
use_daisy_ui:
36-
type: bool
37-
help: Do you want to use a daisyUI? Framework agnostic CSS component library for building modern websites and web applications fast.
38-
default: yes
39-
when: "{{ use_tailwind != false }}"
42+
type: bool
43+
help: Do you want to use a daisyUI? Framework agnostic CSS component library for building modern websites and web applications fast.
44+
default: yes
45+
when: '{{ use_tailwind != false }}'
4046

4147
use_jest:
42-
type: bool
43-
help: Do you want to include unit tests (via Jest)?
44-
default: yes
48+
type: bool
49+
help: Do you want to include unit tests (via Jest)?
50+
default: yes
4551

4652
use_playwright:
47-
type: bool
48-
help: Do you want to include end to end tests (via Playwright)?
49-
default: yes
53+
type: bool
54+
help: Do you want to include end to end tests (via Playwright)?
55+
default: yes
5056

5157
use_github_actions:
52-
type: bool
53-
help: Do you want to include Github Actions workflows for build validation?
54-
default: yes
58+
type: bool
59+
help: Do you want to include Github Actions workflows for build validation?
60+
default: yes
5561

5662
cloud_provider:
57-
type: str
58-
help: Pick your website hosting provider for continuous delivery
59-
when: "{{ use_github_actions != false }}"
60-
choices:
61-
Netlify: "netlify"
62-
Vercel: "vercel"
63-
Skip CD setup: "none"
64-
default: "netlify"
63+
type: str
64+
help: Pick your website hosting provider for continuous delivery
65+
when: '{{ use_github_actions != false }}'
66+
choices:
67+
Netlify: 'netlify'
68+
Vercel: 'vercel'
69+
Skip CD setup: 'none'
70+
default: 'netlify'
6571

6672
# The following should never get prompted; algokit should always pass these values through by convention
6773

6874
algod_token:
69-
type: str
70-
help: Default Algod Token
71-
default: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
75+
type: str
76+
help: Default Algod Token
77+
default: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
7278

7379
algod_server:
74-
type: str
75-
help: Default Algod server
76-
default: "http://localhost"
80+
type: str
81+
help: Default Algod server
82+
default: 'http://localhost'
7783

7884
algod_port:
79-
type: int
80-
help: Default Algod port
81-
default: 4001
85+
type: int
86+
help: Default Algod port
87+
default: 4001
8288

8389
indexer_token:
84-
type: str
85-
help: Default Indexer token
86-
default: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
90+
type: str
91+
help: Default Indexer token
92+
default: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
8793

8894
indexer_server:
89-
type: str
90-
help: Default Indexer server
91-
default: "http://localhost"
95+
type: str
96+
help: Default Indexer server
97+
default: 'http://localhost'
9298

9399
indexer_port:
94-
type: int
95-
help: Default Indexer port
96-
default: 8980
100+
type: int
101+
help: Default Indexer port
102+
default: 8980

0 commit comments

Comments
 (0)