Browse Source

Create package settingsregistry

Vidar Tonaas Fauske 5 years ago
parent
commit
28492f24a0

+ 2 - 0
dev_mode/package.json

@@ -153,6 +153,7 @@
     "@jupyterlab/services": "~5.0.0-alpha.4",
     "@jupyterlab/settingeditor": "~2.0.0-alpha.4",
     "@jupyterlab/settingeditor-extension": "~2.0.0-alpha.4",
+    "@jupyterlab/settingsregistry": "~2.0.0-alpha.4",
     "@jupyterlab/shortcuts-extension": "~2.0.0-alpha.4",
     "@jupyterlab/statusbar": "~2.0.0-alpha.4",
     "@jupyterlab/statusbar-extension": "~2.0.0-alpha.4",
@@ -340,6 +341,7 @@
       "@jupyterlab/services": "../packages/services",
       "@jupyterlab/settingeditor": "../packages/settingeditor",
       "@jupyterlab/settingeditor-extension": "../packages/settingeditor-extension",
+      "@jupyterlab/settingsregistry": "../packages/settingsregistry",
       "@jupyterlab/shortcuts-extension": "../packages/shortcuts-extension",
       "@jupyterlab/statusbar": "../packages/statusbar",
       "@jupyterlab/statusbar-extension": "../packages/statusbar-extension",

+ 3 - 3
packages/logconsole-extension/tsconfig.json

@@ -24,6 +24,9 @@
     {
       "path": "../mainmenu"
     },
+    {
+      "path": "../nbformat"
+    },
     {
       "path": "../notebook"
     },
@@ -38,9 +41,6 @@
     },
     {
       "path": "../ui-components"
-    },
-    {
-      "path": "../nbformat"
     }
   ]
 }

+ 1 - 0
packages/metapackage/package.json

@@ -96,6 +96,7 @@
     "@jupyterlab/services": "^5.0.0-alpha.4",
     "@jupyterlab/settingeditor": "^2.0.0-alpha.4",
     "@jupyterlab/settingeditor-extension": "^2.0.0-alpha.4",
+    "@jupyterlab/settingsregistry": "^2.0.0-alpha.4",
     "@jupyterlab/shortcuts-extension": "^2.0.0-alpha.4",
     "@jupyterlab/statusbar": "^2.0.0-alpha.4",
     "@jupyterlab/statusbar-extension": "^2.0.0-alpha.4",

+ 3 - 0
packages/metapackage/tsconfig.json

@@ -244,6 +244,9 @@
     },
     {
       "path": "../vega5-extension"
+    },
+    {
+      "path": "../settingsregistry"
     }
   ]
 }

+ 41 - 0
packages/settingsregistry/package.json

@@ -0,0 +1,41 @@
+{
+  "name": "@jupyterlab/settingsregistry",
+  "version": "2.0.0-alpha.4",
+  "description": "Settings registry for Jupyterlab",
+  "homepage": "https://github.com/jupyterlab/jupyterlab",
+  "bugs": {
+    "url": "https://github.com/jupyterlab/jupyterlab/issues"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/jupyterlab/jupyterlab.git"
+  },
+  "license": "BSD-3-Clause",
+  "author": "Project Jupyter",
+  "files": [
+    "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
+    "schema/*.json",
+    "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
+  ],
+  "sideEffects": [
+    "style/**/*"
+  ],
+  "main": "lib/index.js",
+  "types": "lib/index.d.ts",
+  "directories": {
+    "lib": "lib/"
+  },
+  "scripts": {
+    "build": "tsc",
+    "clean": "rimraf lib",
+    "prepublishOnly": "npm run build",
+    "watch": "tsc -w --listEmittedFiles"
+  },
+  "devDependencies": {
+    "rimraf": "~3.0.0",
+    "typescript": "~3.7.3"
+  },
+  "publishConfig": {
+    "access": "public"
+  }
+}

+ 4 - 0
packages/settingsregistry/src/index.ts

@@ -0,0 +1,4 @@
+/*-----------------------------------------------------------------------------
+| Copyright (c) Jupyter Development Team.
+| Distributed under the terms of the Modified BSD License.
+|----------------------------------------------------------------------------*/

+ 8 - 0
packages/settingsregistry/tsconfig.json

@@ -0,0 +1,8 @@
+{
+  "extends": "../../tsconfigbase",
+  "compilerOptions": {
+    "outDir": "lib",
+    "rootDir": "src"
+  },
+  "include": ["src/*"]
+}

+ 3 - 3
tests/test-cells/tsconfig.json

@@ -25,13 +25,13 @@
       "path": "../../packages/coreutils"
     },
     {
-      "path": "../../packages/outputarea"
+      "path": "../../packages/nbformat"
     },
     {
-      "path": "../../testutils"
+      "path": "../../packages/outputarea"
     },
     {
-      "path": "../../packages/nbformat"
+      "path": "../../testutils"
     }
   ]
 }

+ 2 - 2
tests/test-coreutils/tsconfig.json

@@ -16,10 +16,10 @@
       "path": "../../packages/coreutils"
     },
     {
-      "path": "../../testutils"
+      "path": "../../packages/nbformat"
     },
     {
-      "path": "../../packages/nbformat"
+      "path": "../../testutils"
     }
   ]
 }

+ 3 - 3
tests/test-notebook/tsconfig.json

@@ -27,6 +27,9 @@
     {
       "path": "../../packages/docregistry"
     },
+    {
+      "path": "../../packages/nbformat"
+    },
     {
       "path": "../../packages/notebook"
     },
@@ -35,9 +38,6 @@
     },
     {
       "path": "../../testutils"
-    },
-    {
-      "path": "../../packages/nbformat"
     }
   ]
 }

+ 3 - 3
tests/test-rendermime/tsconfig.json

@@ -22,6 +22,9 @@
     {
       "path": "../../packages/mathjax2"
     },
+    {
+      "path": "../../packages/nbformat"
+    },
     {
       "path": "../../packages/rendermime"
     },
@@ -30,9 +33,6 @@
     },
     {
       "path": "../../testutils"
-    },
-    {
-      "path": "../../packages/nbformat"
     }
   ]
 }

+ 3 - 3
testutils/tsconfig.json

@@ -30,6 +30,9 @@
     {
       "path": "../packages/docregistry"
     },
+    {
+      "path": "../packages/nbformat"
+    },
     {
       "path": "../packages/notebook"
     },
@@ -38,9 +41,6 @@
     },
     {
       "path": "../packages/services"
-    },
-    {
-      "path": "../packages/nbformat"
     }
   ]
 }