pane-registry 2.4.4 → 2.4.6-d45208e6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc CHANGED
File without changes
@@ -5,9 +5,12 @@ name: CI
5
5
 
6
6
  on:
7
7
  push:
8
- branches: [ main ]
8
+ branches:
9
+ - "**"
9
10
  pull_request:
10
- branches: [ main ]
11
+ branches:
12
+ - "**"
13
+ workflow_dispatch:
11
14
 
12
15
  jobs:
13
16
  build:
@@ -16,8 +19,10 @@ jobs:
16
19
 
17
20
  strategy:
18
21
  matrix:
19
- node-version: [ 10.x, 12.x, 14.x, 15.x ]
20
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
22
+ node-version:
23
+ - 12.x
24
+ - 14.x
25
+ - 16.x
21
26
 
22
27
  steps:
23
28
  - uses: actions/checkout@v2
@@ -29,3 +34,31 @@ jobs:
29
34
  - run: npm run lint
30
35
  - run: npm test
31
36
  - run: npm run build --if-present
37
+ - name: Save build
38
+ if: matrix.node-version == '14.x'
39
+ uses: actions/upload-artifact@v2
40
+ with:
41
+ name: build
42
+ path: |
43
+ .
44
+ !node_modules
45
+ retention-days: 1
46
+ npm-publish-build:
47
+ needs: build
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - uses: actions/download-artifact@v2
51
+ with:
52
+ name: build
53
+ - uses: actions/setup-node@v1
54
+ with:
55
+ node-version: 14.x
56
+ - uses: rlespinasse/github-slug-action@v3.x
57
+ - name: Append commit hash to package version
58
+ run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
59
+ - name: Disable pre- and post-publish actions
60
+ run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
61
+ - uses: JS-DevTools/npm-publish@v1
62
+ with:
63
+ token: ${{ secrets.NPM_TOKEN }}
64
+ tag: ${{ env.GITHUB_REF_SLUG }}
File without changes
package/.nvmrc CHANGED
File without changes
package/LICENSE.md CHANGED
File without changes
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # pane-registry
2
2
 
3
3
  An index to hold all loaded solid panes, whether statically or dynamically loaded
4
+
5
+ # Adendum
6
+
7
+ The pane registry is a crucial part of the Solid Panes systerm. It is wherre any pane inserts itself or is inserted. In the standard working of solidOS, there is one place in solid-panes where all the nomal panes are loaded into the pane registry. But other apps, and especially developers developing new panes can insert their own panes. And so we hope we will end up with panes dynamically laoded according to user configuration preferences.
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // This is manually built for now
2
2
 
3
- import { Fetcher, NamedNode, Store, UpdateManager } from 'rdflib'
4
- import {SolidLogic} from 'solid-logic';
3
+ import { LiveStore, NamedNode } from 'rdflib';
4
+ import { SolidLogic } from 'solid-logic';
5
5
 
6
6
  declare const list: Array<PaneDefinition>
7
7
  declare const paneForIcon: { [key: string]: PaneDefinition }
@@ -19,14 +19,6 @@ declare function register (
19
19
 
20
20
  declare function byName (name: string): PaneDefinition | null
21
21
 
22
- export class ConnectedStore extends Store {
23
- public fetcher: Fetcher
24
- }
25
-
26
- export class LiveStore extends ConnectedStore {
27
- public updater: UpdateManager
28
- }
29
-
30
22
  /**
31
23
  * All of the knowledge that a user accumulates throughout the current session
32
24
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pane-registry",
3
- "version": "2.4.4",
3
+ "version": "2.4.6-d45208e6",
4
4
  "description": "Solid-compatible Panes: Pane Registry",
5
5
  "main": "./paneRegistry.js",
6
6
  "types": "./index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "lint": "eslint 'paneRegistry.js'",
10
10
  "lint-fix": "eslint 'paneRegistry.js' --fix",
11
11
  "test": "npm run lint",
12
- "prepublishOnly": "npm test",
12
+ "ignore:prepublishOnly": "npm test",
13
13
  "postversion": "git push origin main --follow-tags"
14
14
  },
15
15
  "repository": {
@@ -37,13 +37,13 @@
37
37
  },
38
38
  "homepage": "https://github.com/solid/chat-pane",
39
39
  "dependencies": {
40
- "rdflib": "^2.2.14"
40
+ "rdflib": "^2.2.17",
41
+ "solid-logic": "^1.3.13"
41
42
  },
42
43
  "devDependencies": {
43
44
  "eslint": "^7.32.0",
44
45
  "husky": "^7.0.4",
45
- "lint-staged": "^11.2.6",
46
- "solid-logic": "^1.3.11",
46
+ "lint-staged": "^12.1.4",
47
47
  "standard": "^16.0.4"
48
48
  },
49
49
  "husky": {
package/paneRegistry.js CHANGED
@@ -13,8 +13,6 @@
13
13
  // create the unique UI module on which to attach paneRegistry (no, don't attach as UI dot paneRegistry any more)
14
14
  // var UI = require('solid-ui') // Note we will add the paneRegistry register to this.
15
15
 
16
- const $rdf = require('rdflib')
17
-
18
16
  const paneRegistry = (module.exports = {})
19
17
 
20
18
  paneRegistry.list = []
@@ -55,18 +53,4 @@ paneRegistry.byName = function (name) {
55
53
  return null
56
54
  }
57
55
 
58
- paneRegistry.ConnectedStore = class ConnectedStore extends $rdf.Store {
59
- constructor (features) {
60
- super(features)
61
- this.fetcher = $rdf.fetcher(this, {})
62
- }
63
- }
64
-
65
- paneRegistry.LiveStore = class LiveStore extends $rdf.Store {
66
- constructor (features) {
67
- super(features)
68
- this.updater = new $rdf.UpdateManager(this)
69
- }
70
- }
71
-
72
56
  // ENDS