Skip to content

Commit

Permalink
issue/34 Implement generatemodels strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Terreu committed Dec 15, 2024
1 parent 623ea77 commit 46df98c
Show file tree
Hide file tree
Showing 16 changed files with 2,169 additions and 1,855 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.5"]
node-version: ["20"]
python-version: ["3.11.10"]
node-version: ["20.18.1"]

steps:
- uses: actions/checkout@v4
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 @@ -58,9 +58,7 @@ jobs:
run: poetry run doit install_e2e_browser

- name: Run browser tests
run: |
poetry run doit prepare_e2e_tests &
poetry run tox -e e2e
run: poetry run doit prepare_e2e_tests & 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
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

0 comments on commit 46df98c

Please sign in to comment.