···2121author = 'Denisa Checiu'
22222323# The full version, including alpha/beta/rc tags
2424-release = '0.1.0'
2424+release = '0.3.0'
252526262727# -- General configuration ---------------------------------------------------
+1-38
docs/other_extensions.md
···111111**NOTE** : `BlocklyNiryo` is defined in `niryo-one-python-generators.ts`.
112112113113114114-## Include patches
115115-Currently, for the extension to work, you will need to include the following patch from the JupyterLab-Blockly extension (make sure it is placed in a file named `@jupyterlab+codeeditor+3.4.3.patch`, inside the `patches` folder):
116116-117117-```
118118-// patches/@jupyterlab+codeeditor+3.4.3.patch
119119-120120-diff --git a/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts b/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts
121121-index ffe8d1f..d63b2f8 100644
122122---- a/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts
123123-+++ b/node_modules/@jupyterlab/codeeditor/lib/editor.d.ts
124124-@@ -44,7 +44,7 @@ export declare namespace CodeEditor {
125125- /**
126126- * An interface describing editor state coordinates.
127127- */
128128-- interface ICoordinate extends JSONObject, ClientRect {
129129-+ interface ICoordinate extends JSONObject {
130130- }
131131- /**
132132- * A range.
133133-```
134134-135135-You will also need to modify the `MANIFEST.in` file:
136136-```
137137-recursive-include patches *.patch
138138-```
139139-the `package.json` file:
140140-```
141141-"scripts": {
142142- ...
143143- "postinstall": "patch-package"
144144-}
145145-````
146146-and, finally, add `patch-package` as a dependency:
147147-```
148148-jlpm add patch-package
149149-```
150150-151114## Additional configurations
152115153116You will need to request the `jupyterlab-blockly` package as a dependency of your extension, in order to ensure it is installed and available to provide the token `IBlocklyRegistry`. To do this, you need to add the following line to your `setup.py` file.
···157120158121setup_args = dict(
159122 ...
160160- install_requires=['jupyterlab-blockly>=0.1.1,<0.2']
123123+ install_requires=['jupyterlab-blockly>=0.3.0,<0.4']
161124 ...
162125)
163126```