diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d352af..3dff151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,3 +3,11 @@ + +## 0.1.1 + +- Zenodo DOI + +## 0.1.0 + +- Initial release diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 8e910a5..e2836ec 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community. Examples of behavior that contributes to a positive environment for our community include: -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -* Focusing on what is best not just for us as individuals, but for the +- Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or +- The use of sexualized language or imagery, and sexual attention or advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an +standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b19e386..b4f107b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,13 +63,13 @@ There is a single [CHANGELOG.md](CHANGELOG.md) that is for consumers of the pack 1. Set version in `packages/core/package.json` with `yarn workspace @i-vresse/wb-core version ` 2. Add changes to [CHANGELOG.md](CHANGELOG.md) and push changes to main branch -3. Make sure you are logged see step 3 in chapter above. +3. Make sure you are logged see step 3 in chapter above. 4. Clean `dist/` with `yarn workspace @i-vresse/wb-core clean`, make sure `yarn dev` is not running 5. Build with `yarn workspace @i-vresse/wb-core build` 6. Publish with `yarn workspace @i-vresse/wb-core npm publish --otp ` 7. Create git tag for version with `git tag @i-vresse/wb-core@${packages/core/package.json:version}` and `git push origin --tags` -The `@i-vresse/wb-core` depends on `@i-vresse/wb-form`. +The `@i-vresse/wb-core` depends on `@i-vresse/wb-form`. To use the core package outside this monorepo make sure the version of the form package it needs has been published. ### Publish repository diff --git a/MANIFEST.in b/MANIFEST.in index 32e55b4..bc93a9d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,6 +9,7 @@ include ts*.json include *.config.js include yarn.lock include screenshot.png +include CITATION.cff graft haddock3_configurator/labextension diff --git a/README.md b/README.md index ff9fc6c..ce8c045 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Github Actions Status](https://github.com/i-VRESSE/jupyterlab-haddock3-configurator/workflows/Build/badge.svg)](https://github.com/i-VRESSE/jupyterlab-haddock3-configurator/actions/workflows/build.yml)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/i-VRESSE/jupyterlab-haddock3-configurator/main?urlpath=lab) -Edit haddock3 config file in Jupyter Lab. +Edit [haddock3](https://github.com/haddocking/haddock3) config file in [Jupyter Lab](). Features: @@ -26,7 +26,7 @@ See running in JupyterLite at [https://i-vresse.github.io/jupyterlab-haddock3-co To install the extension, execute: ```bash -pip install haddock3_configurator +pip install https://github.com/i-VRESSE/jupyterlab-haddock3-configurator/releases/download/v0.1.1/haddock3_configurator-0.1.1-py3-none-any.whl ``` ## Uninstall diff --git a/package.json b/package.json index 57c6dc6..2880672 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-haddock3-configurator", - "version": "0.1.0", + "version": "0.1.1", "description": "Edit haddock3 config file", "keywords": [ "jupyter", diff --git a/screenshot.png b/screenshot.png index aa9014a..d298394 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/src/path2dataurl.tsx b/src/path2dataurl.tsx index 2806946..ece8ec1 100644 --- a/src/path2dataurl.tsx +++ b/src/path2dataurl.tsx @@ -22,6 +22,7 @@ export async function path2dataurl( return addNameToDataURL(dataUrl, path); } catch (error) { // Try IndexedDB for Jupyterlite virtual files + // TODO fetch db name from PageConfig instead of hardcoding const database = await openIndexedDb('JupyterLite Storage'); const file = await fileFromIndexedDb(database, path); return model2dataurl(path, file);