Browse Source

Add a lerna package list to the shipped bundle

Steven Silvester 8 years ago
parent
commit
8cb655732c
5 changed files with 69 additions and 2 deletions
  1. 1 1
      .gitignore
  2. 1 0
      MANIFEST.in
  3. 5 0
      jupyterlab/make-release.js
  4. 61 0
      jupyterlab/package_list.txt
  5. 1 1
      setupbase.py

+ 1 - 1
.gitignore

@@ -2,7 +2,7 @@ MANIFEST
 build
 dist
 lib
-jupyterlab/static
+jupyterlab/build
 
 node_modules
 .cache

+ 1 - 0
MANIFEST.in

@@ -10,5 +10,6 @@ include setupbase.py
 include jupyterlab/package.template.json
 include jupyterlab/webpack.config.js
 include jupyterlab/index.template.js
+include jupyterlab/package_list.txt
 
 prune jupyterlab/tests

+ 5 - 0
jupyterlab/make-release.js

@@ -2,6 +2,7 @@ var childProcess = require('child_process');
 var fs = require('fs-extra');
 var path = require('path');
 
+
 // Get the current version of JupyterLab
 var cwd = path.resolve('..');
 var version = childProcess.execSync('python setup.py --version', { cwd: cwd });
@@ -26,3 +27,7 @@ childProcess.execSync('npm run build');
 var release_data = { version: version };
 text = JSON.stringify(release_data, null, 2) + '\n';
 fs.writeFileSync('./build/release_data.json', text);
+
+// Get the lerna package data.
+var lerna_info = childProcess.execSync('lerna ls', { cwd: cwd });
+fs.writeFileSync('./package_list.txt', lerna_info);

+ 61 - 0
jupyterlab/package_list.txt

@@ -0,0 +1,61 @@
+@jupyterlab/application-top          v0.3.0     (private)
+@jupyterlab/example-app              v0.4.0     (private)
+@jupyterlab/example-console          v0.4.0     (private)
+@jupyterlab/example-filebrowser      v0.4.0     (private)
+@jupyterlab/example-notebook         v0.4.0     (private)
+jupyterlab-example-terminal          v0.4.0     (private)
+@jupyterlab/about-extension          v0.4.0              
+@jupyterlab/all-packages             v0.3.0     (private)
+@jupyterlab/application-extension    v0.4.0              
+@jupyterlab/application              v0.4.0              
+@jupyterlab/apputils-extension       v0.4.0              
+@jupyterlab/apputils                 v0.4.0              
+@jupyterlab/cells                    v0.4.0              
+@jupyterlab/codeeditor               v0.4.0              
+@jupyterlab/codemirror-extension     v0.4.0              
+@jupyterlab/codemirror               v0.4.0              
+@jupyterlab/completer-extension      v0.4.0              
+@jupyterlab/completer                v0.4.0              
+@jupyterlab/console-extension        v0.4.0              
+@jupyterlab/console                  v0.4.0              
+@jupyterlab/coreutils                v0.4.0              
+@jupyterlab/csvviewer-extension      v0.4.0              
+@jupyterlab/csvviewer                v0.4.0              
+@jupyterlab/default-theme            v0.4.0              
+@jupyterlab/docmanager-extension     v0.4.0              
+@jupyterlab/docmanager               v0.4.0              
+@jupyterlab/docregistry-extension    v0.4.0              
+@jupyterlab/docregistry              v0.4.0              
+@jupyterlab/faq-extension            v0.4.0              
+@jupyterlab/filebrowser-extension    v0.4.0              
+@jupyterlab/filebrowser              v0.4.0              
+@jupyterlab/fileeditor-extension     v0.4.0              
+@jupyterlab/fileeditor               v0.4.0              
+@jupyterlab/help-extension           v0.4.0              
+@jupyterlab/imageviewer-extension    v0.4.0              
+@jupyterlab/imageviewer              v0.4.0              
+@jupyterlab/inspector-extension      v0.4.0              
+@jupyterlab/inspector                v0.4.0              
+@jupyterlab/landing-extension        v0.4.0              
+@jupyterlab/launcher-extension       v0.4.0              
+@jupyterlab/launcher                 v0.4.0              
+@jupyterlab/markdownviewer-extension v0.4.0              
+@jupyterlab/markdownviewer           v0.4.0              
+@jupyterlab/notebook-extension       v0.4.0              
+@jupyterlab/notebook                 v0.4.0              
+@jupyterlab/outputarea               v0.4.0              
+@jupyterlab/rendermime-extension     v0.4.0              
+@jupyterlab/rendermime               v0.4.0              
+@jupyterlab/running-extension        v0.4.0              
+@jupyterlab/running                  v0.4.0              
+@jupyterlab/services-extension       v0.4.0              
+@jupyterlab/services                 v0.43.0             
+@jupyterlab/shortcuts-extension      v0.4.0              
+@jupyterlab/tabmanager-extension     v0.4.0              
+@jupyterlab/terminal-extension       v0.4.0              
+@jupyterlab/terminal                 v0.4.0              
+@jupyterlab/tooltip-extension        v0.4.0              
+@jupyterlab/tooltip                  v0.4.0              
+browser-example                      vundefined (private)
+node-example                         vundefined (private)
+@jupyterlab/test-all                 v0.4.0     (private)

+ 1 - 1
setupbase.py

@@ -75,7 +75,7 @@ def find_package_data():
     """
     return {
         'jupyterlab': ['build/*', 'index.template.js', 'webpack.config.js',
-                       'package.template.json']
+                       'package.template.json', 'package_list.txt']
     }