Bläddra i källkod

Update buildutils

Afshin Darian 7 år sedan
förälder
incheckning
df060a996a
2 ändrade filer med 15 tillägg och 0 borttagningar
  1. 1 0
      packages/buildutils/package.json
  2. 14 0
      packages/buildutils/src/index.ts

+ 1 - 0
packages/buildutils/package.json

@@ -12,6 +12,7 @@
     "lib": "lib/"
   },
   "dependencies": {
+    "@phosphor/coreutils": "^1.3.0"
   },
   "devDependencies": {
     "rimraf": "^2.5.2",

+ 14 - 0
packages/buildutils/src/index.ts

@@ -3,6 +3,10 @@
 | Distributed under the terms of the Modified BSD License.
 |----------------------------------------------------------------------------*/
 
+import {
+  JSONObject, ReadonlyJSONObject
+} from '@phosphor/coreutils';
+
 
 export
 namespace Build {
@@ -15,6 +19,11 @@ namespace Build {
      */
     input: string;
 
+    /**
+     * The package data for the JupyterLab application, composed at build time.
+     */
+    jupyterlab: JSONObject;
+
     /**
      * The name of the plugin.
      */
@@ -32,6 +41,11 @@ namespace Build {
      * The default value is `false`.
      */
     overwrite?: boolean;
+
+    /**
+     * The package data for the plugin being processed.
+     */
+    package: ReadonlyJSONObject;
   }
 
   /**