File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030
3131 - name : Copy current files to a temporary directory
3232 run : |
33- cp -R plotly/labextension/ plotly/labextension-tmp/
33+ mv plotly/labextension/ plotly/labextension-tmp/
3434
3535 - name : Install dependencies and build
3636 run : |
4040 uv pip install jupyterlab
4141 cd js
4242 npm ci
43+ jupyter labextension build --show-config-json .
4344 npm run build
4445 npm ls
4546 - name : Check JupyterLab build artifacts
Original file line number Diff line number Diff line change 1212 "scripts" : {
1313 "build:widget" : " esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/package_data/widgetbundle.js src/widget.ts" ,
1414 "build:mimerenderer" : " esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts" ,
15- "build:labextension" : " jupyter labextension build --debug --show-config-json ." ,
15+ "build:labextension" : " jupyter labextension build --debug ." ,
1616 "build" : " npm run build:widget && npm run build:mimerenderer && npm run build:labextension" ,
1717 "watch" : " npm run build -- --watch --sourcemap=inline" ,
1818 "typecheck" : " tsc --noEmit"
Original file line number Diff line number Diff line change 1212 "scripts" : {
1313 "build:widget" : " esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../plotly/package_data/widgetbundle.js src/widget.ts" ,
1414 "build:mimerenderer" : " esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts" ,
15- "build:labextension" : " jupyter labextension build ." ,
15+ "build:labextension" : " jupyter labextension build --debug ." ,
1616 "build" : " npm run build:widget && npm run build:mimerenderer && npm run build:labextension" ,
1717 "watch" : " npm run build -- --watch --sourcemap=inline" ,
1818 "typecheck" : " tsc --noEmit"
3030 },
3131 "jupyterlab" : {
3232 "mimeExtension" : true ,
33- "webpackConfig" : " ./webpack.config.js" ,
3433 "outputDir" : " ../plotly/labextension" ,
3534 "_build" : {
3635 "load" : " static/remoteEntry.6213e23b3bdd99ae0b34.js" ,
You can’t perform that action at this time.
0 commit comments