Explorar o código

update buildutils

Steven Silvester %!s(int64=5) %!d(string=hai) anos
pai
achega
7488ed7a55

+ 2 - 2
buildutils/package-lock.json

@@ -4,9 +4,9 @@
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
-    "@phosphor/coreutils": {
+    "@lumino/coreutils": {
       "version": "1.3.0",
-      "resolved": "https://registry.npmjs.org/@phosphor/coreutils/-/coreutils-1.3.0.tgz",
+      "resolved": "https://registry.npmjs.org/@lumino/coreutils/-/coreutils-1.3.0.tgz",
       "integrity": "sha1-YyktOBwBLFqw0Blug87YKbfgSkI="
     },
     "@sindresorhus/is": {

+ 1 - 1
buildutils/package.json

@@ -39,7 +39,7 @@
     "watch": "tsc -w --listEmittedFiles"
   },
   "dependencies": {
-    "@phosphor/coreutils": "^1.3.1",
+    "@lumino/coreutils": "^1.3.1",
     "@yarnpkg/lockfile": "^1.1.0",
     "child_process": "~1.0.2",
     "commander": "~2.20.0",

+ 3 - 3
buildutils/src/dependency-graph.ts

@@ -234,10 +234,10 @@ function main({
   // Filter out *all* phosphor nodes
   if (!phosphor) {
     Object.keys(sub).forEach(v => {
-      sub[v] = sub[v].filter(w => !w.startsWith('@phosphor/'));
+      sub[v] = sub[v].filter(w => !w.startsWith('@lumino/'));
     });
     Object.keys(sub).forEach(v => {
-      if (v.startsWith('@phosphor/')) {
+      if (v.startsWith('@lumino/')) {
         delete sub[v];
       }
     });
@@ -277,7 +277,7 @@ commander
     '--no-jupyterlab',
     'Do not include dependency connections TO @jupyterlab org packages nor isolated @jupyterlab org packages'
   )
-  .option('--no-phosphor', 'Do not include @phosphor org packages')
+  .option('--no-phosphor', 'Do not include @lumino org packages')
   .option('--no-devDependencies', 'Do not include dev dependencies')
   .option('--no-dependencies', 'Do not include normal dependencies')
   .option('--no-top-level', 'Do not include the top-level packages')

+ 1 - 1
buildutils/src/utils.ts

@@ -4,7 +4,7 @@ import fs = require('fs-extra');
 import childProcess = require('child_process');
 import { DepGraph } from 'dependency-graph';
 import sortPackageJson = require('sort-package-json');
-import coreutils = require('@phosphor/coreutils');
+import coreutils = require('@lumino/coreutils');
 
 type Dict<T> = { [key: string]: T };