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

Add missing props and files for Code Viewer, R Editor and Scala Editor extensions #3280

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,5 @@
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"packages/pipeline-editor/elyra_pipeline_editor_extension/*",
"packages/theme/elyra_theme_extension/*",
"packages/script-debugger/elyra_script_debugger_extension/*",
"packages/script-editor/elyra_script_editor/*",
"packages/code-snippet/elyra_code_snippet_extension/*",
"packages/metadata/elyra_metadata_extension/*",
"packages/metadata-common/elyra_metadata_common/*",
"packages/python-editor/elyra_python_editor_extension/*",
"packages/services/elyra_services/*",
"packages/ui-components/elyra_ui_components/*"
]
}
}
14 changes: 14 additions & 0 deletions labextensions/elyra_code_viewer_extension/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
try:
from ._version import __version__
except ImportError:
# Fallback when using the package in dev mode without installing
# in editable mode with pip. It is highly recommended to install
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
import warnings

warnings.warn("Importing 'elyra_code_viewer_extension' outside a proper installation.")
__version__ = "dev"


def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": "@elyra/code-viewer-extension"}]
14 changes: 14 additions & 0 deletions labextensions/elyra_r_editor_extension/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
try:
from ._version import __version__
except ImportError:
# Fallback when using the package in dev mode without installing
# in editable mode with pip. It is highly recommended to install
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
import warnings

warnings.warn("Importing 'elyra_r_editor_extension' outside a proper installation.")
__version__ = "dev"


def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": "@elyra/r-editor-extension"}]
14 changes: 14 additions & 0 deletions labextensions/elyra_scala_editor_extension/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
try:
from ._version import __version__
except ImportError:
# Fallback when using the package in dev mode without installing
# in editable mode with pip. It is highly recommended to install
# the package from a stable release or in editable mode: https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs
import warnings

warnings.warn("Importing 'elyra_scala_editor_extension' outside a proper installation.")
__version__ = "dev"


def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": "@elyra/scala-editor-extension"}]
1 change: 1 addition & 0 deletions packages/code-viewer/install.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packageManager": "python",
"packageName": "elyra_code_viewer_extension",
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package elyra_code_viewer_extension"
}
1 change: 1 addition & 0 deletions packages/r-editor/install.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packageManager": "python",
"packageName": "elyra_r_editor_extension",
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package elyra_r_editor_extension"
}
1 change: 1 addition & 0 deletions packages/scala-editor/install.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packageManager": "python",
"packageName": "elyra_scala_editor_extension",
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package elyra_scala_editor_extension"
}
Loading