-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
outputarea-extension
package as a stub
- Loading branch information
1 parent
16d7747
commit fb759ca
Showing
13 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -293,6 +293,9 @@ | |
}, | ||
{ | ||
"path": "../vega5-extension" | ||
}, | ||
{ | ||
"path": "../outputarea-extension" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -290,6 +290,9 @@ | |
{ | ||
"path": "../vega5-extension" | ||
}, | ||
{ | ||
"path": "../outputarea-extension" | ||
}, | ||
{ | ||
"path": "." | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @jupyterlab/outputarea-extension | ||
|
||
An extension for JupyterLab which provides an entry point, commands, and keyboard shortcuts for the [@jupyterlab/outputarea](../outputarea) package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "@jupyterlab/outputarea-extension", | ||
"version": "4.0.0-alpha.18", | ||
"description": "JupyterLab - Outputarea Extension", | ||
"homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"bugs": { | ||
"url": "https://github.com/jupyterlab/jupyterlab/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/jupyterlab/jupyterlab.git" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"author": "Project Jupyter", | ||
"sideEffects": [ | ||
"style/**/*" | ||
], | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"style": "style/index.css", | ||
"directories": { | ||
"lib": "lib/" | ||
}, | ||
"files": [ | ||
"lib/*.d.ts", | ||
"lib/*.js.map", | ||
"lib/*.js", | ||
"schema/*.json", | ||
"style/*.css", | ||
"style/index.js" | ||
], | ||
"scripts": { | ||
"build": "tsc -b", | ||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo", | ||
"docs": "typedoc src", | ||
"watch": "tsc -b --watch" | ||
}, | ||
"dependencies": { | ||
"@jupyterlab/application": "^4.0.0-alpha.18", | ||
"@jupyterlab/notebook": "^4.0.0-alpha.18", | ||
"@jupyterlab/outputarea": "^4.0.0-alpha.18" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "~3.0.0", | ||
"typedoc": "~0.22.10", | ||
"typescript": "~4.7.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"jupyterlab": { | ||
"extension": true, | ||
"schemaDir": "schema" | ||
}, | ||
"styleModule": "style/index.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"jupyter.lab.setting-icon": "ui-components:notebook", | ||
"jupyter.lab.setting-icon-label": "Outputarea", | ||
"jupyter.lab.shortcuts": [], | ||
"title": "Outputarea", | ||
"description": "Outputarea/Stdin settings", | ||
"definitions": {}, | ||
"properties": { | ||
"stdinHistoryPerNotebook": { | ||
"title": "Split line history per notebook", | ||
"description": "Split line history for Stdin inputs (eg the ipdb prompt) per notebook", | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
/** | ||
* @packageDocumentation | ||
* @module outputarea-extension | ||
*/ | ||
|
||
import { | ||
ILabShell, | ||
JupyterFrontEnd, | ||
JupyterFrontEndPlugin | ||
} from '@jupyterlab/application'; | ||
import { INotebookTracker } from '@jupyterlab/notebook'; | ||
|
||
// import * as nbformat from '@jupyterlab/nbformat'; | ||
// import { INotebookTracker, NotebookPanel } from '@jupyterlab/notebook'; | ||
|
||
/** | ||
* The command IDs used by the outputarea plugins. | ||
*/ | ||
// namespace CommandIDs { | ||
// export const histReverseStep = 'stdin:history-reverse-step'; | ||
// export const histForwardStep = 'stdin:history-forward-step'; | ||
// export const histReverseSearch = 'stdin:history-reverse-search'; | ||
// export const histForwardSearch = 'stdin:history-forward-search'; | ||
// } | ||
|
||
/** | ||
* The Outputarea extension. | ||
*/ | ||
export const outputareaExtension: JupyterFrontEndPlugin<void> = { | ||
activate: activateOAExtension, | ||
id: '@jupyterlab/outputarea-extension:stdin', | ||
requires: [ILabShell, INotebookTracker], | ||
optional: [], | ||
autoStart: true | ||
}; | ||
|
||
function activateOAExtension( | ||
app: JupyterFrontEnd, | ||
labShell: ILabShell, | ||
nbtracker: INotebookTracker | ||
): void { | ||
return; | ||
} | ||
|
||
/** | ||
* Export the plugins as default. | ||
*/ | ||
const plugins: JupyterFrontEndPlugin<any>[] = [outputareaExtension]; | ||
export default plugins; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) Jupyter Development Team. | ||
| Distributed under the terms of the Modified BSD License. | ||
|----------------------------------------------------------------------------*/ | ||
|
||
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */ | ||
@import url('~@jupyterlab/application/style/index.css'); | ||
@import url('~@jupyterlab/outputarea/style/index.css'); | ||
@import url('~@jupyterlab/notebook/style/index.css'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) Jupyter Development Team. | ||
| Distributed under the terms of the Modified BSD License. | ||
|----------------------------------------------------------------------------*/ | ||
|
||
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */ | ||
import '@jupyterlab/application/style/index.js'; | ||
import '@jupyterlab/outputarea/style/index.js'; | ||
import '@jupyterlab/notebook/style/index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"extends": "../../tsconfigbase", | ||
"compilerOptions": { | ||
"outDir": "lib", | ||
"rootDir": "src" | ||
}, | ||
"include": ["src/*"], | ||
"references": [ | ||
{ | ||
"path": "../application" | ||
}, | ||
{ | ||
"path": "../notebook" | ||
}, | ||
{ | ||
"path": "../outputarea" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"out": "../../docs/api/outputarea-extension", | ||
"theme": "../../typedoc-theme" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters