File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 python -m pip install .[test]
3838
3939 jupyter labextension list
40- jupyter labextension list 2>&1 | grep -ie "@jupyterlab-benchmarks /ui-profiler.*OK"
40+ jupyter labextension list 2>&1 | grep -ie "@jupyterlab/ui-profiler.*OK"
4141 python -m jupyterlab.browser_check
4242
4343 - name : Package the extension
8181
8282
8383 jupyter labextension list
84- jupyter labextension list 2>&1 | grep -ie "@jupyterlab-benchmarks /ui-profiler.*OK"
84+ jupyter labextension list 2>&1 | grep -ie "@jupyterlab/ui-profiler.*OK"
8585 python -m jupyterlab.browser_check --no-chrome-test
8686
8787 integration-tests :
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pip uninstall jupyterlab-ui-profiler
9797
9898In development mode, you will also need to remove the symlink created by ` jupyter labextension develop `
9999command. To find its location, you can run ` jupyter labextension list ` to figure out where the ` labextensions `
100- folder is located. Then you can remove the symlink named ` @jupyterlab-benchmarks /ui-profiler ` within that folder.
100+ folder is located. Then you can remove the symlink named ` @jupyterlab/ui-profiler ` within that folder.
101101
102102### Testing the extension
103103
Original file line number Diff line number Diff line change 44def _jupyter_labextension_paths ():
55 return [{
66 "src" : "labextension" ,
7- "dest" : "@jupyterlab-benchmarks /ui-profiler"
7+ "dest" : "@jupyterlab/ui-profiler"
88 }]
99
1010
@@ -30,7 +30,7 @@ def _load_jupyter_server_extension(server_app):
3030 # Allow self-profiling in Chrome.
3131 "Document-Policy" : "js-profiling"
3232 })
33- name = "@jupyterlab-benchmarks /ui-profiler"
33+ name = "@jupyterlab/ui-profiler"
3434 server_app .log .info (f"Registered { name } server extension" )
3535
3636
Original file line number Diff line number Diff line change 11{
2- "name" : " @jupyterlab-benchmarks /ui-profiler" ,
2+ "name" : " @jupyterlab/ui-profiler" ,
33 "version" : " 0.1.4" ,
44 "description" : " JupyterLab extension for profiling UI performance" ,
55 "keywords" : [
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ artifacts = ["jupyterlab_ui_profiler/labextension"]
5757exclude = [" .github" , " binder" ]
5858
5959[tool .hatch .build .targets .wheel .shared-data ]
60- "jupyterlab_ui_profiler/labextension" = " share/jupyter/labextensions/@jupyterlab-benchmarks /ui-profiler"
61- "install.json" = " share/jupyter/labextensions/@jupyterlab-benchmarks /ui-profiler/install.json"
60+ "jupyterlab_ui_profiler/labextension" = " share/jupyter/labextensions/@jupyterlab/ui-profiler"
61+ "install.json" = " share/jupyter/labextensions/@jupyterlab/ui-profiler/install.json"
6262"jupyter-config/server-config" = " etc/jupyter/jupyter_server_config.d"
6363"jupyter-config/nb-config" = " etc/jupyter/jupyter_notebook_config.d"
6464
Original file line number Diff line number Diff line change 22 * Example of [Jest](https://jestjs.io/docs/getting-started) unit tests
33 */
44
5- describe ( '@jupyterlab-benchmarks /ui-profiler' , ( ) => {
5+ describe ( '@jupyterlab/ui-profiler' , ( ) => {
66 it ( 'should be tested' , ( ) => {
77 expect ( 1 + 1 ) . toEqual ( 2 ) ;
88 } ) ;
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ namespace CommandIDs {
4141}
4242
4343/**
44- * Initialization data for the @jupyterlab-benchmarks /ui-profiler extension.
44+ * Initialization data for the @jupyterlab/ui-profiler extension.
4545 */
4646const plugin : JupyterFrontEndPlugin < void > = {
47- id : '@jupyterlab-benchmarks /ui-profiler:plugin' ,
47+ id : '@jupyterlab/ui-profiler:plugin' ,
4848 autoStart : true ,
4949 requires : [ IFileBrowserFactory ] ,
5050 optional : [ ILauncher , ILayoutRestorer ] ,
Original file line number Diff line number Diff line change @@ -482,7 +482,8 @@ export function renderProfile(props: {
482482 typeof timing . resource === 'undefined' && timing . name === 'Profiler' ;
483483 const isOurProfilerCode =
484484 timing . resource &&
485- timing . resource . includes ( '@jupyterlab-benchmarks/ui-profiler' ) ;
485+ ( timing . resource . includes ( '@jupyterlab-benchmarks/ui-profiler' ) ||
486+ timing . resource . includes ( '@jupyterlab/ui-profiler' ) ) ;
486487 return ! isNativeProfilerCall && ! isOurProfilerCode ;
487488 }
488489 ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " @jupyterlab-benchmarks /ui-profiler-ui-tests" ,
2+ "name" : " @jupyterlab/ui-profiler-ui-tests" ,
33 "version" : " 1.0.0" ,
4- "description" : " JupyterLab @jupyterlab-benchmarks /ui-profiler Integration Tests" ,
4+ "description" : " JupyterLab @jupyterlab/ui-profiler Integration Tests" ,
55 "private" : true ,
66 "scripts" : {
77 "start" : " jupyter lab --config jupyter_server_test_config.py" ,
You can’t perform that action at this time.
0 commit comments