Skip to content

Commit fd690d8

Browse files
authored
handle client-side history changes (#18)
* handle client-side history changes * add test * simplify test * fix test flow * test 3.11 * fix js build * add star pattern * docs update * drop py 3.7 and 3.8 support * update manifest * fix test
1 parent b736c04 commit fd690d8

File tree

14 files changed

+3730
-207
lines changed

14 files changed

+3730
-207
lines changed

Diff for: .github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflows will upload a Python Package using Twine when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: Release
4+
name: release
55

66
on:
77
release:

Diff for: .github/workflows/test.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: test
22

33
on:
44
push:
@@ -20,13 +20,13 @@ jobs:
2020
- name: Install Python Dependencies
2121
run: pip install -r requirements/nox-deps.txt
2222
- name: Run Tests
23-
run: nox -s test
23+
run: nox -t test
2424

2525
environments:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version: ["3.7", "3.8", "3.9", "3.10"]
29+
python-version: ["3.9", "3.10", "3.11"]
3030
steps:
3131
- uses: actions/checkout@v2
3232
- name: Use Python ${{ matrix.python-version }}
@@ -36,4 +36,4 @@ jobs:
3636
- name: Install Python Dependencies
3737
run: pip install -r requirements/nox-deps.txt
3838
- name: Run Tests
39-
run: nox -s test -- --no-cov
39+
run: nox -t test -- --no-cov

Diff for: MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include README.md
22
include reactpy_router/bundle.js
3+
include reactpy_router/py.typed
34
include LICENSE

Diff for: docs/src/contributing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ automate testing and other development tasks.
4343
## Running the Tests
4444

4545
```bash
46-
nox -s test
46+
nox -t test
4747
```
4848

4949
You can run the tests with a headed browser.
5050

5151
```bash
52-
nox -s test -- --headed
52+
nox -t test -- --headed
5353
```
5454

5555
## Releasing This Package

Diff for: js/.eslintrc.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true,
5+
"es2021": true
6+
},
7+
"extends": ["eslint:recommended", "plugin:react/recommended"],
8+
"overrides": [],
9+
"parserOptions": {
10+
"ecmaVersion": "latest",
11+
"sourceType": "module"
12+
},
13+
"plugins": ["react"],
14+
"rules": {
15+
"react/prop-types": "off"
16+
},
17+
"settings": {
18+
"react": {
19+
"version": "detect"
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)