Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/indico/js-flask-urls

Client-side Flask URL building
https://github.com/indico/js-flask-urls

babel flask hacktoberfest javascript url-router

Last synced: 27 days ago
JSON representation

Client-side Flask URL building

Awesome Lists containing this project

README

        

# Flask URLs in JS - the clean way!

I should really write something nicer here. Later. Or maybe you want to send a PR?
For now, check out the `example` and `react-example` folder for small example apps
showing how to use this. The `react-example` uses the Babel macro which can be used
with an unejected `create-react-app` setup.

## Releases

As a user of library, you can safely ignore this section. This is just for maintainers to know how to make releases.

### JavaScript releases

- `npm run check` to ensure everything is fine (tests + eslint)
- `npx lerna publish` to publish a new version (choose a version according to semver!)
- `git push` the new commit and tags to the upstream repo (not your fork!)

### Python releases

- `pytest` to ensure the tests pass
- Bump the version in `setup.py` manually (according to semver)
- `python setup.py bdist_wheel` to build the wheel
- `git tag -s [email protected]` to tag the release (with x.y.z being the new version)
- `twine upload ...` to publish the wheel
- `git push` the new commit and tags to the upstream repo (not your fork!)

## Note

In applying the MIT license, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.