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

Concurrent rendering naming fixes #1

Closed
wants to merge 253 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
d06a0c3
0.36.1 release
rmorshea Feb 3, 2022
2e1f6ea
fix rst formatting
rmorshea Feb 3, 2022
e4fca65
fix typo
rmorshea Feb 3, 2022
c146dfb
DeprecatedOption must mirror regular option
rmorshea Feb 3, 2022
755a203
0.36.2 hotfix
rmorshea Feb 3, 2022
73fe7f0
fix type annotation
rmorshea Feb 3, 2022
4723d7d
new_opt is never None
rmorshea Feb 3, 2022
742cf57
configure pydocstyle
rmorshea Feb 5, 2022
3a8a5a1
compare definition ID to see if changed in layout
rmorshea Feb 9, 2022
f0a2766
fix mispellings
rmorshea Feb 9, 2022
96fce16
try another approach to fixing switching component def and resetting …
rmorshea Feb 10, 2022
a407913
fix types
rmorshea Feb 11, 2022
dcd507f
Remove work items section of task plan
rmorshea Feb 16, 2022
99219f3
fix #652
rmorshea Feb 16, 2022
781c6f6
implement element fragment + try to fix tests
rmorshea Feb 16, 2022
35e5b99
fix errors
rmorshea Feb 17, 2022
c8e7181
allow components to return None
rmorshea Feb 17, 2022
009cea2
fix one more test
rmorshea Feb 17, 2022
896771c
add tests for coverage
rmorshea Feb 18, 2022
0ce9ca6
remove flake8 pre-commit
rmorshea Feb 18, 2022
e39404d
require markupsafe<2.1
rmorshea Feb 18, 2022
dcd30c2
fix mypy
rmorshea Feb 18, 2022
3748f38
release 0.36.3 (#679)
rmorshea Feb 18, 2022
e8ae05a
docs for components sharing state (#571)
acivitillo Feb 19, 2022
9546b52
clean up docs
rmorshea Feb 19, 2022
182317a
remove temp file
rmorshea Feb 20, 2022
545f2f1
support keys in HTML fragments (#683)
rmorshea Feb 20, 2022
82a7edf
Add Use Context Hook (#585)
rmorshea Feb 21, 2022
5b8ab7d
reset schedule_render_later flag after triggering (#688)
rmorshea Feb 25, 2022
fdad4fd
test reset schedule_render_later
rmorshea Feb 25, 2022
2a54b34
reorganize creating-interfaces + add info on fragments (#685)
rmorshea Feb 25, 2022
3f8803e
Re-organize docs + start using "Keep a Changelog" style (#689)
rmorshea Feb 27, 2022
a66eae4
load import source in effect (#691)
rmorshea Feb 28, 2022
e6e9190
'update version to 0.37.0'
rmorshea Feb 28, 2022
856487c
noxfile correction
rmorshea Feb 28, 2022
78f33ff
minor changes to nox tag process
rmorshea Feb 28, 2022
fddd1d8
set target value onchange client-side (#694)
rmorshea Feb 28, 2022
c9536f6
'version 0.37.1-a1'
rmorshea Feb 28, 2022
a029189
actually fix #684 (#696)
rmorshea Mar 2, 2022
857c789
fix flicker with observedValues buffer (#697)
rmorshea Mar 3, 2022
1e11b22
'version 0.37.1-a2'
rmorshea Mar 3, 2022
506d40e
0.37.1 has no changes
rmorshea Mar 5, 2022
d73b79f
'version 0.37.1'
rmorshea Mar 5, 2022
f96538c
rename proto modules to types (#701)
rmorshea Mar 5, 2022
3664706
Update running-idom.rst (#710)
jmtaysom Mar 17, 2022
a7c4d6c
Bugfix for wss protocol issue. (#716)
liberty-rising Mar 26, 2022
99d3792
remove 0.37.2 section
rmorshea Mar 27, 2022
ad49f29
'version 0.37.2'
rmorshea Mar 27, 2022
f2c1070
Rework How IDOM Integrates With Servers (#703)
rmorshea Mar 28, 2022
6708394
version 0.38.0-a1
rmorshea Mar 28, 2022
1d4d942
sort main first in docs
rmorshea Mar 31, 2022
e43bcc0
Implement use_location (#721)
rmorshea Apr 8, 2022
7621e37
Use "backend" instead of "server" (#726)
rmorshea Apr 13, 2022
fc8ff68
version 0.38.0-a2
rmorshea Apr 15, 2022
5091501
make Layout context management async (#730)
rmorshea Apr 15, 2022
3e542ac
Improve Changelog (#731)
rmorshea Apr 15, 2022
31317b0
fix version update script
rmorshea Apr 15, 2022
ce2e3ae
version 0.38.0-a3
rmorshea Apr 15, 2022
fb39848
add use debug value hook (#733)
rmorshea Apr 16, 2022
0bbd2d5
version 0.38.0-a4
rmorshea Apr 16, 2022
9e8e849
version 0.38.0
rmorshea Apr 16, 2022
3a313d9
add missing file extension (#736)
rmorshea Apr 16, 2022
e302f2e
version 0.38.1
rmorshea Apr 16, 2022
c7be65e
tweak changelog entry
rmorshea Apr 16, 2022
3242da6
Readme Overhaul (#705)
Archmonger Apr 16, 2022
e93ae19
fix docs
rmorshea Apr 16, 2022
2af7590
Update changelog.rst
rmorshea Apr 17, 2022
f25970d
update docstring
rmorshea Apr 18, 2022
fb45e7e
Update good_conditional_todo_list.py (#745)
jmtaysom Apr 22, 2022
32dfb26
Another Readme Update (#747)
Archmonger Apr 29, 2022
0177411
Replace changelog CI with greetings (#752)
Archmonger May 31, 2022
a975260
remove accidentally committed temp file
rmorshea Jun 14, 2022
5004ca7
use pr template
rmorshea Jun 16, 2022
009617d
fix mimetype issue (#762)
rmorshea Jun 16, 2022
d157e10
Fix idom.run and more renaming of server to backend (#763)
rmorshea Jun 17, 2022
b0c7f93
Change function name in readme example (#750)
Archmonger Jun 17, 2022
8e3b0b1
ability to specify version in template + no more exports_default (#765)
rmorshea Jun 19, 2022
d547122
version 0.39.0
rmorshea Jun 20, 2022
a2bd7ad
test py3.10 (#767)
rmorshea Jun 21, 2022
535d746
Update pull_request_template.md
rmorshea Jun 26, 2022
4500d55
add asgiref dep + set default timeout on page (#776)
rmorshea Jul 1, 2022
7bebc4d
Track contexts in hooks as state (#787)
rmorshea Jul 14, 2022
2720911
use strict equality for text, numeric, and binary types (#790)
rmorshea Jul 16, 2022
30732cc
make nox-session reusable workflow (#791)
rmorshea Jul 18, 2022
3db3881
update error messages (#792)
rmorshea Jul 18, 2022
3a0d459
Bump jsdom from 16.3.0 to 16.5.0 in /src/client (#774)
dependabot[bot] Jul 18, 2022
f593ee3
Bump got from 11.8.3 to 11.8.5 in /src/client (#772)
dependabot[bot] Aug 9, 2022
2f0bb98
Fix: Accidental mutation of old model causes invalid JSON Patch (#802)
rmorshea Aug 13, 2022
b06977a
Use LXML for html_to_vdom (#795)
Archmonger Aug 14, 2022
842389f
version 0.40.0
rmorshea Aug 14, 2022
a1ebebd
Remove old "missing react hooks" note (#805)
Archmonger Sep 2, 2022
d682407
fix append to stale children ref (#807)
rmorshea Sep 12, 2022
824eeb5
version 0.40.1
rmorshea Sep 12, 2022
7caa4ab
bypass jsonpatch (#809)
rmorshea Sep 13, 2022
b17a951
version 0.40.2
rmorshea Sep 13, 2022
dbd88e2
remove extra element in testing (#812)
rmorshea Sep 18, 2022
1254aaa
Bump vm2 from 3.9.9 to 3.9.11 in /src/client (#814)
dependabot[bot] Oct 3, 2022
f59af55
Update badge image link
rmorshea Oct 4, 2022
6fe9fa2
changed first name to last name and email (#815)
Kurtsley Oct 5, 2022
d7a71b3
allow string return type (#817)
rmorshea Oct 7, 2022
cba66aa
Fix model state ID logging (#818)
Archmonger Oct 7, 2022
688a16d
schedule test once a week rather than one per day
rmorshea Oct 11, 2022
50e42c0
set event loop policy for windows (#820)
rmorshea Oct 18, 2022
64c9e82
add use_connection hook (#823)
rmorshea Oct 30, 2022
8ff09d2
Vite (#824)
rmorshea Oct 31, 2022
77e7f98
define state as a generic named tuple (#827)
rmorshea Nov 2, 2022
d44ab8b
version 0.41.0
rmorshea Nov 2, 2022
cc9518d
fix cov (#831)
rmorshea Nov 6, 2022
f7c553e
remove IDOM_FEATURE_INDEX_AS_DEFAULT_KEY opt (#840)
rmorshea Nov 23, 2022
97c0f42
allow users to configure html head (#835)
rmorshea Nov 29, 2022
8f3785b
add deprecation warning to module_from_template
rmorshea Nov 30, 2022
0d4def4
better run func warning (#842)
rmorshea Nov 30, 2022
4fd5cde
Make IDOM_DEBUG_MODE mutable + add Option.subscribe method (#843)
rmorshea Nov 30, 2022
98a3d1e
Form serialize (#699)
acivitillo Dec 1, 2022
9c3c300
`html_to_vdom` transform to remove html/body but preserve head conten…
Archmonger Dec 1, 2022
55a4d16
add svg elements (#844)
rmorshea Dec 1, 2022
039d08d
remove body from all
rmorshea Dec 1, 2022
f196fbb
version 0.42.0
rmorshea Dec 2, 2022
1e3fac1
Bump qs from 6.5.2 to 6.5.3 in /src/client (#853)
dependabot[bot] Dec 12, 2022
4bc4a2a
fix tests + upgrade doc dependencies (#862)
rmorshea Jan 5, 2023
9760280
fix docs in docker
rmorshea Jan 5, 2023
b04ec36
misc updates to docs (#872)
rmorshea Jan 8, 2023
0621716
remove should_render (#870)
rmorshea Jan 9, 2023
80e7141
remove fake user agent (#873)
rmorshea Jan 9, 2023
0894df2
Bump fast-json-patch from 3.1.0 to 3.1.1 in /src/client (#864)
dependabot[bot] Jan 9, 2023
b1d0507
remove setup.cfg file (#874)
rmorshea Jan 9, 2023
ea485a4
version 0.43.0
rmorshea Jan 9, 2023
b0ea49a
use non-editable install
rmorshea Jan 9, 2023
d1a69f6
Deprecate hotswap (#876)
rmorshea Jan 12, 2023
981fd43
remove json patch (#881)
rmorshea Jan 24, 2023
f7d7e29
check that url prefix starts with / (#885)
rmorshea Jan 24, 2023
6dfa5b5
no need to unmount on reconnect (#886)
rmorshea Jan 24, 2023
7bdcdfe
remove deprecated code (#887)
rmorshea Jan 24, 2023
cc47748
version 0.44.0
rmorshea Jan 27, 2023
764a5a8
Unify vdom interface (#841)
rmorshea Jan 28, 2023
e9c6f3c
update docs + changelog + fix warning (#891)
rmorshea Jan 28, 2023
cc723de
version 1.0.0-a1
rmorshea Jan 29, 2023
491c05a
Fix unmount (#901)
rmorshea Feb 1, 2023
53b8cc0
add entry points (#902)
rmorshea Feb 1, 2023
9f879a6
version 1.0.0-a2
rmorshea Feb 1, 2023
aa26caa
avoid importing testing module (#907)
rmorshea Feb 3, 2023
c8adf95
fix type hint annoyance (#908)
rmorshea Feb 3, 2023
bd87407
version 1.0.0-a3
rmorshea Feb 3, 2023
d415bcf
Update issue-form.yml
rmorshea Feb 15, 2023
f0ff025
revert #841 (#919)
rmorshea Feb 21, 2023
6e9b99f
version 1.0.0-a4
rmorshea Feb 21, 2023
b8af14c
fix rewrite camelCase (#934)
rmorshea Feb 21, 2023
86e3af9
version 1.0.0-a5
rmorshea Feb 21, 2023
3aa249d
update changelog
rmorshea Feb 21, 2023
e8263de
Rewrite style props (#936)
rmorshea Feb 23, 2023
b8eeaa9
Fix pylint issues (#937)
Archmonger Feb 23, 2023
cfdd83a
version 1.0.0-a6
rmorshea Feb 24, 2023
51d82df
version 1.0 (#940)
rmorshea Feb 26, 2023
3dfb8f1
rename idom to reactpy (#892)
rmorshea Feb 26, 2023
c791ac8
improve logo/readme
rmorshea Feb 26, 2023
67e6181
Update README.md
rmorshea Feb 27, 2023
637c1b7
improve readme (#944)
rmorshea Mar 1, 2023
83d6c28
fix docs links (#942)
Archmonger Mar 1, 2023
0a66918
add logo for social card (#945)
rmorshea Mar 1, 2023
75343c9
Update README.md
rmorshea Mar 1, 2023
95c4107
Update README.md
rmorshea Mar 1, 2023
79dcb7b
fix nox
rmorshea Mar 1, 2023
7194d41
fix nox tag session (#948)
rmorshea Mar 2, 2023
2fc8228
More readme link fixes (#947)
Archmonger Mar 2, 2023
665196a
allow independent py/js package releases (#949)
rmorshea Mar 14, 2023
304126c
improve publishing logic (#954)
rmorshea Mar 15, 2023
d664944
fix publish action
rmorshea Mar 15, 2023
4b5ebed
try to fix publish action
rmorshea Mar 15, 2023
997aae6
try one more time to fix secrets
rmorshea Mar 15, 2023
cb6a8c3
use install instead of ci
rmorshea Mar 15, 2023
6e7fa1b
more fixes
rmorshea Mar 15, 2023
04c3e9f
fix types
rmorshea Mar 15, 2023
3d6e501
more typing fixes
rmorshea Mar 15, 2023
599af39
simplify publish action
rmorshea Mar 15, 2023
cf65abb
revert back to .nox-session base action
rmorshea Mar 15, 2023
b5d61d3
add registry url
rmorshea Mar 15, 2023
bf86c61
reactpy v1.0.0 (#955)
rmorshea Mar 15, 2023
6a4c947
handle case where file does not exist
rmorshea Mar 15, 2023
82a8bd6
rewrite the client in typescript (#951)
rmorshea Mar 23, 2023
3a009b6
fix event-to-object + fix npm release (#962)
rmorshea Apr 2, 2023
b15b43d
fix JS dist artifacts (#963)
rmorshea Apr 2, 2023
8caf973
Fix `idom.run` uvicorn self.servers exception (#943)
Archmonger Apr 5, 2023
b1951cc
define a better client interface (#967)
rmorshea Apr 11, 2023
0aab4b0
use abstract class (#968)
rmorshea Apr 11, 2023
849df98
Update pull_request_template.md
rmorshea Apr 19, 2023
46bdf8c
WSGIContainer.environ changed (#971)
rmorshea Apr 23, 2023
0f34eb8
added warning for html.script (#970)
ZEUS-03 Apr 23, 2023
9ffaf93
use newly released reactpy-flake8
rmorshea Apr 30, 2023
472d831
Use span instead of div (#974)
rmorshea May 15, 2023
07f5521
fix js template links (#979)
rmorshea May 20, 2023
c86c59d
doc improvements (#984)
rmorshea May 24, 2023
daf9102
docstrings for backend hooks (#994)
rmorshea May 25, 2023
cf7950d
Clean up readme (#1000)
Archmonger May 29, 2023
ac58266
Poetry+Hatch Monorepo (#1002)
rmorshea Jun 3, 2023
e950966
fix poetry docs (#1003)
rmorshea Jun 3, 2023
4f98dcf
Fix typos (#1007)
kianmeng Jun 6, 2023
4f5a251
Update README.md (#1009)
Iddorot Jun 6, 2023
309bd5a
Create CODEOWNERS (#1011)
rmorshea Jun 6, 2023
1173224
Emphasize the `pip install reactpy` does not include a backend (#1012)
rmorshea Jun 6, 2023
09679e2
Remove HR from readme (#1013)
Archmonger Jun 6, 2023
9552441
fix noqas (#1016)
rmorshea Jun 7, 2023
a6eb1dc
Fix the Django project URL (#1015)
Jun 7, 2023
7428340
avoid importing backend-specific dependencies (#1006)
rmorshea Jun 7, 2023
0a89ecb
Fixed FileNotFound error while running hatch run lint-py (#1023)
Smit-Parmar Jun 8, 2023
9c707d3
Unpin reactpy client version (#1027)
Archmonger Jun 9, 2023
e7a6b5b
Update index.rst (#1026)
Not-Sarthak Jun 10, 2023
2962ed9
docs: fix typo in distributing-javascript.rst (#1028)
eltociear Jun 10, 2023
b1a2516
Update parameter name in starlette.py (#1031)
mrjunos Jun 10, 2023
81d6343
docs:fixed two typos inside Dangers of mutability (#1038)
danish-mehmood Jun 10, 2023
c80bc51
Fixed while running hatch run lint-js --fix (#1030)
Smit-Parmar Jun 10, 2023
f559e23
docs fixes (#1039)
rmorshea Jun 10, 2023
8120ddc
Better Error message if no backend installed #1042 (#1045)
geckguy Jun 13, 2023
1e31419
Added pre-commit hook (#1024)
Smit-Parmar Jun 13, 2023
8785a2a
Bump vite from 3.2.5 to 3.2.7 in /src/js/app (#1005)
dependabot[bot] Jun 13, 2023
1dcdc9c
Update LICENSE date
rmorshea Jun 14, 2023
678afe0
Add contributor license agreement
rmorshea Jun 15, 2023
a3d79aa
report better error for attrs that cannot be serialized (#1008)
rmorshea Jun 15, 2023
bd60e6e
Warn and fix missing mime types (#1050)
Archmonger Jun 15, 2023
403e5f2
fix docs typos (#1061)
Daemo00 Jun 16, 2023
6df7ecd
pre for 1.0.1 release (#1062)
rmorshea Jun 16, 2023
9bf3db7
fix how we collect tags on current commit (#1063)
rmorshea Jun 16, 2023
3f804ca
Update pull_request_template.md
rmorshea Jun 16, 2023
754a619
minor improvements to project setup (#1082)
rmorshea Jul 2, 2023
f065655
Fix publish (#1064)
rmorshea Jul 2, 2023
e82ffdf
Fix issue from #1081 (#1085)
rmorshea Jul 4, 2023
77303a3
`django-reactpy` -> `reactpy-django` (#1080)
Archmonger Jul 4, 2023
5582431
reactpy-v1.0.2 (#1087)
rmorshea Jul 4, 2023
773570b
V1.0.2 changelog (#1088)
rmorshea Jul 4, 2023
ff60ae7
Update pull_request_template.md
rmorshea Jul 4, 2023
778057d
fix ruff error + pin ruff ver for now (#1107)
rmorshea Jul 15, 2023
fb9c57f
`reactpy.run` and `configure(...)` refactoring (#1051)
Archmonger Jul 18, 2023
c42d85c
setsockopt on mac too
rmorshea Jul 24, 2023
99cd7b1
need to copy scheme from base url (#1118)
rmorshea Jul 24, 2023
f053551
delete accidentally committed file
rmorshea Jul 24, 2023
3faa10f
Try to fix lint (#1157)
rmorshea Oct 22, 2023
d3959e4
fix flaky test (#1158)
rmorshea Oct 22, 2023
701e462
Fix flask backend mimetype for modules (#1131)
elro444 Oct 22, 2023
341a492
Concurrent Renders (#1165)
rmorshea Dec 9, 2023
d6f9bfe
update nodejs install method in docker (#1168)
rmorshea Dec 9, 2023
43009e4
fix strict eq effect test (#1170)
rmorshea Dec 10, 2023
3a3ad3f
Skip rendering None in all situations (#1171)
rmorshea Dec 28, 2023
2101191
fix black lint (#1193)
rmorshea Feb 10, 2024
618e579
Update PR template and VSCode workspace (#1053)
Archmonger Mar 6, 2024
3f05f81
Use `utf-8` for reading files (#1200)
Archmonger Mar 6, 2024
2c6a1f7
Bump postcss from 8.4.24 to 8.4.35 in /src/js (#1205)
dependabot[bot] Mar 6, 2024
34a2d24
Bump postcss from 8.4.21 to 8.4.35 in /src/js/app (#1208)
dependabot[bot] Mar 6, 2024
97c3b19
Bump vite from 3.2.7 to 3.2.8 in /src/js (#1207)
dependabot[bot] Mar 6, 2024
044eb17
Bump vite from 3.2.7 to 3.2.8 in /src/js/app (#1206)
dependabot[bot] Mar 6, 2024
4307a09
Bump word-wrap from 1.2.3 to 1.2.5 in /src/js (#1209)
dependabot[bot] Mar 6, 2024
cc7830e
Concurrent rendering naming fixes
Archmonger Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@maintainers
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Start a Discussion
url: https://github.com/idom-team/idom/discussions
url: https://github.com/reactive-python/reactpy/discussions
about: Report issues, request features, ask questions, and share ideas
9 changes: 1 addition & 8 deletions .github/ISSUE_TEMPLATE/issue-form.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Plan a Task
description: Create a detailed plan of action (ONLY START AFTER DISCUSSION PLEASE 🙏).
labels: ["flag: triage"]
labels: ["flag-triage"]
body:
- type: textarea
attributes:
Expand All @@ -14,10 +14,3 @@ body:
description: Describe what ought to be done, and why that will address the reasons for action mentioned above.
validations:
required: false
- type: textarea
attributes:
label: Work Items
description: |
An itemized list or detailed description of the work to be done to based on the proposed actions above.
validations:
required: false
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description

<!-- A summary of the changes. -->

## Checklist

Please update this checklist as you complete each item:

- [ ] Tests have been developed for bug fixes or new functionality.
- [ ] The changelog has been updated, if necessary.
- [ ] Documentation has been updated, if necessary.
- [ ] GitHub Issues closed by this PR have been linked.

<sub>By submitting this pull request I agree that all contributions comply with this project's open source license(s).</sub>
59 changes: 59 additions & 0 deletions .github/workflows/.hatch-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: hatch-run

on:
workflow_call:
inputs:
job-name:
required: true
type: string
hatch-run:
required: true
type: string
runs-on-array:
required: false
type: string
default: '["ubuntu-latest"]'
python-version-array:
required: false
type: string
default: '["3.x"]'
node-registry-url:
required: false
type: string
default: ""
secrets:
node-auth-token:
required: false
pypi-username:
required: false
pypi-password:
required: false

jobs:
hatch:
name: ${{ format(inputs.job-name, matrix.python-version, matrix.runs-on) }}
strategy:
matrix:
python-version: ${{ fromJson(inputs.python-version-array) }}
runs-on: ${{ fromJson(inputs.runs-on-array) }}
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14.x"
registry-url: ${{ inputs.node-registry-url }}
- name: Pin NPM Version
run: npm install -g [email protected]
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Dependencies
run: pip install hatch poetry
- name: Run Scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.node-auth-token }}
PYPI_USERNAME: ${{ secrets.pypi-username }}
PYPI_PASSWORD: ${{ secrets.pypi-password }}
run: hatch run ${{ inputs.hatch-run }}
48 changes: 48 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: check

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * 0"

jobs:
test-py-cov:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
hatch-run: "test-py"
lint-py:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
hatch-run: "lint-py"
test-py-matrix:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0} {1}"
hatch-run: "test-py --no-cov"
runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]'
python-version-array: '["3.9", "3.10", "3.11"]'
test-docs:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "python-{0}"
hatch-run: "test-docs"
# as of Dec 2023 lxml does have wheels for 3.12
# https://bugs.launchpad.net/lxml/+bug/2040440
python-version-array: '["3.11"]'
test-js:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "{1}"
hatch-run: "test-js"
lint-js:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "{1}"
hatch-run: "lint-js"
60 changes: 30 additions & 30 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: codeql

on:
push:
branches: [ main ]
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [main]
schedule:
- cron: '43 3 * * 3'
- cron: "43 3 * * 3"

jobs:
analyze:
Expand All @@ -32,40 +32,40 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
language: ["javascript", "python"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Deploy Documentation
name: deploy-docs

on:
push:
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/publish-js.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/publish-py.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflows will upload a Javscript Package using NPM to npmjs.org when a release is created
# For more information see: https://docs.github.com/en/actions/guides/publishing-nodejs-packages

name: publish

on:
release:
types: [published]

jobs:
publish:
uses: ./.github/workflows/.hatch-run.yml
with:
job-name: "publish"
hatch-run: "publish"
node-registry-url: "https://registry.npmjs.org"
secrets:
node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}
pypi-username: ${{ secrets.PYPI_USERNAME }}
pypi-password: ${{ secrets.PYPI_PASSWORD }}
Loading