Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/generatemodels command #122

Merged
merged 3 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.5"]
python-version: ["3.11.10"]
node-version: ["20"]

steps:
Expand All @@ -23,7 +23,7 @@ jobs:

- uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Setup Node
uses: actions/setup-node@v4
Expand Down Expand Up @@ -57,10 +57,11 @@ jobs:
- name: Install playwright browser
run: poetry run doit install_e2e_browser

- name: Prepare browser tests
run: poetry run doit prepare_e2e_tests &

- name: Run browser tests
run: |
poetry run doit prepare_e2e_tests &
poetry run tox -e e2e
run: poetry run tox -vvv -e e2e

- name: Run browser tests after delete compile
run: |
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- [Flags](#flags)
- [Flag classes](#flag-classes)
- [generatemodel Command](#generatemodel-command)
- [generatemodels Command](#generatemodels-command)
- [Widgets](#widgets)
- [addwidget Command](#addwidget-command)
- [listwidgets Command](#addwidget-command)
Expand Down Expand Up @@ -666,6 +667,11 @@ someObject_Decoder =
> To help you understand why it failed you can run the [compile](#compile-command) command and experience first hand
> the beauty that is an Elm compiler message.
## `generatemodels` Command

This command let's you do the same thing as the [generatemodel](#generatemodel-command) command except that
you don't need to pass it a specific program name. It will generate models for all your programs.

# Widgets

Djelm widgets are feature rich, highly dynamic and customizable programs we can use to supercharge our UI's.
Expand Down
2 changes: 1 addition & 1 deletion dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def task_buildimages():
def task_install_e2e_browser():
"Install playwright browser"

return {"actions": ["playwright install firefox"]}
return {"actions": ["playwright install"]}


def task_run_example():
Expand Down
Empty file.
8 changes: 4 additions & 4 deletions example/elm_programs/static_src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
"@parcel/config-default": "^2.12.0",
"@parcel/core": "^2.12.0",
"@parcel/transformer-elm": "^2.12.0",
"@parcel/config-default": "^2.13.2",
"@parcel/core": "^2.13.2",
"@parcel/transformer-elm": "^2.13.2",
"elm": "0.19.1-6",
"elm-json": "^0.2.13",
"parcel": "^2.12.0",
"parcel": "^2.13.2",
"typescript": "^5.4.4"
},
"dependencies": {
Expand Down
Loading
Loading